Link to home
Start Free TrialLog in
Avatar of joshsfinn
joshsfinn

asked on

Automatically reboot group of computers

What's the best way to automatically reboot a group of computers each night?

We run Active Directory so I'm thinking about group policy that we can make the machines in question a member of and a script that runs a shutdown command.

How do I schedule the script to run at a certain time and is this the best way to do this?

Thanks!
ASKER CERTIFIED SOLUTION
Avatar of dooleydog
dooleydog

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
SOLUTION
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
SOLUTION
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 joshsfinn
joshsfinn

ASKER

I'd kind of like it to be a GPO so that I can put machines into a group and then it's one less thing to change if we add/remove/rename a computer.
Even the script I gave does the same thing instead setting GPO you would set the scheduled task on a difft machine like a server. So if you need to rename or add a machine you will do that to the text file and it will reboot all the remote machines in that list
I understand but I was thinking that if we add a computer, we would have to add it to other groups anyways so I'd already be making GPO changes which would queue me to add it to the "automatic reboot" group.

I'm just trying to make this as easy as possible.

Thanks - these are all good suggestions.