Solved

Shut Down Command using the run lin eon Win2k8

Posted on 2013-05-15
4
700 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

What to do when Windows Update is not working correctly? What tools can I use to detect the cause of the malfunction problem? What does this numeric error code mean? These and other questions that you have been asking in the past are answered here (…
New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
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 from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

726 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