I am using windows 10 pro system and i would like to run screensaver at specific time to make a notice of Shut down Computer before leaving. Is it possible? even with a third party software or commands?

  • do you mean specific time as in, "Start screen saver at 8pm", or specific time as in "After being logged in for 5 hours"? Commented Jan 31, 2020 at 7:20

2 Answers 2


This answer fits to ANY version of Windows
It is certainly possible to schedule the launch of (any) screen saver at specific times through the (native) Windows "Task Scheduler" (taskschd.msc)

It takes two steps:
1. Make the batch which sets the 'ScreenSaver' File (or program).
2. Set (manually) the schedule's Triggers, Actions, Conditions, Settings.

1. The Batch file:
The following would be an example for a batch file: (.cmd or .bat)
Will need it later for scheduled task to work,
so, create it, name it (eg.) "Start_Screen_Saver.cmd" and place it in C:\ .

Just Address and screen saver File (.scr) must be set here. - (or could be also a program .exe)

For example: (syntax) [ChDir Drive:\Path\to... && File.extention]
- which means: "Change Directory Drive:\Path\to... (&then run) File.ext"

Paste the following code in the (eg) "C:\Start_Screen_Saver.cmd" file.

:: Comment: This file "C:\Start_Screen_Saver.cmd" is used for Scheduled task "Scheduled_screen-saver".
@echo off
cd C:\Windows\System32 && Bubbles.scr /s

(Note the /s switch! Bubble.scr needs /s switch, other screen savers may be need different switches.)


  • C:\Windows\System32 is the default Windows directory for screen-savers (.scr) files, but - Any other installed screensavers could be installed in other places.
  • Some (third-party) screen-savers are programs (.exe), but that's another story. In that case could used straight from Scheduler settings (Actions:(tab) > Program/script: Browse... for path/file to be executed) without use of above batch file. The same way can be used to fire up (any) programs (eg) to play pictures, videos, audio files etc.

2. Create and Set a Scheduled Task:

The following is an example for How to maually Create and Set a Scheduled Task: (Steps:)

:: Open Windows "Task Scheduler" (taskschd.msc)
:: Task Scheduler Library > (R-Click) "Create New Task..."
:: Create Task
::    General(tab)
::        Name: Scheduled_screen-saver
::        Description: Starts Scheduled screen-saver in a specific time(s).
::        CHECK: Run with highest privileges
::    Triggers(tab) > New...(button) 
::        Begin the task: On a schedule 
::          (here set schedule settings as you like)  (date, time, etc.) 
::        CHECK: Enabled 
::   Actions(tab) > New...(button) 
::        Action: Start a program 
::        Program/script: Browse... for path/file to be executed. 
::          [eg. C:\Start_Screen_Saver.cmd] 
::          (Here set the batch File eg:[*.cmd] we've already created and placed on C:\)
::   Conditions(tab) 
::          (Here you can set Conditions or unset) 
::          (example:Start the task only if the computer is idle for: X time) 
::        UNCHECK anything else 
::    Settings(tab) 
::        CHECK:  
::            Allow task to be run on demand 
::            Stop the task if it runs longer than: 3 days 
::            If the running task does not end when requested, force it to stop 
::            If the task is already running, then the following rule applies: 
::                Do not start a new instance 

*Save(Export) Windows "Task Scheduler" Settings: (R-Click on 'SchTask' > Export). Native support of import-export saved settings.xml


  • After done with Creating Scheduled Task, PC must restarted to take effect the settings.

  • The scheduled task could be also created and adjusted through "CMD" batch for "taskschd.msc" see:Configure screensaver command line or manually with the "Windows Task Scheduler" (UI) native support of import-export settings.xml (eg: R-Click on 'SchTask' > Export).

/!\ Do Not try this if you are not familiar with Command Prompt and Registry edits!
Set ScreenSaver from Batch example: (by Emiel)

@echo off
:: setup screensaver with text over screen
reg add “HKEY_CURRENT_USER\Control Panel\Screen Saver.Marquee\TeXt”, “my text”
reg add “HKEY_CURRENT_USER\Control Panel\Desktop\BackgroundColor”, “0 0 0”
reg add “HKEY_CURRENT_USER\Control Panel\Desktop\TextColor”, “0 128 0”
reg add “HKEY_CURRENT_USER\Control Panel\Desktop\Size”, “20”
reg add “HKEY_CURRENT_USER\Control Panel\Desktop\Speed”, “4”
reg add “HKEY_CURRENT_USER\Control Panel\Desktop\Attributes”, “10001”
reg add “HKEY_CURRENT_USER\Control Panel\Desktop\CharSet”, “0”

:: Set screensaver application
reg add “HKEY_CURRENT_USER\Control Panel\Desktop” /v SCRNSAVE.EXE /t REG_SZ /d %windir%\system32\ssmarque.scr /f

:: Set screen saver start to 600 seconds (60sec x 10min)
reg add “HKEY_CURRENT_USER\Control Panel\Desktop” /v ScreenSaveTimeOut /t REG_SZ /d 600 /f

:: https://www.windows-commandline.com/configure-screensaver-command-line/

For this last part, again:
You can experiment but ONLY if you know exactly what you are doing. I mean Do Not try this if you are not familiar with Command Prompt and Registry edits.


I'll assume you already know about the Windows Task Scheduler - you should download http://www.nirsoft.net/utils/nircmd.html and create a batch file with the "start default screen saver" command, and schedule that batch file with the Task Scheduler

  • sorry i'm unable to follow this, would you please summarize the answer Commented Feb 17, 2020 at 6:04
  • So to clarify, you want to start your screensaver at a specific time (lets say 5pm every day), or what? Commented Feb 18, 2020 at 8:41
  • yeap exactly at 5:30 PM Commented Feb 18, 2020 at 11:15
  • then you can easily write a batch script for that with the tool i linked and tell the windows task scheduler to execute that script every day at 5:30 PM - if you have questions to that you should open a new question for the Task Scheduler or for the nircmd tool Commented Feb 24, 2020 at 8:35
  • You will want to use nircmdc.exe in the downloaded ZIP file if you don't want any pop-up errors in case the command fails. According to the documentation, nircmdc.exe prints error messages to the console window.
    – Felix An
    Commented May 6 at 8:52

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .