Scheduling a Routine Restart Windows 10 Pro


  1. Posts : 3
    Win10Pro
       #1

    Scheduling a Routine Restart Windows 10 Pro


    I've been searching through the threads and haven't found one yet that solves my problem so I'm hopeful someone will know how to do this simply for Windows 10 (Pro).
    I have preconfigured the Windows update to only allow for a restart when no users are logged on (which is pretty much never since I use the PC as a server and there's always at least the sysadmin logged on to the box).

    I would like to schedule a routine restart of all services weekly (say Sunday morning at 3:30 am). Regardless of my reasons or the justification for doing this, I am looking for a solution.

    Should I put a job in batch through PowerShell?
    Is there some other scripting chronological job scheduler that I'm missing (that exists under Windows Server installs)?

    Scratching my head for a solution that must be right in front of me and I'm must not seeing it...
      My Computer


  2. Posts : 73
    Win 10 Home
       #2

    You just want to restart the services, not the operating system, correct? See if the instructions here help. >

    http://answers.microsoft.com/en-us/w...2310196?auth=1
      My Computer


  3. Posts : 3
    Win10Pro
    Thread Starter
       #3

    Thx bookfox, this is a good approach and could work for most sevices. One draw back is if I need to start most services (20-30 of them) this will end up in a long script, though not really a problem.
    I'm looking for a "best" approach to restart all, which may be to restart the server/pc altogether. Thoughts?
      My Computer


  4. Posts : 5,439
    Windows 11 Home
       #4

    Just restarting services will not do much, since windows update needs to replace system files. Restart is preferable.

    http://www.thewindowsclub.com/schedu...task-schedular
      My Computer


  5. Posts : 73
    Win 10 Home
       #5

    I agree with Tairiku. Best to restart the whole PC.
    I posted my suggestion because of your comment about having configured Windows Update to not restart while someone was logged on, and had assumed you wanted it done in such a way that you didn't have to reboot the PC.
      My Computer


  6. Posts : 353
    Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64
       #6

    @jnsnfl

    Open a CMD (Command Prompt) window and run this command:

    shutdown /?

    Maybe you can create a bat file or script to do a forced shutdown/restart.
    Then set up a scheduled task to run that.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 00:02.
Find Us




Windows 10 Forums