Link to home
Start Free TrialLog in
Avatar of Randall Storm
Randall StormFlag for United States of America

asked on

Need help creating/implementing a GPO to reboot computers nightly

We have gone to a new antivirus product and some of our domain computers are drastically slower first thing in the morning.  The scans run automatically every night.  Rebooting seems to cure the issue.  Can someone help with instructions on how to create and implement, or add to the existing GPO, an object to reboot the computers automatically every night after virus scans finish?  If there is an easier way than a GPO, I am open to suggestions.
Avatar of Don
Don
Flag of United States of America image

Use psshutdown
 
https://technet.microsoft.com/en-us/sysinternals/bb897541.aspx 
Create a list of the servers you need to reboot in a .txt one per line
create a scheduled task with this in the "Run"  psshutdown @\\server\share\servers.txt -accepteula -r -f -c -t 120
ASKER CERTIFIED SOLUTION
Avatar of Shift-3
Shift-3
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Randall Storm

ASKER

Thanks, will test as soon as possible.
can you tell what is the antivirus ? does the name start with a "f-" ? :)
Went with the batch script in GPO.  Seems like that is going to be the ticket.