I can use this command to shutdown my own system but can not perform remote shutdown even i log with admin.I have 10 system on LAN Network and i know IP address of each and every node , I did not Want shutdown system through software.
Here is the Help to
Syntax
Usage: shutdown [-i | -l | -s | -r | -a] [-f] [-m \\computername] [-t xx] [-c "comment"] [-d up:xx:yy]
No args Display this message (same as -?)
-i Display GUI interface, must be the first option
-l Log off (cannot be used with -m option)
-s Shutdown the computer
-r Shutdown and restart the computer
-a Abort a system shutdown
-m \\computername Remote computer to shutdown/restart/abort
-t xx Set timeout for shutdown to xx seconds
-c "comment" Shutdown comment (maximum of 127 characters)
-f Forces running applications to close without warning
-d [u] [p]:xx:yy The reason code for the shutdown
u is the user code
p is a planned shutdown code
xx is the major reason code (positive integer less than 256)
How one can Shutdown a remote system through shutdown command of msdos in windowXP?
To get connected to the other machines with an authenticated connection to execute the shutdown, do the following:
1) Open an command prompt ("DOS" Window)
2) Type "net use \\%26lt;ip or hostname%26gt;\ipc$ /user:%26lt;administrator%26gt;" and enter the password for that system, when prompted.
3) Then execute "shutdown -l -s -m \\%26lt;ip or hostname%26gt; -t 1" if you're shutting it down and don't care who's on it...
All of this could be put into a script and run. You could execute the net use statements to connect to all of the computers at one time and then run the shutdown script on each afterwards. Of course, you'll have to pass your password to the script, which isn't a secure way to do it unless you do something like set it as a command line variable... Many possibilities there.
Good luck,
WG
Reply:When you state that you are an admin, do you mean that this is a domain, or that you have an admin account set up on each workstation.
Within a domain, you should be able to execute the command as long as the policy settings allow remote execution.
If a workgoup environment, as well as the machine policy allowing the remote execution, you will also need to authenticate against the machine with your local account details on that machine prior to executing the command.
Subscribe to:
Post Comments (Atom)
This comment has been removed by the author.
ReplyDeletershutpro.exe /start:"Pc1,Pc2" /poweroff
ReplyDeleteMore options at http://rshut.com/cmdline.php