Mark Minasi's Reader Forum
Mark Minasi's Reader Forum
Home | Profile | Register | Active Topics | Active Polls | Members | Search | FAQ | Minasi Forum RSS Feed
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 HALP! Questions on Windows and Windows Server
 Windows Server 2008 R2
 Shutting down clients from Windows Server 2008
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

mdonovanlibrarian
Welcome Newcomer

3 Posts
Status: offline

Posted - 04/12/2012 :  09:55:15 AM  Show Profile  Reply with Quote
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  Show Profile  Reply with Quote
shutdown.exe /s /m \\Remote_PC /t 30 /c "test"

Shutdown.exe is a default tool on a Win 2008R2 server.

Pieter Demeulemeester
Go to Top of Page

mdonovanlibrarian
Welcome Newcomer

3 Posts
Status: offline

Posted - 04/12/2012 :  10:22:02 AM  Show Profile  Reply with Quote
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.

Go to Top of Page

Pieter
Old Timer

Belgium
522 Posts
Status: offline

Posted - 04/12/2012 :  10:26:59 AM  Show Profile  Reply with Quote
>> 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
Go to Top of Page

mdonovanlibrarian
Welcome Newcomer

3 Posts
Status: offline

Posted - 04/12/2012 :  1:57:13 PM  Show Profile  Reply with Quote
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.





Go to Top of Page

JSCLMEDAVE
Administrator

USA
6116 Posts
Status: online

Posted - 04/12/2012 :  2:08:41 PM  Show Profile  Visit JSCLMEDAVE's Homepage  Click to see JSCLMEDAVE's MSN Messenger address  Reply with Quote
http://web2.minasi.com/forum/topic.asp?TOPIC_ID=11197

Tim-

“This too shall pass"
Go to Top of Page

Pieter
Old Timer

Belgium
522 Posts
Status: offline

Posted - 04/13/2012 :  02:20:59 AM  Show Profile  Reply with Quote
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
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Mark Minasi's Reader Forum © 2002-2011 Mark Minasi Go To Top Of Page
This page was generated in 0.12 seconds. Snitz Forums 2000