Ever had your Windows PC restart when you tried to shut it down? It’s annoying when you shut down your PC and it immediately restarts. It shouldn’t be a battle between you and your PC, in my opinion.

Hard resets and unplugging the power cord should not be a regular thing. Force shutdowns increase the risk of file corruption.

When my PC started acting up, I dug around to find a fix. But later realized there’s no one-size-fits-all solution. I have listed each approach and explained the targeted fix. Once you apply the method, restart your PC to see if it worked. If that doesn’t, try the next one.

How to Fix When Windows Restarts After Shutdown (2024)

Disabling Fast Startup

1- Go to the Start Menu. Type power settings and press Enter to bring up the Power & sleep settings window.

Capture decran 2024 03 24 175352

2- Under Related Settings click on Additional Power Settings to bring up the Power Options window.

Capture decran 2024 03 24 175502

3- On the left navigation pane, click on Choose what the power buttons do.

Capture decran 2024 03 24 175529

4- Click on Change settings that are currently unavailable as shown below. This unlocks the disabled shutdown settings.

Capture decran 2024 03 24 175604

5- Under Shutdown settings, click on the checkbox next to turn on fast startup to uncheck it.

6- Click on Save Changes and try to shut down your PC.

Capture decran 2024 03 24 175630

Tip:

When you disable fast startup, it is normal to experience longer bootup times than usual.

Disabling Automatic Restart Due to Crash

1- Go to the Start Menu. Type sysdm.cpl and press Enter to bring up the System properties window.

Capture decran 2024 03 24 175655

2- Click on the Advanced tab.

3- Under Startup and Recovery, click on Settings to bring up the Startup and Recovery window.

Capture decran 2024 03 24 175718

4- Under the System failure section, uncheck the Automatically Restart option.

5- Click on OK to save settings.

Capture decran 2024 03 24 175756

Author’s Note

The issue that we are trying to fix here is the windows crashing when attempting to shut down. When you click on power off, windows may be crashing without displaying any message. Due to this option, the PC attempts to restart which looks as if the PC restarts when powered off.

Enabling Powerdownaftershutdown Option in Registry Editor

1- Go to the Start Menu. Type regedit and press Enter to bring up the Registry Editor window.

Capture decran 2024 03 24 175826

2- Using the navigation pane or location browser at the top, locate the following page: Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon

Capture decran 2024 03 24 175852

3- Locate the following config PowerdownAfterShutdown and double-click on it.

4- In the Value data field, change the existing 0 to 1 and press OK.

Capture decran 2024 03 24 175915

5- Restart PC to apply changes.

Using System File Checker

1- Go to the Start Menu. Type cmd and select Run as administrator to bring up the Command prompt in elevated mode.

Capture decran 2024 03 24 175938

2- Type the following command sfc /scannow to start and fix corrupted system files.

3- Wait for the Verification to complete to 100%.

Capture decran 2024 03 24 180001

Sfc(System File Checker) tool scans all protected system files for errors. It then replaces any corrupted ones with its cached copy. At the end of the process, it generated a log file that tells you if it found any corrupted files. If these corrupted files were causing the system to restart, sfc should have it fixed.

Tip

If sfc did not find any corrupted files, it shows the same message as seen in the screenshot above.

Disabling Network Adapter From Waking Up the Computer

1- Right-click on the Start Menu and select Device Manager to bring up the Device Manager window.

Capture decran 2024 03 24 180026

2- Expand the Network adapters list and look for the network adapter connected to the PC.

3- If it’s a wired connection, look for Ethernet Connection. If it’s a wireless connection, look for Intel Wireless.

Capture decran 2024 03 24 180056

4- Double click on the adapter to bring up its properties window.

5- Go to the Power Management tab and uncheck Allow this device to wake the computer option.

6- Click on OK to exit and save changes.

Capture decran 2024 03 24 180115

7- Repeat for any other network adapter(s).

Updating Windows

1- Go to the Start Menu. Type Windows Update and press Enter to bring up the windows update settings window.

Capture decran 2024 03 24 180132

2- Let Windows check for updates and click on Install now.

Capture decran 2024 03 24 180202

3- Restart your computer by clicking on Restart now.

Capture decran 2024 03 24 180226

Sometimes, a bug in the operating system can cause the PC to restart after shutdown. Staying up to date on Windows updates is a sure way to protect the system from any known bugs and crashes. Not only this but any corrupted drivers or system crashes are also fixed by software updates.

Forcing a Shutdown

1- Go to the Start Menu. Type cmd and select Run as Administrator to bring up the Command prompt in elevated mode.

2- Type the following command shutdown /s /f /t 0 to shut down the computer immediately.

Capture decran 2024 03 24 180256

Author’s Note

Sometimes trying the regular shutdown option from the start menu may not work. In such cases, forcing a command-line shutdown generally prevents windows from restarting.

Going Into Safe Boot Mode

1- Go to the Start Menu. Type msconfig and press Enter to bring up the System Configuration menu.

2- Click on the Boot tab.

3- Under Boot options, check Safe boot and set option to Minimal.

4- Click OK and restart the computer.

Capture decran 2024 03 24 180317

5- Shut down the computer from inside the safe mode.

Author’s Note

A safe mode isn’t technically a fix. It will help you identify if a background service or process is causing your system to restart. The safe boot option does two things. One, it boots the PC with minimal configuration required.

Two, it disables all installed third-party drivers and services. If you can safely shut down from safe mode without having an issue, it’s likely a problem with a startup process. Use the next approach to identify and fix the issue.

Performing a Clean Boot

1- Go to the Start Menu. Type msconfig and press Enter to bring up the System Configuration menu

2- Click on the Services tab.

3- Uncheck the Hide all Microsoft services option as shown below.

4- Click on the Disable all button to disable active services.

Capture decran 2024 03 24 180336

5- Click on the Startup tab and click on Open Task Manager to open the Startup page in the Task Manager window.

6- Right-click an application process and click disable.

Capture decran 2024 03 24 180359

7- Repeat for all application processes in the list.

8- Restart PC to perform a clean boot.

9- Shut down the computer from inside the clean boot.

Author’s Note

Same as safe mode, the clean boot isn’t a complete fix. But it will help you identify if any third-party vendor apps are causing a system fault. If shutdown works from the clean boot, enable one or few applications at a time and try again.

Repeat until you identify the application that’s been giving you a headache this whole time.

Performing System Reset

1- Go to the Start Menu. Type System Reset to bring up the Recovery Settings window.

2- Under Reset this PC section, click on Get started.

Capture decran 2024 03 24 180423

3- Click on Keep my files and wait for a while.

Capture decran 2024 03 24 180441

4- If you have an active Internet connection, click on Cloud download.

5- If you don’t have an active Internet connection, click on Local reinstall.

Capture decran 2024 03 24 180501

6- Wait for the reset process to finish and PC to restart.

If you were unable to identify the problem, you always have an option to roll back or reset your PC using this process. Once done, verify if it worked by shutting down your PC. If not, try again by selecting Remove everything in Step 3 above and continuing the rest of the steps.

G
Enjoy Tech2Geek?

Add Tech2Geek as a preferred source on Google to see more of our latest tech articles.

Add Tech2Geek
☕

Support Tech2Geek ❤️

Did this guide help you? If Tech2Geek saves you time or helps you solve a problem, consider buying me a coffee. ☕
Your support helps keep Tech2Geek independent and free.

☕ Buy Me a Coffee
Every coffee makes a difference. Thank you! 🙏

Categorized in:

Tagged in: