Shutdown Remote Computer CMD [How To]

By | December 8, 2021

How to shut down remote computer CMD? Usually, we can shut down a computer from the start menu shutdown icon. If you use a remote desktop, the same system shuts it down. But if you have a lot of computers, they need to be shut down simultaneously. Then, you can do it from a batch file, and it’s beneficial.

Shutdown Remote Computer CMD:

Remembering the exact command would save system administrators a lot of time. In this situation, a tool called PcShutdown.exe was developed by SysInternals.com (Now part of Microsoft).

This Tool- PsShutdown.exe, can be downloaded as part of PS Tools from Go to location – http://technet.microsoft.com/en-us/sysinternals/bb897541.aspx

How to Shutdown or Reboot Remote Computer from Command Line

Read Also: How to Schedule Automatic Shutdown – Restart

If you want to shut down your computer by running the below command-

PsShutdown.exe -u username -p password \\Remotecomputer

If the above command is running well, you will see a message like the one below-

Remote computer is scheduled to reboot in 00.00.20.

If you want to shut down your system to set a scheduled time, you need to use -the switch to specify the time in a 24-hour format. If you shut down at 3:30 PM today, your command would be

PsShutdown.exe -t 15:30 -u username -p password \\Remotecomputer

Read Also: How to Enable / Disable WiFi Connection

How to restart the remote computer command line?

You must use the “PsShutdown” command to restart a remote PC. You need to run the below command-

PsShutdown.exe -r -u username -p password \\RemoteComputerName

Read Also: Open Network Connection from Command Line

Leave a Reply

Your email address will not be published. Required fields are marked *