Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 


November 2005

XP Power Scheme Fix

RSS
Subscribe to Windows IT Pro | See More Registry Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

Download the Code Here

At my company, a Windows XP Professional Edition user in a nondomain network was having a problem with a program that takes several hours to run to completion. During execution, the program would stop for no apparent reason. I traced the trouble to the hard disks spinning down after about an hour of keyboard and mouse inactivity.

To correct this problem, I went into the Control Panel Power Options applet and selected the Power Schemes tab. XP Pro was defaulting to a power scheme called Portable/Laptop, which wasn't suitable for the user's needs. I clicked the Power schemes drop-down list. There was only one other option, Home/Office Desk, which also wasn't suitable. So, I decided to change the attributes for the Portable/Laptop Power scheme to the following:

  • Turn off monitor: After 15 mins
  • Turn off hard disks: Never
  • System standby: Never
  • System hibernate: Never

After I clicked Apply, I received the error message, Power Policy Manager unable to set policy. Indicates two revision levels are incompatible. This error is documented in the Microsoft article "Error Message: Power Policy Manager Unable to Set Policy. Indicates Two Revision Levels Are Incompatible" (http://support.microsoft.com/?kbid=302713). That article basically says you can't overwrite an existing scheme name, but you can save your new scheme under a new name by using the Save As option.

Armed with this knowledge, I entered the new settings, saved the scheme as Custom Scheme, and exited. I later noticed that the drives were still spinning down, so I went back into the Power Options applet. I saw that Portable/Laptop was again selected in the Power schemes drop-down list. Custom Scheme wasn't even listed.

I wondered whether this problem was an XP user issue. I logged off as the user, then logged back on as Local Administrator. On the Power Schemes tab, I saw not two but six default schemes available. I reviewed this behavior with a Microsoft Product Support Services (PSS) representative, who had a couple of good troubleshooting suggestions. The first suggestion was to try the Msconfig utility to see whether a loaded program was causing the problem. The second suggestion was to try to export the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Controls Folder\PowerCfg registry subkey from a known good XP installation and import it into the problematic PC. I took a look at that subkey on both the problematic PC and a good PC. I noticed that both PCs had the six OEM default profiles as well as several other schemes that had been created but never displayed in the Power schemes drop-down list on the Power Schemes tab. I also saw that the PowerCfg subkey had a ProcessorsPolicies subkey that I didn't want to become familiar with the hard way.

The PSS representative's reference to the PowerCfg subkey and a little digging helped me come up with a solution. First, I accessed the HKEY_USERS\.DEFAULT\Control Panel\PowerCfg subkey. I noticed that it had all six default power schemes with no undesired extraneous schemes. It also had a GlobalPowerPolicy subkey but not the ProcessorsPolicies subkey . I decided to export the HKEY_USERS PowerCfg subkey and put it in place of the HKEY_CURRENT_USER PowerCfg subkey because the HKEY_USERS PowerCfg subkey had all six default schemes, one of which is the desired Always On scheme. Here are the steps to make this switch:

  1. Export HKEY_USERS\.DEFAULT\Control Panel\PowerCfg and save it as HKUsersPowerCfg.reg.
  2. Open HKUsersPowerCfg.reg in Notepad. Search for all occurrences of [HKEY_USERS\.DEFAULT\Control Panel and replace them with [HKEY_CURRENT_USER\Control Panel.
  3. Export the existing HKEY_CURRENT_USER\Control Panel\PowerCfg subkey so that you have a backup if needed.
  4. Delete the existing HKEY_CURRENT_USER\Control Panel\PowerCfg subkey.
  5. Import the freshly edited HKUsersPowerCfg.reg subkey.

The user now has all six default power schemes available. Interestingly, the Save As option in the Power Schemes tab now actually works.

I noticed this same power scheme problem on another XP Pro PC that was upgraded from Windows 98. Perhaps the problem originates during the upgrade. If your users have been experiencing similar problems, you can use the XP PowerCfg Fix.txt file to help make the necessary registry changes. (Use it at your own risk.) You can download this file from the Windows IT Pro Web site. Replace the .txt extension with the .reg extension.

End of Article



Reader Comments
My problem was similar to the one discribed above. All I had was the Home/Office Desk scheme and had the same warning.."indicates two rev... Did the above (copy registry..etc.) as suggested and now I have all of the shemes. However, none except Minimal Pwr. Mng. works. After one minute the monitor will turn off for about 10 seconds and then it will come on. Any help will be appreciated

zavier March 25, 2006 (Article Rating: )


People witha problem with their power schemes: Please take a look at http://www.itexperience.net/2008/03/02/howto-repair-power-schemes/
It contains a manual and the default power schemes for Windows XP!

Spamdotla March 08, 2008 (Article Rating: )


You must log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
Accessing Database Data with ADO

...

The Memory-Optimization Hoax

Don't believe the hype. At best, RAM optimizers have no effect. At worst, they seriously degrade performance. ...

Two Exchange Server Tools You Should Know About

These free tools can help you troubleshoot performance problems with Exchange 2007 and Exchange 2003, and help you figure out what's going on with your servers from the transactions logs. ...


Windows OSs Whitepapers Why SaaS is the Right Solution for Log Management

Are You Satisfied?

A Preliminary Look at Deployment Plans for Microsoft Windows Vista

Related Events Check out our list of Free Email Newsletters!

Windows OSs eBooks Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

SQL Server Administration for Oracle DBAs

Related Windows OSs Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.

Job Openings in IT


ADS BY GOOGLE SPONSORED LINKS FEATURED LINKS

Maximize your SharePoint Investment – 8 Cities
Discover best practices and tips for both architecting and administering SharePoint. Early Bird Price of $99 through Sept 15th.

Find a new job now on the all new IT Job Hound!
Search jobs, post your resume, and set up job e-mail alerts!

Master SharePoint with 3 eLearning Seminars
Learn how to build a better SharePoint infrastructure and enable powerful collaboration with MVPs Dan Holme and Michael Noel. Register today!

Top Tools for Virtualization Disaster Recovery & Replication
View this web seminar on August 14th to learn about two tools that will result in faster backup and restore with P2V disaster recovery.

SharePointConnections Conference Fall 2008
Don’t miss the premier event for Microsoft IT Professionals in Las Vegas, November 10-13. Register and book your room by August 25 and receive a FREE room night (based on a three night minimum stay).

VMworld 2008 - Sign Up Today!
Join your peers on September 15-18 at The Venetian Hotel in Las Vegas as VMware hosts VMworld 2008, the leading Virtualization event.



Increase Application Performance
Free White Paper by Editor's Best winner, Texas Memory Systems.

Microsoft® Tech•Ed EMEA 2008 IT Professionals
Advance your thinking with new ideas and practical real-world solutions at Microsoft’s FIVE day technical infrastructure conference 3-7 Nov., 2008. Register before 26 September 2008 to save €300.

Order Your SQL Fundamentals CD Today!
Learn how to use SQL Server, understand Office integration techniques and dive into the essentials of SQL Express and Visual Basic with this free SQL Fundamentals CD.

Are You Really Compliant with Software Regulations?
View this web seminar that will help you with compliance best practices and check out a management solution to assure that you won’t be in jeopardy of an audit.

Virtualization Congress Oct. 14-16 in London
Don't miss Virtualization Congress, the premiere EMEA conference dedicated to hardware, OS and application virtualization. Oct. 14-16.
Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro Windows Dev Pro IT Job Hound ITTV
IT Library Technical Resources Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing