TheReasonIFail Posted May 15, 2009 Share Posted May 15, 2009 OK,I'm trying to make changes to the Laptop/Portable power scheme on all our laptops.I made the changes I needed done to a laptop, did a reboot and exported the following keys:[HKEY_CURRENT_USER\Control Panel\PowerCfg][HKEY_USERS\.Default\Control Panel\PowerCfg][HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Controls Folder\PowerCfg]Now I've imported them into another laptop and the changes are not showing up, not even after a reboot.What am I missing? Link to comment Share on other sites More sharing options...
cluberti Posted May 16, 2009 Share Posted May 16, 2009 Why do it the hard way when you could do it the easy way? Link to comment Share on other sites More sharing options...
gunsmokingman Posted May 17, 2009 Share Posted May 17, 2009 I wrote a VBS script that should restore the default power scheme.Save as DefaultPowerScheme.vbsDim Act :Set Act = CreateObject("Wscript.Shell")Dim Fso :Set Fso = CreateObject("Scripting.FileSystemObject")Dim Pwr :Pwr = Act.ExpandEnvironmentStrings("%Windir%\System32\Powercfg.exe") If Fso.FileExists(Pwr) Then Act.Run("Powercfg.exe /RestoreDefaultPolicies"),0,True MsgBox "Restore Default Power Scheme Completed",4128,"Finished" Else MsgBox "Missing : " & Pwr & vbCrLf & "Can Not Restore The Default Power Scheme", 4128, "No Powercfg.exe" End If 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