Andries Posted April 26, 2004 Share Posted April 26, 2004 My unattend file is working correctly but how can I disable the powersave function and the sleep function?I can't found it on the web. Link to comment Share on other sites More sharing options...
Andries Posted May 17, 2004 Author Share Posted May 17, 2004 Is there no sollution? Link to comment Share on other sites More sharing options...
jrzycrim Posted May 17, 2004 Share Posted May 17, 2004 I haven't tested this but try exporting these two registry keys after setting your power configuration the way you want:[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Power] [HKEY_CURRENT_USER\Control Panel\PowerCfg\GlobalPowerPolicy]Cheers, Link to comment Share on other sites More sharing options...
Andries Posted May 17, 2004 Author Share Posted May 17, 2004 thanks, but that doesn't work!Perhaps you have more details how I can import this file's? Link to comment Share on other sites More sharing options...
jrzycrim Posted May 18, 2004 Share Posted May 18, 2004 What you need to do is launch regedit, Navigate to each key I listed above, Right click on the Key, select Export, then save it. It will save as a .reg file. You need to do this for both keys. Make sure your power settings are how you want them before exporting.You should import these from cmdlines.txt. If you have your own .reg file, just copy the data from the reg files you exported and paste them into your own registry file. Link to comment Share on other sites More sharing options...
[BM]Crusher Posted May 18, 2004 Share Posted May 18, 2004 basically, you can save your current configuration as a file, through the power control panel, then there is a command you run the load the saved config is what i have read on this forum before...try the following:[HKEY_CURRENT_USER\Control Panel\PowerCfg]that is the only key you need to export apparently, then import the file with regedit /s power.regor, check out this Microsoft article about POWERCFG.EXE which will do what you wantMicrosoft POWERCFG.EXE Link to comment Share on other sites More sharing options...
Andries Posted May 19, 2004 Author Share Posted May 19, 2004 I use windows XP PRO and I don't have Powercfg.exeBut I will try it with the register export/import function Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now