Jump to content

Recommended Posts

Posted
I'm trying to get psshutdown script scheduled to restart the server on a weekly basis (I know this isn't accepted practice, but trust me, it makes everything run smoother!). I have got psshutdown to work fine on workstations, but can't get the server to execute the command on itself - when I try, it tells me "error communicating with the psshutdown service on local system". Any ideas?
Posted
I would just write a batch file and put it as a schedule task.

 

That's what I'm doing - trouble is, when the batch file executes, I get the error message above. I'm using the following command, which works fine if directed to a remote machine:

psshutdown -r -c -f -m "The server is about to restart..."

Posted

I use this comand for remote workstations.

 

shutdown -m \\SUITE00 -r -t 30 -c "Technician reqiures this machine to restart thank you for your patience"

 

and this for server restart

 

shutdown -r

 

 

works a treat! love using it when a child is on the machine and has been told a number of times to quite down by the teacher.

  • Thanks 1

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...