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
The iPhone as a Mail Device

An Exchange administrator and self-proclaimed "Windows Mobile device wrangler" gives you the scoop on how well the iPhone 3G works for enterprise email, and points out some surprising omissions in Apple's latest release. ...

WinInfo Short Takes: Week of July 21, 2008

An often irreverent look at some of the week's other news, including an iPhone 3G defeat, 180 million copies of Windows Vista in the wild, Microsoft earnings some more Yahoo silliness, Wii vs. Xbox 360, EU vs. Intel, AMD ousts its CEO, and so much more ...

Top Vista Tricks from the Vista Masters

Learn how to work around Windows Vista's User Account Control, create multiple GPOs, and use Task Manager smartly, with these 8 Vista tricks. ...


Windows OSs Whitepapers Replay for Exchange: Enterprise Protection and an Affordable Price

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.


ADS BY GOOGLE SPONSORED LINKS FEATURED LINKS

Shortcut Guide to SQL Server Infrastructure Optimization
With right tools and techniques, you can have a top-performing SQL Server infrastructure without having to cram your data centers so that they're overflowing. Download this eBook to learn how.

WinConnections 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).

Become a fan of Windows IT Pro on Facebook!
Join us on Facebook and be a fan of Windows IT Pro!

Continuous Data Protection and Recovery for Exchange
Read this white paper to learn about Continuous Data Protection (CDP), Exchange 2007's local continuous replication and cluster continuous replication features.

Rev Up Your IT Know-How with Our Recharged Magazine!
The improved Windows IT Pro provides trusted IT content with an enhanced new look and functionality! Get comprehensive coverage of industry topics, expert advice, and real-world solutions—PLUS access to over 10,000 articles online. Order today!

Tips to Managing Messaging
Discover three fundamental mail and messaging management services - security, availability and control services - and how you can implement them in a Microsoft-centric mail and messaging environment.

Get It All with Windows IT Pro VIP
Stock your IT toolbox with every solution ever printed in Windows IT Pro and SQL Server Magazine plus bonus Web-exclusive content on hot topics. Subscribe to receive the VIP CD and a subscription to your choice of Windows IT Pro or SQL Server Magazine!



Drag & Drop Data Mapping Tool
Try this award-winning data mapping, & transformation tool that supports multiple databases, flat files, Web services, EDI, Excel 2007, & more! Free trial for 30 days!

Overcome bloated Windows file systems
Crossroads FMA delivers powerful yet inexpensive data migration

Bandwidth Monitoring Tool from SolarWinds
Identify largest bandwidth users in seconds. Get the free download now.

Speed Deployment of Vista and Microsoft Office
Read this white paper to learn how you can maximize your Vista and Office investments while lowering costs and increasing efficiency.

Integrated Virtualization Done Right
Download this white paper on server virtualization to begin improving resource utilization and lowering operating costs.

Order Your Fundamentals CD Today!
Gain an introduction to Exchange, learn server security requirements, and understand how unified communications can play a role in your messaging strategies with this free Exchange CD.

KVM over IP Solutions
Learn about a KVM over IP solution that is specifically designed to meet the needs of the distributed IT environment.
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
IT Library Technical Resources Directory Connected Home Windows Excavator 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