• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 725
  • Last Modified:

Shut Down Command using the run lin eon Win2k8

Can someone please tell me what the syntax to restart a client computer on the network is?

for example I use  " shutdown -r" to reboot the server when I'm in a remote session, but if I wanted to reboot or shutdown a client workstation what would be the syntax that I would input on the run line?

Thanks all
0
noad
Asked:
noad
1 Solution
 
Subhashish LahaCommented:
Try shutdown -i
0
 
Haresh NikumbhCommented:
1) open the command prompt. This may be done by clicking on the "Start" button, and selecting "Run".
2) type in CMD
3)Type in shutdown -m \\computername, replacing "computername" with the name of the computer you wish to shutdown or the computer's IP address.
4)shutdown command's switches.
-r will force a restart, disabling any services or user interaction from interrupting it.
-c "comment" will force a comment to appear on the system being shutdown.
-t xx will force a timeout for "xx" seconds. For example, -t 60 would perform a shutdown after a 60-second timeout.
-a will abort the shutdown.
A full command example: shutdown -m \\myserver -r -c "This system will shutdown in 60 seconds" -t 60


http://www.wikihow.com/Do-a-Remote-Shutdown-for-a-PC-on-a-LAN
0
 
prashyantCommented:
Hi there,

try this one  my-pc>shutdown /r /m \\computer-name-client
0
 
noadAuthor Commented:
Simple and to the point
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now