I use a laptop just to test software and engage in some bug fixing. Recently I ran into an issue where I was unable to shut down my Windows laptop. Whenever I pressed on shutdown, nothing happened. I had a similar problem with my earlier Windows machine, so I have some troubleshooting experience with Windows that will not shut down issues. In this guide, we show you how to reset the BootExecute register value to fix Windows Shutdown and Startup problems.
Reset BootExecute registry value to fix Windows Shutdown & Startup problems
The number one rule of a good technician is to check the logs before anything else. Logs mean Windows Event Log to see if any errors or any clues are there. Otherwise, whatever you do would just be a shot in the dark – it may hit, or it may miss. In my opinion, troubleshooting is an art, and it takes time to master it. But it’s satisfying and worth the effort! We can reset the BootExecute Registry value in the following ways.
- Selective Startup in Windows 11/10
- BootExecute autocheck
Let’s get into the details of each one.
1] Selective Startup in Windows 11/10
Back to the topic. So I went through the Event Viewer, with no luck. I checked the Application Log, Security Log, and System Log but found nothing related to the issue. So I thought of using one of the classic troubleshooting steps I often use, and that is “Selective Startup”. For those who don’t know, Selective Startup is a way where we disable all the non-Microsoft items from Startup and have a Clean Boot.
Open up Task Manager
Click on “More details” and click on “Startup” tab
Sort by Publisher. Disable the non-Microsoft startups. To disable right-click on the item and click on Disable
Make sure you don’t disable any other important applications like your motherboard chipset, Audio drivers, Display drivers, WiFi drivers, etc.
Now I powered off my computer, booted it, and tested it. Still no luck.
2] BootExecute autocheck
Then I researched a bit and found a registry key, whose value determines the startup & shutdown behavior I decided to try it out. Please take a registry backup before you make any changes. To take a backup:
Open the Run command box, type“Regedit” and press Enter
Then go to File > Export > Under Export range, make sure you choose “All”
Then click on Save.
Now we are going to make those registry changes:
- Go to the following location-
- HKEY_LOCAL_MACHINE > SYSTEM > CurrentControlSet > Control > SessionManager
- Now on the right-side pane, you’ll find BootExecute
- Right-click and click on Modify
- Remove all the values from it and replace it with autocheck autochk * which is the default value.
- Then click OK and exit the Registry Editor.
I rebooted the system and tested it again. It seemed to work fine.
The bootexecute autocheck autochk * value specifies the applications, services, and commands executed during startup. It may include additional commands after the autocheck autochk * value. But do not delete the default value, autocheck autochk *, from the value of BootExecute.
Also read: Disable This app is preventing shutdown message in Windows
What is the default value of BootExecute?
By default, the BootExecute value is set to autocheck autochk*. If it is changed you may see boot issues and you need to make sure it is set to default values to get rid of the issues. Modifying the BootExecute values other than to set the default values is not at all recommended as it may mess with the booting of your PC.
Related read: How to find the cause of an Unexpected Shutdown on Windows 11/10
Shyam,
I could really use your help here. My Windows 8 system (Lenovo T530) is in an infinite boot loop and can’t get to Windows because a program (ASO – Advanced System Optimizer) is continually optimizing my registry. Afterwards, it says “exiting to Windows” and then calls the same routing to optimize the registry.
I can interrupt the boot, go to the command DOS prompt, execute Regedit program. But, when I get to the Session Manager directory, THERE IS NO BOOTEXECUTE FILE. The software techs at ASO mentioned that it is there, but I can’t see it because of “permissions.” I can manually create the BootExecute file with the above settings. But, when I re-boot, it does the same routine over again. If I go again to Regedit, the BootExecute file that I’ve created is gone again.
Do you think that the BootExecute is truly there but that I don’t have permissions? If so, is there a way to “force” admin rights somehow to 1) find BootExecute file and 2) modify it to where I can boot normally to Windows ???
I have spent days setting this computer up with all the software programs and do Not want to reimage, reinstall Windows 8, and reinstall everything else.
Hi there!
It sounds like a corrupted registry. Try to Restore the Registry Hives http://www.youtube.com/watch?v=y0A99D23RWs it might help