Sysinternals Homepage
Forum Home Forum Home > Sysinternals Utilities > Disk2vhd
  New Posts New Posts RSS Feed - How I fixed my 0x0000007B problem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How I fixed my 0x0000007B problem

 Post Reply Post Reply Page  <12
Author
Message
jokejong View Drop Down
Newbie
Newbie
Avatar

Joined: 03 February 2013
Location: Singapore
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote jokejong Quote  Post ReplyReply Direct Link To This Post Posted: 04 February 2017 at 4:37pm
I virtualized my Windows Server 2003r2 x64 from an IBM Blade Server infrastructure... and I encountered the BSOD 7b as per the post.

I followed the steps outlined by chat_to_rich that he took from
https://blogs.technet.microsoft.com/michs/2011/09/16/p2v-migration-issues-with-hyper-v-stop-0x0000007b/

I also had to figure out mounting the VHD registry on my Server 2012r2 host server, so i followed this:
http://windowsitpro.com/virtualization/q-how-can-i-make-registry-changes-offline-virtual-hard-disk-vhd-windows-7-or-windows-


so in summary, I did the following:
  1. shutdown the VM
  2. mount the VHD or VHDX file on the host server
  3. identify the name of the drive, in the examples below, it's "e" for the OS partition
  4. run command prompt in administrator mode
  5. load the registry hive of the VM on the Host server so that you can manipulate
  6. add the registry entries
  7. dismount the registry hive of the VM on the Host
  8. copy the pciide.sy_ and rename to pciide.sys
  9. unmount the VHD file from computer management -> disk management

The command to load the registry hive onto the host server - assuming that E:\ is the Virtual Server mounted disk OS partition
reg load HKLM\VHDSYS e:\windows\system32\config\system
(note that i am mounting the VHD registry hive with the name "VHDSYS")

this is to load the Registry hive... then I can make the necessary changes. For me the issue was:
1) need to put in pciide.sys (which i took from a Windows Server 2003r2 installation disc in i386 folder
2) need to rename the original file of pciide.sy_ to .sys, then keep it in C:\windows\system32\drivers folder.
3) then proceed with adding the registry entries for the following:

pciide.reg

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\VHDSYS\ControlSet001\Services\PCIIde]
"ErrorControl"=dword:00000001
"Group"="System Bus Extender"
"Start"=dword:00000000
"Tag"=dword:00000003
"Type"=dword:00000001
"ImagePath"=hex(2):73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,44,00,\
52,00,49,00,56,00,45,00,52,00,53,00,5c,00,70,00,63,00,69,00,69,00,64,00,65,\
00,2e,00,73,00,79,00,73,00,00,00
"DisplayName"="Standard IDE/ESDI Hard Disk Controller"

and -

pci#ven_8086&dev_7110&cc_0601

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\VHDSYS\ControlSet001\Control\CriticalDeviceDatabase\pci#ven_8086&dev_7110&cc_0601]
"ClassGUID"="{4D36E97D-E325-11CE-BFC1-08002BE10318}"
"Service"="isapnp"

primary_ide_channel

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\VHDSYS\ControlSet001\Control\CriticalDeviceDatabase\primary_ide_channel]
"Service"="atapi"
"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}"

secondary_ide_channel

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\VHDSYS\ControlSet001\Control\CriticalDeviceDatabase\secondary_ide_channel]
"Service"="atapi"
"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}"

for the registry entries above, note that I have changed the word "SYSTEM" to "VHDSYS" as per my mount name.

after i am done, i proceed with unmounting the VHD file with this command on the admin elevated command prompt.

reg unload HKLM\VHDSYS



Edited by jokejong - 04 February 2017 at 4:41pm
Back to Top
 Post Reply Post Reply Page  <12
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.06
Copyright ©2001-2016 Web Wiz Ltd.