How to Block Shut Down and Restart on Windows 10

If you need to stop a Windows 10 PC from shutting down or restarting while a long task is running, you have two useful approaches. ShutdownBlocker can intercept many shutdown and restart requests, while a built-in Group Policy can remove the power commands from the Windows interface. The right choice depends on whether you want to block background requests or simply stop users from clicking Shut down or Restart.

Important: Microsoft ended free support for Windows 10 on October 14, 2025. This guide still applies to Windows 10 systems that remain in use, but unsupported PCs should not be treated as fully protected just because shutdowns are blocked. Microsoft documents the current Windows 10 lifecycle and restart controls on its Active Hours support page.

Method 1: Block shutdown and restart with ShutdownBlocker

ShutdownBlocker is a small portable utility from Cresstone. It does not require a traditional installer: download the ZIP from the developer's ShutdownBlocker page, extract it to a folder you control, and run shutdownBlocker.exe. Because it is an older utility, download it only from the developer's site and keep a copy of your files before relying on it for important work.

1. Turn blocking on

Open ShutdownBlocker and select Block if blocking is not already active. When the app reports that shutdowns are blocked, it stays available in the background and can stop many ordinary shutdown, restart, and logoff requests.

ShutdownBlocker window on Windows 10 showing shutdowns currently blocked and the Allow button available

This is useful during a large download, export, render, backup, or other job that you do not want interrupted. It is not a security control and it cannot guarantee that every forced power action will be prevented.

2. Allow shutdown again when you are ready

Before intentionally restarting or shutting down Windows, open ShutdownBlocker and select Allow. The status should change to show that shutdowns are allowed. You can then use the normal Windows power menu.

ShutdownBlocker window on Windows 10 showing shutdowns allowed and the Block button available

Do not leave blocking enabled indefinitely just to postpone maintenance. If Windows Update is waiting for a restart, schedule that restart for a convenient time instead of repeatedly preventing it.

3. Start ShutdownBlocker with Windows

If you regularly need the protection, open Settings / About in ShutdownBlocker and enable Start With Windows (with blocking enabled). This makes the utility start automatically and begin blocking after sign-in. You can later return to the same settings page to turn the option off.

ShutdownBlocker settings window with Start With Windows with blocking enabled selected

Method 2: Remove Shut down and Restart from the Windows 10 interface

If your edition of Windows 10 includes Local Group Policy Editor, you can remove the power commands from the Start menu, sign-in screen, and the Ctrl+Alt+Delete security screen.

  1. Press Windows + R, type gpedit.msc, and press Enter.
  2. Go to User Configuration > Administrative Templates > Start Menu and Taskbar.
  3. Open Remove and prevent access to the Shut Down, Restart, Sleep, and Hibernate commands.
  4. Select Enabled, then choose Apply and OK.
  5. Sign out and back in, or restart Explorer, if the change does not appear immediately.

Local Group Policy Editor showing the policy that removes Shut Down Restart Sleep and Hibernate commands enabled

Microsoft's Start policy documentation notes an important limitation: this policy removes the user-facing power commands, but it does not prevent Windows programs from performing shutdown or restart operations. That makes it useful for kiosks, shared PCs, or accounts where you mainly want to prevent accidental clicks, not for blocking every restart source.

What to do about Windows Update restarts

For update-related restarts, use Windows' own scheduling controls first. In Windows 10, go to Settings > Update & Security > Windows Update > Change active hours and set the period when you normally use the PC. Microsoft says Windows uses Active Hours to help avoid automatic update restarts while the device is in use.

If Windows already has a timed shutdown pending, the built-in command shutdown /a can abort it only while the timeout is still active. Microsoft documents this behavior in the shutdown command reference. It is a one-time cancellation, not a permanent shutdown blocker.

Which method should you use?

  • Use ShutdownBlocker when you need a temporary, best-effort barrier against ordinary shutdown and restart requests while work is in progress.
  • Use Group Policy when you want to remove power options from the Windows interface for a user or shared PC.
  • Use Active Hours when your main concern is avoiding inconvenient Windows Update restarts.

Whichever method you choose, save important work regularly and remember how to reverse the block. A shutdown blocker can reduce accidental interruptions, but it should not replace normal updates, backups, or planned restarts.

Leave a Comment

How to Automatically Restart a Crashed App on Windows 10

How to Automatically Restart a Crashed App on Windows 10

Set up a PowerShell watcher and Task Scheduler task to relaunch a Windows 10 desktop app after it closes, then learn how to test and stop it.

How to Show All System Tray Icons on Windows 10

How to Show All System Tray Icons on Windows 10

Keep app icons out of the hidden overflow in Windows 10. Turn on the all-icons option, then manage system icons separately if one is still missing.

How to Update Network Login Credentials in Windows 10

How to Update Network Login Credentials in Windows 10

Change the saved username or password Windows uses for a mapped drive or shared folder through Credential Manager, then reconnect to verify access.

How to Limit Microsoft Defender CPU Usage on Windows 10

How to Limit Microsoft Defender CPU Usage on Windows 10

Set a lower Defender scan CPU target in PowerShell, handle the idle-scan exception, and verify which Windows 10 scans the setting affects.

How to Install a Minecraft Add-On on Windows 10

How to Install a Minecraft Add-On on Windows 10

Import a Bedrock .mcpack or .mcaddon on Windows 10, activate it for a new or existing world, and avoid confusing add-ons with Java mods.

How to Fix “We Can’t Set Up Mobile Hotspot” in Windows 10

How to Fix “We Can’t Set Up Mobile Hotspot” in Windows 10

Restore the Windows 10 hotspot by checking the internet source and wireless adapter, repairing its driver, and saving Network reset for last.

How to Change Screen Brightness by Time of Day on Windows 10

How to Change Screen Brightness by Time of Day on Windows 10

Set daytime and nighttime brightness levels on Windows 10 with ClickMonitorDDC 7.2, and learn about DDC/CI limits and the Night light alternative.

How to Adjust Left/Right Balance for Bluetooth Headphones in Windows 10

How to Adjust Left/Right Balance for Bluetooth Headphones in Windows 10

Find Windows 10’s left/right balance controls for Bluetooth headphones, with a cautious registry workaround when volume controls stay linked.

How to Automatically Shut Down Windows 10 When It’s Idle

How to Automatically Shut Down Windows 10 When It’s Idle

Set up Task Scheduler’s On idle trigger to shut down Windows 10 with a one-minute cancellation window, and learn how Windows defines idle.

How to Burn a Disc Image to an SD Card in Windows 10

How to Burn a Disc Image to an SD Card in Windows 10

Learn how to burn a disc image to an SD card on Windows 10 with balenaEtcher, verify the target drive, and check whether the finished card can boot.