If a User Account Control dialogue window opens, click the Yes button to continue. Type regedit in the Open text box and press Enter to open the Windows Registry Editor. The above registry keys apply to Windows XP, Server 2003, Vista and Windows 7. Press the Windows key+R on your keyboard to open the Run window. Read the post Change screen saver from windows command line using registry key Change the value from 0 to 1 in the Value data box to enable the new key, which in turn disables the lock workstation functionality. Next, double-click the new DisableLockWorkstation value to open its properties window. Name the new value DisableLockWorkstation. Reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v ScreenSaverIsSecure /t REG_SZ /d 0 /f To change screen saver using registry key Right-click the System key and choose New > DWORD (32-bit) Value. Reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v ScreenSaverIsSecure /t REG_SZ /d 1 /f
If you set this to 0, you will not be asked to provide password when you interrupt the screen saver to resume the user session.įrom windows command line you can run the below command to enable password for the screen saver. You can password protection by setting the data in ScreenSaverIsSecure to 1.
Reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v ScreenSaveTimeOut /t REG_SZ /d 0 /f To enable or disable password protection when the session is resumed You can set different values for each - for example, you can have a laptop disable its firewall when connected to a domain on a work network, while enabling.
Open the HKEYLOCALMACHINE Software Microsoft registry branch Software. For example if you want to set the time out to 20 minutes you need to change the value of this registry key to 1200.įrom command line you can run the below command to change screen saver timeout limit. Open the Start menu and click the Run button. Set the data in the registry value ScreenSaveTimeOut to the timeout limit in seconds. Reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v ScreenSaveActive /t REG_SZ /d 1 /f To change timeout for activating the screen saver