≡ Menu

Configure screensaver command line

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
{ 11 comments… add one }
  • Anonymous November 30, 2010, 7:37 pm

    how do you change the time to wait until active?

  • Techblogger December 1, 2010, 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, 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, 2:35 am

    I want to delete the screen savers set by Bing.

  • Mr. TA March 31, 2014, 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, 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, 7:59 pm

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

  • Romain March 31, 2015, 4:53 pm

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

  • Pavel Vlasov July 29, 2015, 12:36 pm

    Thanks, it works well at W7! But RESTART is required!

  • Tom March 24, 2016, 12:17 am

    I wish someone could try to answer this: My screen saver is set @ 15- minutes. It will timeout at 15 or either 20- minutes. Why is it doing this? It has worked fine until recently. It run Windows Vista personal computer.

    Thank you!

  • Tom Wyant March 24, 2016, 12:20 am

    Screen saver timeout inaccurate?

Leave a Comment