Windows OS Hub
  • Windows Server
    • Windows Server 2016
    • Windows Server 2012 R2
    • Windows Server 2012
    • Windows Server 2008 R2
    • SCCM
  • Active Directory
    • Group Policies
  • Windows Clients
    • Windows 10
    • Windows 8
    • Windows 7
    • MS Office
    • Outlook
  • Virtualization
    • VMWare
    • Hyper-V
  • PowerShell
  • Exchange
  • Home
  • About

Windows OS Hub

  • Windows Server
    • Windows Server 2016
    • Windows Server 2012 R2
    • Windows Server 2012
    • Windows Server 2008 R2
    • SCCM
  • Active Directory
    • Group Policies
  • Windows Clients
    • Windows 10
    • Windows 8
    • Windows 7
    • MS Office
    • Outlook
  • Virtualization
    • VMWare
    • Hyper-V
  • PowerShell
  • Exchange

 Windows OS Hub / Windows Server 2008 R2 / Fix: BSOD Error 0x0000007B on Boot on Windows 7 and Server 2008 R2

February 7, 2019 Windows 7Windows Server 2008 R2

Fix: BSOD Error 0x0000007B on Boot on Windows 7 and Server 2008 R2

When you replace computer or server hardware (motherboard, drive controller, etc.), restore a system image from a backup or migrate a physical host into the virtualization environment (P2V), the BSOD with error 0x0000007B can appear at the first time you boot Windows Server 2008 R2 or Windows 7.

STOP: 0x0000007B (0xFFFFF880009A9928, 0xFFFFFFFFC0000034, 0x0000000000000000, 0x0000000000000000).

This stop code corresponds to the INACCESSABLE_BOOT_DEVICE error and is related to the difference of the hard disk controller of a new server (a computer or a virtual machine) from the original equipment. When booting, the driver necessary to boot from the new controller is not loaded. Windows cannot be started due to it.

An administrator may encounter the error 0x0000007B in the following cases:

  1. When restoring an OS from a backup to another physical computer or a Hyper-V  / VMware / VirtualBox virtual machine (the recovery from Bare Metal Recovery to another hardware, as an individual case);
  2. When migrating a physical system using a computer image (created for example using disk2vhd) and deploying a new virtual machine from this image;
  3. After switching the SATA controller mode in BIOS from AHCI to IDE or vice versa;
  4. When replacing a motherboard and/or a hard drive controller.

In my case, the problem appeared when migrating a physical server running Windows Server 2008 R2 into VMWare environment. The blue screen appeared at the first startup of the VM.

Windows Fail to Boot with 0x0000007B BSOD after p2v into vmware

In the debug mode you can see that Windows boot stops at the stage of loading the CLASSPNP.SYS driver.

Windows boot stops on CLASSPNP.SYS loading

To fix the error 0x0000007B, you need to boot from any Windows installation media (with Windows 7 / 2008 R2 or higher) or a boot disk (for example, DART). If you use the Windows installation disk, press Shift+F10 on the first installation screen (then you selecting a language and keyboard layout). The command prompt window appears, where you must execute the command:

Regedit.exe

In the Registry Editor window, go to the registry hive HKEY_LOCAL_MACHINE and select File -> Load Hive. On the local server drive (don’t confuse it with the WinPE disk), select the file \Windows\System32\config\SYSTEM. This file stores the system part of the registry your local Windows copy.

Thus, you will mount (for example, under the name local_hkey) the registry hive of your system from the hard drive to the registry editor.

regedit load local hive \Windows\System32\config\SYSTEM

In the loaded hive, go to registry key HKEY_LOCAL_MACHINE\local_hkey\ControlSet001\services\.

Find these registry keys:

  • Atapi;
  • Intelide;
  • LSI_SAS.

Find REG_DWORD parameters with the name Start in each of these keys and change their values to 0 (0x00000000).

If you had switched your SATA controller mode to AHCI before this error appeared, you should also set Start = 0 in the msahci section.

Note. The Start=0 value means that the service will start at Windows startup. Start=3 means that the service will be started manually.

service Intelide start mode 1

To save the changes in the local registry file on the disk, go to the registry key HKEY_LOCAL_MACHINE\local_hkey and select Unload Hive in the menu.

Unload local registry Hive

Now you can restart your server. Windows should boot normally. It will search and install drivers for your new drive controller.

In case of VMWare, you will just have to install VMWare Tools.

If after these changes your Windows still returns the same error INACCESSABLE_BOOT_DEVICE when booting, it means you are using some other type of the disk controller. Try to change the value of the Start parameter in HKEY_LOCAL_MACHINE\local_hkey\ControlSet001\services according to the table below.

Windows Service NameVMWare Virtual MachinePhysical PC Running Windows x64 with Native SATA AdapterPhysical PC with RAID Controller
aliide333
amdide333
atapi000
cmdide333
iastorv333
intelide033
msahci300
pciide303
viaide333
LSI_SAS033

0 comment
0
Facebook Twitter Google + Pinterest
previous post
How to Disable Automatic Driver Updates in Windows 10?
next post
Fix: Clock Reverts to Wrong Time After Computer (Server) Reboot

Related Reading

WSUS Windows Update Error 0x80244010: Exceeded max server...

January 31, 2019

Why are MSU Windows Updates so Slow to...

December 3, 2018

How to Create UEFI Bootable USB Drive to...

November 14, 2018

Windows Won’t Boot/Start After Installing Updates

October 3, 2018

Fixing High CPU Usage and Memory Leak Issue...

August 2, 2018

Leave a Comment Cancel Reply

Categories

  • Active Directory
  • Group Policies
  • Exchange
  • Windows 10
  • Windows 8
  • Windows 7
  • Windows Server 2016
  • Windows Server 2012 R2
  • Windows Server 2008 R2
  • PowerShell
  • VMWare
  • MS Office

Recent Posts

  • ESXi: Slow Disk Performance on HPE Gen8

    February 15, 2019
  • Integrating Windows Updates into Windows 10 Install Image

    February 12, 2019
  • Copying Large Files over an Unreliable Network Using BITS and PowerShell

    February 11, 2019
  • Fix: Clock Reverts to Wrong Time After Computer (Server) Reboot

    February 8, 2019
  • Fix: BSOD Error 0x0000007B on Boot on Windows 7 and Server 2008 R2

    February 7, 2019
  • How to Disable Automatic Driver Updates in Windows 10?

    February 6, 2019
  • WSUS Windows Update Error 0x80244010: Exceeded max server round trips

    January 31, 2019
  • Configuring SSO (Single Sign-On) Authentication on Windows Server RDS

    January 29, 2019
  • Unable to Start or Connect to Virtual Disk Service in Disk Management

    January 28, 2019
  • How to Inject Drivers into a Windows 10 WIM/ISO Install Image?

    January 15, 2019
woshub.com

Follow us

  • Facebook
  • Twitter
  • RSS
Popular Posts
  • Booting Windows 7 / 10 from GPT Disk on BIOS (non-UEFI) systems
  • Removable USB Flash Drive as Local HDD in Windows 10 / 7
  • How to Restore Deleted EFI Boot Partition in Windows 10/7
  • How to increase KMS current count (count is insufficient)
  • Port Forwarding in Windows
  • How to Sign an Unsigned Driver for x64 Windows 10, 8.1 or 7 with a Self-signed Certificate
  • How to Create UEFI Bootable USB Drive to Install Windows 7
Footer Logo

@2014 - 2018 - Windows OS Hub. All about operating systems for sysadmins


Back To Top