Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

LAN Shutdown issue 1

Status
Not open for further replies.

GazNew

Instructor
May 3, 2005
30
0
0
GB
I am having an issue shutting down Windows XP SP2 workstations across a LAN. In fact RSoP and many network aspects are restricted. I believe this to be due to SP2's firewall but would like to know if there is a shutdown utility that will work around this or how to switch the firewall settings off that affect this without having to visit each workstation.
 
Using Shutdown /i option but also trying LAN Shutdown; neither working.
 
Shutdown
Allows you to shut down or restart a local or remote computer. Used without parameters, shutdown will logoff the current user.

Syntax
shutdown [{-l|-s|-r|-a}] [-f] [-m [\\ComputerName]] [-t xx] [-c "message"] [-d[p]:xx:yy]

Parameters
-l
Logs off the current user, this is also the defualt. -m ComputerName takes precedence.
-s
Shuts down the local computer.
-r
Reboots after shutdown.
-a
Aborts shutdown. Ignores other parameters, except -l and ComputerName. You can only use -a during the time-out period.
-f
Forces running applications to close.
-m [\\ComputerName]
Specifies the computer that you want to shut down.
-t xx
Sets the timer for system shutdown in xx seconds. The default is 20 seconds.
-c "message"
Specifies a message to be displayed in the Message area of the System Shutdown window. You can use a maximum of 127 characters. You must enclose the message in quotation marks.

Examples
To shut down \\MyServer in 60 seconds, and force running applications to close:
shutdown -s -f -m \\MyServer -t 60

Consider as well:
PsShutdown by sysinternals:
 
Your link earlier gave me the answer so thanks very much!

As I say we have been using shutdown and the only limitation is that you cannot store or group workstations. LAN Shutdown does do this but stores the IP address rather than base it on the name. Considering the ability of DHCP to re-allocate the IP address this is a serious weakness. I will follow your other link as well. Thanks for your help!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top