April 26, 200422 yr 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.
May 17, 200422 yr 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,
May 17, 200422 yr Author thanks, but that doesn't work!Perhaps you have more details how I can import this file's?
May 18, 200422 yr 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.
May 18, 200422 yr 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
May 19, 200422 yr Author I use windows XP PRO and I don't have Powercfg.exeBut I will try it with the register export/import function
Create an account or sign in to comment