| Author |
Topic  |
|
|
mdonovanlibrarian
Welcome Newcomer
3 Posts
Status: offline |
Posted - 04/12/2012 : 09:55:15 AM
|
|
Hi, in the past with my Windows 2003 server I used PsShutdown (SysInternals) to shut down some clients on a schedule using Scheduled Tasks, a batch file, a list of the PCs and psshutdown.exe . This batch file, list, and psshutdown is just NOT working on my Windows 2008 server. It shuts *itself* down instead. I know I can set up shutdown.exe with some arguments as a scheduled task on individual clients, but I want to go back to centralizing the task. So my question is, has anyone gotten psshutdown to work via Server 2008, or have you got another (simple) way to shut down selected clients?
|
|
|
Pieter
Old Timer
  
Belgium
522 Posts
Status: offline |
Posted - 04/12/2012 : 10:14:51 AM
|
shutdown.exe /s /m \\Remote_PC /t 30 /c "test"
Shutdown.exe is a default tool on a Win 2008R2 server. |
Pieter Demeulemeester |
 |
|
|
mdonovanlibrarian
Welcome Newcomer
3 Posts
Status: offline |
Posted - 04/12/2012 : 10:22:02 AM
|
So I make one scheduled task for each PC, right? Having been just a copier/paster of arguments before, can I ask:
/s means shutdown, /m means what?, then \\Remote_PC is name of the PC? /t 30 means it will shutdown the PC in 30 seconds. But Can you tell me what the /c "test" means?
thanks, Margaret
quote: Originally posted by Pieter
shutdown.exe /s /m \\Remote_PC /t 30 /c "test"
Shutdown.exe is a default tool on a Win 2008R2 server.
|
 |
|
|
Pieter
Old Timer
  
Belgium
522 Posts
Status: offline |
Posted - 04/12/2012 : 10:26:59 AM
|
>> So I make one scheduled task for each PC, right? Yes, or make one script with multiple shutdown lines, one for each PC.
>> /s means shutdown, Yes. >> /m means what? machine, i guess.
>> \\Remote_PC is name of the PC? Yes
>> /t 30 means it will shutdown the PC in 30 seconds. Yes
>> /c "test" means? comment, it comes in the system event log of the PC.
see shutdown /? for more parameters.
|
Pieter Demeulemeester |
 |
|
|
mdonovanlibrarian
Welcome Newcomer
3 Posts
Status: offline |
Posted - 04/12/2012 : 1:57:13 PM
|
Works perfectly! Thank you very much!
Margaret
quote: Originally posted by Pieter
>> So I make one scheduled task for each PC, right? Yes, or make one script with multiple shutdown lines, one for each PC.
>> /s means shutdown, Yes. >> /m means what? machine, i guess.
>> \\Remote_PC is name of the PC? Yes
>> /t 30 means it will shutdown the PC in 30 seconds. Yes
>> /c "test" means? comment, it comes in the system event log of the PC.
see shutdown /? for more parameters.
 |
 |
|
|
JSCLMEDAVE
Administrator
    
USA
6116 Posts
Status: online |
|
|
Pieter
Old Timer
  
Belgium
522 Posts
Status: offline |
Posted - 04/13/2012 : 02:20:59 AM
|
| Don't know in what environment you're working, but with iTalc (Remote Control tool based on VNC, designed for usage in school) you can power on and off remote PC's from a GUI. |
Pieter Demeulemeester |
 |
|
| |
Topic  |
|