Jump to content

Recommended Posts

Posted

I'm trying to get a scheduled task to force-reboot computers weekly as my users do not reboot often; leaving RAM cluttered and updates not installed.  I have a physical machine in a test OU, I can see the task being pushed to the machine via GPO in the task library; but it doesn't trigger.  Even if I manually add a task to call shutdown.exe /r /f /t 60, and the time it's supposed to kick off passes, it doesn't start.  Thoughts/ideas?  I have it set to run as NT AUTHORITY\SYSTEM and to run whether or not a user is logged in. 

Posted

I have the same on a Win 2019 server that runs once a week because of some software that seems to slow it down, and that's working fine. It was added manually with "run whether user is logged or or not" set. What does the history tab shows? That's where I start with troubleshooting scheduled tasks.

  • Like 1
Posted

Some thoughts/ideas from when I have done something similar before (end of the day shutdown for me). Try this as your scheduled task action: 

 

C:\Windows\System32\shutdown.exe

 

And then add the arguements: -f -s -c "This computer will now shutdown. You have 2 minutes to save open files" -t 120 (adjust the time and text accordingly)


For good measure, make sure you have ticked the box, Run with highest level.... You may also want to tick the box to allow it to wake the machine up in order to run it, just to be sure its not sleeping when it tries to run. 
 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...