Solved

Shut Down Command using the run lin eon Win2k8

Posted on 2013-05-15
4
695 Views
Last Modified: 2013-05-15
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
Comment
Question by:noad
4 Comments
 
LVL 10

Expert Comment

by:Subhashish Laha
ID: 39167673
Try shutdown -i
0
 
LVL 22

Accepted Solution

by:
Haresh Nikumbh earned 500 total points
ID: 39167675
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
 

Expert Comment

by:prashyant
ID: 39167721
Hi there,

try this one  my-pc>shutdown /r /m \\computer-name-client
0
 
LVL 1

Author Closing Comment

by:noad
ID: 39167749
Simple and to the point
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

The article will show you how you can maintain a simple logfile of all Startup and Shutdown events on Windows servers and desktops with PowerShell. The script can be easily adapted into doing more like gracefully silencing/updating your monitoring s…
Resolve DNS query failed errors for Exchange
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now