Change screensaver through registry

If you wanna change the screensaver, you can update registry as follows{autoit script}:

RegWrite("HKEY_CURRENT_USER\Control Panel\Desktop", "ScreenSaveTimeOut", "REG_SZ", "60")
RegWrite("HKEY_CURRENT_USER\Control Panel\Desktop", "SCRNSAVE.EXE", "REG_SZ", "C:\Windows\system32\ssText3d.scr")
RegWrite("HKEY_CURRENT_USER\Control Panel\Desktop", "ScreenSaveActive", "REG_SZ", "1")
RegWrite("HKEY_CURRENT_USER\Control Panel\Desktop", "ScreenSaverIsSecure", "REG_SZ", "0")

 

I have updated HKEY_CURRENT_USER\Control Panel\Desktop\ScreenSaveTimeOut property in Registry manually but its not reflected in Display Properties Windows 8 GUI.

The result is that screen saver time out value shown in GUI takes precedences over the one in the registry.

When I update the GUI - the registry changes. It appears that this is a one way street - changes made from registry do not take affect the GUI although changes made from the GUI do take affect.

 

Finally, I found it worked after I restart the computer.But I don‘t know why, just do as this.

Change screensaver through registry

上一篇:CSS--开篇


下一篇:javascript 浏览器