Technical Anshu
Tutorials Blog
🌐 Remote Admin

Restart a Remote PC With the Shutdown Command

The office PC in the other room needs a restart and nobody is sitting at it. If you are its administrator, the built-in shutdown command can do it from your desk — no remote desktop session needed. Here is the exact syntax, and the honest list of reasons it often fails the first time.

✍️ Technical Anshu🪟 Windows 10 / 11⏱️ 5 minute read
🎥 Watch the full video — the missing shutdown option fixed live with CMD, step by step

Adding /m \\computername aims the shutdown command at another Windows PC on your local network instead of your own. It is the same tool from the video, used the way IT admins have used it for years: shutdown /r /m \\OFFICE-PC /t 60. Two honest conditions decide whether it works at all — you must have administrator rights on that PC, and its firewall must allow the request. Everything else is detail.

Command Prompt — remote restart (example)
shutdown /r /m \\OFFICE-PC /t 60 /c "Restarting for updates"
SuccessTarget shows a one minute warning
Common failureAccess is denied (5)
Usually meansNo admin rights or firewall block
A remote restart command with a warning timer and a message for the person sitting at that PC (example computer name)
1

The Command, Piece by Piece

  1. shutdown /r /m \\OFFICE-PC /t 60 /c "Restarting for updates, please save your work"
  2. /r — restart (use /s for a full shutdown you cannot undo remotely without Wake-on-LAN)
  3. /m \\OFFICE-PC — the target. Replace OFFICE-PC with the PC's real network name and keep both backslashes
  4. /t 60 — give the person at that desk 60 seconds of warning; a remote /t 0 is technically allowed and socially terrible
  5. /c "..." — the reason shown to the user in the warning box, so it is not a mystery restart

Run it from CMD on your PC, signed in with an account that is an administrator on the target PC. The target shows the countdown warning, then restarts.

2

Why It Fails — Access Is Denied and Friends

None of these are fixed by typing the command harder. They are permissions and network conditions — fix the condition, and the same command succeeds.

3

The Honest Limits of the Tool

4

Cancelling a Remote Restart You Started

If you fired it at the wrong PC or the user calls you in a panic, the abort switch works remotely too:

  1. Run shutdown /a /m \\OFFICE-PC while the countdown is still running
  2. The target PC shows that the scheduled shutdown was cancelled

Like the local version, abort only works during the countdown — another reason to never send /t 0 to a machine with a human sitting at it.

🎥 Watch the Complete Video Guide

See the missing shutdown option and the CMD fix done live on a real PC — every step on screen.

▶️ Watch Full Video
❓ Frequently Asked Questions

Can I restart any PC on my Wi-Fi with this command?

Only PCs where your account has administrator rights and whose firewall allows remote shutdown. In practice that means your own PCs and office PCs you manage. A random PC on the network will answer with Access is denied.

What is the difference between /m and just walking over?

Nothing, in effect — the same shutdown happens. The /m form simply sends the instruction over the network, which is why permissions matter. It saves the walk; it does not bypass the target PC's security.

The command says the network path was not found. What now?

Check the computer name is exact, the target is switched on and awake, and you are on the same network or VPN. A sleeping PC with no Wake-on-LAN cannot hear the command at all.

This guide is based on a Technical Anshu video • Stuck on any step? Ask in the video comments — help is there 🙏