dickep Posted March 27, 2008 Share Posted March 27, 2008 OK, I want to setup for testing a unit (that is what I do) that is Vista operating system (Business). I can use the PowerCFG.exe to change the standby, hibernate, monitor/display, hdd, etc timeouts to 0 (always on). I can use AutoIT to set up the rest of the param However, I need to turn OFF the "require password" for resuming the laptop. I cannot "see" the ControlID areas in the Power Options window. Also, I do NOT want to muck around in the registry. I would like to know if there is another application like PowerCFG that ties back to turning on/off the "Require a passwordon wakeup". Thanks E Link to comment Share on other sites More sharing options...
weaponx Posted March 27, 2008 Share Posted March 27, 2008 (edited) Well I hate to tell you but when you uncheck "On resume, password protect" Windows is messing with your registry anyways so don't be scared:RegWrite("HKEY_CURRENT_USER\Control Panel\Desktop", "ScreenSaverIsSecure", "REG_SZ", "0")http://support.microsoft.com/kb/928717 Edited March 27, 2008 by weaponx Link to comment Share on other sites More sharing options...
dickep Posted March 27, 2008 Author Share Posted March 27, 2008 You are correct. Howver, the NAG (aka UAC) keeps coming up and AutoIt does not seem to be able to click "Continue" very well. I hate to enable the REAL admin account and go there, but might have to Link to comment Share on other sites More sharing options...
weaponx Posted March 27, 2008 Share Posted March 27, 2008 (edited) You are correct. Howver, the NAG (aka UAC) keeps coming up and AutoIt does not seem to be able to click "Continue" very well.I hate to enable the REAL admin account and go there, but might have toWell this is being set under HKEY_CURRENT_USER, so admin rights will set this only for admin account.Maybe add #RequireAdmin at the top of your script??? Edited March 27, 2008 by weaponx 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