Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Shut Down Command using the run lin eon Win2k8

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Resolve DNS query failed errors for Exchange
A safe way to clean winsxs folder from your windows server 2008 R2 editions
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

809 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