Turn off ScreenSaver with Powershell

Turning off the screensaver can be done by using PowerShell to change three registry settings.

You can check your current settings in your registry at this location:

HKEY Current User\Software\Policies\Microsoft\Windows\Control Panel\Desktop 


Run this code in PowerShell

#Turn Off ScreenSaver

Set-ItemProperty -Path ‘HKCU:\Software\Policies\Microsoft\Windows\Control Panel\Desktop\’ -Name ScreenSaveTimeOut -Value 0

Set-ItemProperty -Path ‘HKCU:\Software\Policies\Microsoft\Windows\Control Panel\Desktop\’ -Name ScreenSaveActive -Value 0

Set-ItemProperty -Path ‘HKCU:\Software\Policies\Microsoft\Windows\Control Panel\Desktop\’ -Name ScreenSaverIsSecure -Value 0


Refresh your registry view.  It should have changed to show zeros for the three settings.


Comments are closed.