![]() If you just want to log a user off the remote computer use this command. If you want a longer countdown just specify the seconds /t 60 Example 4: Log user off the remote computer If you want to immediately restart with no countdown or message use this command. Example 3: Immediate Restart no Countdown shutdown /m \\pc2 /c "The IT department has initiated a remote restart on your computer"īelow is the pop up on the remote computer with the custom message. You may want to display a custom message to the logged on users, to do that just use the /c command. The pop up below is what a Windows 10 system will display. Example 1: Restart Remote Computerīy default, this will prompt the remote computer and give it about a minute before it restarts. I’ll be using the /r switch in these examples, you can change them to /s to shutdown instead of restart. In these examples, I’ll be on PC1 and will initiate a remote restart or shutdown on PC2. Restart or Shutdown Examples with Command Line Remote Desktop Connection Manager | Remote Session Tools c “comment” – Message to display on the screen before restart or shutdown t xxx – Set the time out period before shutdown to xxx seconds m \\computer – Specify the remote computer There are several command line switches, below I list the most useful options. To view the full list of command options type shutdown /? in the CMD window. ![]() To use this command just open the windows command prompt and type shutdown. Windows systems have a built in shutdown command that can be used to restart or shutdown local and remote computers. The first method uses a built in Windows command and the second method uses PowerShell.Ĭheck it out. ![]() In this tutorial, I’ll show you two easy methods for rebooting and shutting down remote computers. ![]() There will be times as a Windows Administrator when you will need to reboot or shutdown a remote computer or server. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |