How do you do....it? Thread, PSShutdown to Restart Server in Technical; I'm trying to get psshutdown script scheduled to restart the server on a weekly basis (I know this isn't accepted ...
-
16th December 2009, 09:36 AM #1 PSShutdown to Restart Server
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?
-
-
IDG Tech News
-
16th December 2009, 09:38 AM #2 I would just write a batch file and put it as a schedule task.
-
-
16th December 2009, 09:39 AM #3 
Originally Posted by
nicholab
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..."
-
-
16th December 2009, 09:59 AM #4 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 to busby from:
enjay (17th December 2009)
-
17th December 2009, 03:29 PM #5
- Rep Power
- 10
We use c:\windows\system32\shutdown.exe /f /r
have no problems with it working
-
Thanks to Firefox from:
enjay (17th December 2009)
SHARE: 
Similar Threads
-
By cheredenine in forum Hardware
Replies: 2
Last Post: 25th November 2009, 09:35 AM
-
By Gibson335 in forum Hardware
Replies: 8
Last Post: 23rd January 2009, 09:40 AM
-
By SpuffMonkey in forum Scripts
Replies: 7
Last Post: 6th November 2008, 01:59 PM
-
By gshaw in forum Windows
Replies: 3
Last Post: 23rd April 2008, 08:11 PM
-
By mullet_man in forum Windows
Replies: 4
Last Post: 16th July 2007, 03:16 PM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules