Advanced Troubleshooting For Windows Boot Problems - Windows Client Management - Microsoft Docs
Advanced Troubleshooting For Windows Boot Problems - Windows Client Management - Microsoft Docs
To troubleshoot this problem, use Windows installation media to start the computer, press
Shift + F10 for a command prompt, and then use any of the following methods.
diagnostics. These diagnostics include analyzing startup log files to determine the cause of the
problem. When the Startup Repair tool determines the cause, the tool tries to fix the problem
automatically.
To do this task of invoking the Startup Repair tool, follow these steps.
7 Note
For additional methods to start WinRE, see Windows Recovery Environment (Windows
RE).
1. Start the system to the installation media for the installed version of Windows. For more
information, see Create installation media for Windows .
2. On the Install Windows screen, select Next > Repair your computer.
5 Aft St t R i l t Sh td th t PC t
https://docs.microsoft.com/en-us/windows/client-management/advanced-troubleshooting-boot-problems
if Wi d b t 1/13
6/29/22, 2:54 PM Advanced troubleshooting for Windows boot problems - Windows Client Management | Microsoft Docs
5. After Startup Repair, select Shutdown, then turn on your PC to see if Windows can boot
properly.
The Startup Repair tool generates a log file to help you understand the startup problems and
the repairs that were made. You can find the log file in the following location:
%windir%\System32\LogFiles\Srt\Srttrail.txt
command = Copy
BOOTREC /FIXMBR
command = Copy
BOOTREC /FIXBOOT
7 Note
Running BOOTREC together with Fixmbr overwrites only the master boot code. If the
corruption in the MBR affects the partition table, running Fixmbr may not fix the
problem.
1. Scan for all the systems that are installed. To do this step, run the following command:
command = Copy
Bootrec /ScanOS
command = Copy
attrib c:\boot\bcd -r -s -h
bootrec /rebuildbcd
command = Copy
attrib -r -s -h
command = Copy
attrib -r -s -h
command = Copy
6. Copy the bootmgr file, and then paste it to the System Reserved partition.
If the problem persists, you may want to restore the system state backup to an alternative
location, and then retrieve the registry hives to be replaced.
7 Note
Starting in Windows 10, version 1803, Windows no longer automatically backs up the
system registry to the RegBack folder.This change is by design, and is intended to help
reduce the overall disk footprint size of Windows. To recover a system with a corrupt
registry hive, Microsoft recommends that you use a system restore point. For more
information, see The system registry is no longer backed up to the RegBack folder
starting in Windows 10 version 1803.
Kernel Phase
If the system gets stuck during the kernel phase, you experience multiple symptoms or receive
multiple error messages. These error messages include, but aren't limited to, the following
examples:
A Stop error appears after the splash screen (Windows Logo screen).
The screen is stuck at the "spinning wheel" (rolling dots) "system busy" icon.
To troubleshoot these problems, try the following recovery boot options one at a time.
https://docs.microsoft.com/en-us/windows/client-management/advanced-troubleshooting-boot-problems 4/13
6/29/22, 2:54 PM Advanced troubleshooting for Windows boot problems - Windows Client Management | Microsoft Docs
Go to the Start menu, select Administrative Tools, and then select Event Viewer.
2. In the console tree, expand Event Viewer, and then select the log that you want to view.
For example, choose System log or Application log.
3. In the details pane, open the event that you want to view.
4. On the Edit menu, select Copy. Open a new document in the program in which you want
to paste the event. For example, Microsoft Word. Then select Paste.
5. Use the up arrow or down arrow key to view the description of the previous or next
event.
Clean boot
To troubleshoot problems that affect services, do a clean boot by using System Configuration
( msconfig ). Select Selective startup to test the services one at a time to determine which one
is causing the problem. If you can't find the cause, try including system services. However, in
most cases, the problematic service is third-party.
Disable any service that you find to be faulty, and try to start the computer again by selecting
Normal startup.
If the computer starts in Disable Driver Signature mode, start the computer in Disable Driver
Signature Enforcement mode, and then follow the steps that are documented in the following
article to determine which drivers or files require driver signature enforcement:
Troubleshooting boot problem caused by missing driver signature (x64)
https://docs.microsoft.com/en-us/windows/client-management/advanced-troubleshooting-boot-problems 5/13
6/29/22, 2:54 PM Advanced troubleshooting for Windows boot problems - Windows Client Management | Microsoft Docs
7 Note
If the computer is a domain controller, try Directory Services Restore mode (DSRM).
Examples
2 Warning
Serious problems might occur if you modify the registry incorrectly by using Registry
Editor or by using another method. These problems might require that you reinstall the
operating system. Microsoft can't guarantee that these problems can be solved. Modify
the registry at your own risk.
To troubleshoot this Stop error, follow these steps to filter the drivers:
4. Under the following registry subkey, check for lower filter and upper filter items for non-
Microsoft drivers:
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class
5. For each third-party driver that you locate, select the upper or lower filter, and then
delete the value data.
6. Search through the whole registry for similar items. Process as appropriate, and then
unload the registry hive.
For more troubleshooting steps, see Advanced troubleshooting for Stop error 7B or
Inaccessible Boot Device
https://docs.microsoft.com/en-us/windows/client-management/advanced-troubleshooting-boot-problems 6/13
6/29/22, 2:54 PM Advanced troubleshooting for Windows boot problems - Windows Client Management | Microsoft Docs
Inaccessible_Boot_Device.
To fix problems that occur after you install Windows updates, check for pending updates by
using these steps:
command = Copy
3. If there are any pending updates, uninstall them by running the following commands:
command = Copy
1. Open a command prompt window in WinRE, and start a text editor, such as Notepad.
4. Open the registry, and then load the component hive in HKEY_LOCAL_MACHINE as test.
5. Highlight the loaded test hive, and then search for the pendingxmlidentifier value.
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\TrustedInstaller
11 U l d h hi
https://docs.microsoft.com/en-us/windows/client-management/advanced-troubleshooting-boot-problems 7/13
6/29/22, 2:54 PM Advanced troubleshooting for Windows boot problems - Windows Client Management | Microsoft Docs
11. Unload the hive.
If the Stop error occurs late in the startup process, or if the Stop error is still being generated,
you can capture a memory dump. A good memory dump can help determine the root cause
of the Stop error. For more information, see Generate a kernel or complete crash dump.
For more information about page file problems in Windows 10 or Windows Server 2016, see
Introduction to page files.
For more information about Stop errors, see Advanced troubleshooting for Stop error or blue
screen error issue.
Sometimes the dump file shows an error that's related to a driver. For example,
windows\system32\drivers\stcvsm.sys is missing or corrupted. In this instance, follow these
guidelines:
Check the functionality that's provided by the driver. If the driver is a third-party boot
driver, make sure that you understand what it does.
If the driver isn't important and has no dependencies, load the system hive, and then
disable the driver.
If the stop error indicates system file corruption, run the system file checker in offline
mode.
To do this action, open WinRE, open a command prompt, and then run the following
command:
command = Copy
For more information, see Using system file checker (SFC) to fix issues.
command = Copy
chkdsk /f /r
If the Stop error indicates general registry corruption, or if you believe that new drivers
or services were installed, follow these steps:
https://docs.microsoft.com/en-us/windows/client-management/advanced-troubleshooting-boot-problems 8/13
6/29/22, 2:54 PM Advanced troubleshooting for Windows boot problems - Windows Client Management | Microsoft Docs
7 Note
Starting in Windows 10, version 1803, Windows no longer automatically backs up the
system registry to the RegBack folder.This change is by design, and is intended to help
reduce the overall disk footprint size of Windows. To recover a system with a corrupt
registry hive, Microsoft recommends that you use a system restore point. For more
information, see The system registry is no longer backed up to the RegBack folder
starting in Windows 10 version 1803.
Recommended content
Change a Master Boot Record (MBR) into a GUID partition table (GPT) disk
Describes how to change a Master boot record (MBR) into a GUID partition table (GPT) disk
Change a GUID Partition Table (GPT) disk into a Master Boot Record (MBR) disk
Describes how to change a GUID Partition Table (GPT) disk to an Master Boot Record (MBR)
partition style disk.
https://docs.microsoft.com/en-us/windows/client-management/advanced-troubleshooting-boot-problems 9/13
6/29/22, 2:54 PM Advanced troubleshooting for Windows boot problems - Windows Client Management | Microsoft Docs
Computer doesn't start after you change active partition - Windows Server
Provides a solution to an issue where the computer doesn't start after you mark your primary
partition as active.
Show more S
https://docs.microsoft.com/en-us/windows/client-management/advanced-troubleshooting-boot-problems 10/13
6/29/22, 2:54 PM Advanced troubleshooting for Windows boot problems - Windows Client Management | Microsoft Docs
https://docs.microsoft.com/en-us/windows/client-management/advanced-troubleshooting-boot-problems 11/13
6/29/22, 2:54 PM Advanced troubleshooting for Windows boot problems - Windows Client Management | Microsoft Docs
https://docs.microsoft.com/en-us/windows/client-management/advanced-troubleshooting-boot-problems 12/13
6/29/22, 2:54 PM Advanced troubleshooting for Windows boot problems - Windows Client Management | Microsoft Docs
https://docs.microsoft.com/en-us/windows/client-management/advanced-troubleshooting-boot-problems 13/13