Configure screensaver command line

by admin on August 28, 2010

We can configure screensaver settings through display settings. Screensaver can be configured from windows command line as well.

To set the screensaver to ‘None‘ from command line:

reg delete "HKEY_CURRENT_USER\Control Panel\Desktop" /v SCRNSAVE.EXE /f

To set the screensaver to ‘Blank‘ from command line:

reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v SCRNSAVE.EXE /t REG_SZ /d C:\Windows\system32\scrnsave.scr /f

You can get the list of screen saver options you have :

dir c:\windows\system32\*scr /b

On my windows 7 system it shows the following screensavers

C:\Users\administrator>dir c:\windows\system32\*scr /b

To set Bubbles as the screensaver you need to run the following command from command line.

reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v SCRNSAVE.EXE /t REG_SZ /d C:\Windows\system32\Bubbles.scr /f

{ 8 comments… read them below or add one }

Anonymous November 30, 2010 at 7:37 pm

how do you change the time to wait until active?


Techblogger December 1, 2010 at 1:39 pm

To change the timeout limit for activating the screen saver you can run the below command.

reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v ScreenSaveTimeOut /t REG_SZ /d 600 /f

The above command sets the timeout to 10 minutes(regkey stores the value in seconds: 10*60)


Charlie Little November 11, 2011 at 1:15 pm

For some reason can’t get the TimeOut to work. I got a 5 minute policy so I set it to 300, but it remains on 10 minutes..


Elmer Baron November 1, 2013 at 2:35 am

I want to delete the screen savers set by Bing.


Mr. TA March 31, 2014 at 3:36 pm

Run this after changing registry, or it won’t work (Windows 7 but probably other versions, too):

rundll32.exe user32.dll, UpdatePerUserSystemParameters


jm July 30, 2014 at 12:16 pm

reg add “HKEY_CURRENT_USER\Control Panel\Desktop” /v ScreenSaveTimeOut /t REG_SZ /d 600 /f

above command works well. registry value updated. but user need to reboot!
then it will be work well..


Ryan December 1, 2014 at 7:59 pm

how do I make it go to lock screen after it wakes up?


Romain March 31, 2015 at 4:53 pm

How do you set the folder used by the slideshow screensaver ?


Leave a Comment

Previous post:

Next post: