Knowledge Base

Our dedicated Product Specialist team is always ready to help you when you need it the most. Contact Support

How to setup a “Restart Computer” schedule command/task.

The instructions work for other commands as well. In step 2 just select another executable command.


  1. In Active Directory Users and Computers: right-click a computer account or an OU and select “Specops Gpupdate Professional…”
  2. Select “Restart Computer”
  3. Scroll down to the bottom and click on “Command actions” and select “Schedule command”
  4. Browse to a path for the script and name it suitablename.ps1 (no need to add any command lines to the file, Specops takes care of that)
  5. Browse to a path for the logfile and name it suitablename.log
  6. Click “Ok” and configure the Task, Schedule and Settings tabs
  7. Click “Ok” and you’re done


There might be a couple of minutes of delay until the computers restart. My suggestion is to first try this on one or a few test machines, so you know exactly how it works within your Environment.

Publication date: December 20, 2018
Modification date: December 20, 2018

Was this article helpful?