Sei sulla pagina 1di 6

Mark Minasi's Reader Forum - Error 0xc000000e Restor...

http://www.minasi.com/forum/topic.asp?TOPIC_ID=38743

Mark Minasi's Reader Forum


Home | Profile | Register | Active Topics | Active Polls | Members | Search | FAQ | Minasi Forum RSS Feed Username: Password:

Save Password Forgot your Password?

All Forums HALP! Questions on Windows and Windows Server Deployment: Windows and apps Error 0xc000000e Restoring Windows 7 w/ ImageX Author chad_work2001
Seasoned But Casual Onlooker

New Topic Reply to Topic Printer Friendly

Topic
Posted - 01/24/2012 : 2:48:59 PM

USA 33 Posts Status: offline

Problem: A system with a standard installation of Windows 7 is backed up using ImageX, and when the image is restored, the system won't boot, resulting in this error: Error: Missing or corrupt winload.exe (0xc000000e) or Status: 0x000000e Info: Windows failed to start, the boot selection failed because a required device is inaccessible. Pasted from <https://social.technet.microsoft.com/forums/en-US/itprovistadeployment/thread /b26a0560-b3a1-4236-b0de-35065ac38575/> Background: Unlike when restoring Windows XP images captured with ImageX, where this problem does not occur and this process was simple, boot configuration data components have been modified starting with Windows Vista and Server 2008, resulting in this problem in Windows 7. Why was there a change to BCD from Boot.ini? BCD was created to provide an improved mechanism for describing boot configuration data. With the development of new firmware models (for example, the Extensible Firmware Interface (EFI)), an extensible and interoperable interface was required to abstract the underlying firmware. This new design provides the foundation for a variety of new features in Windows Vista (for example, the Startup Repair tool and Multi-User Install shortcuts). Pasted from <http://technet.microsoft.com/en-us/library /cc721886(WS.10).aspx#BKMK_bcdedit> Error Effect: BCD store configuration pointers (for the Windows Boot Manager and the Windows Boot Loader) to the volume C: partition where Windows is located are shifted to unknown when Windows 7 image is re-applied. Error Cause: Unknown to me at this time. I read on the Internet that this problem doesn't happen when one uses ImageX to backup a Windows 7 system that has had Sysprep.exe /generalize run on it. I verified that this is correct. In that case, one can simply recreate the partitions/volumes and apply the image back down and Windows 7 boots, and the process works just like applying an XP image does - simply and with no problems. When one is using ImageX to backup one's in-use Windows 7 Computer, one will have to follow the procedure below to restore the BCD store entries that reference the pointers to avoid this problem. (Of course, one could avoid all of these problems if one used Windows 7 Backup and selected the option to create a system image. Windows 7 backup has no problem with restoring an image it captures.) Solution: Use bcdedit.exe to restore the BCD partition volume pointers. Procedure Background: When Windows is running, the WinRE partition (in a default

1 of 6

02/14/2013 09:32 PM

Mark Minasi's Reader Forum - Error 0xc000000e Restor...

http://www.minasi.com/forum/topic.asp?TOPIC_ID=38743

installation - has a label of System Reserved) has no volume drive letter and the OS partition where Windows is located has the volume drive letter of C: (the first available drive letter). When the system is booted into WinPE, temporary volume drive letter assignments are made. The WinRE partition has the first available volume drive letter of C: assigned to it and the OS partition where Windows is located has the next available volume drive letter of D: assigned to it. When Windows is running, the Windows Boot Loader ID will be {current}. This can be seen by typing the bcdedit.exe /enum command, or just bcdedit.exe. When Windows is not running and the computer is booted into WinPE, the Windows Boot Loader ID will be {default}. BCD store values, from the perspective within a running Windows 7 system, before the backup with ImageX begins: Windows Boot Manager -------------------identifier {bootmgr} device partition=\Device\HarddiskVolume1 description Windows Boot Manager locale en-US inherit {globalsettings} default {default} resumeobject {12345678-4536-11e1-8e6b-bdeea22cecba} displayorder {default} toolsdisplayorder {memdiag} timeout 30 Windows Boot Loader ------------------identifier {current} device partition=C: path \Windows\system32\winload.exe description Windows 7 locale en-US inherit {bootloadersettings} recoverysequence {12345678-4536-11e1-8e6b-bdeea22cecba} recoveryenabled Yes osdevice partition=C: systemroot \Windows resumeobject {12345678-4536-11e1-8e6b-bdeea22cecba} nx OptIn BCD store values, from the perspective within WinPE, before the image is captured. Notice the difference with the Windows Boot Loader identifier - the partition name within Windows is C: but within WinPE it is D: Windows Boot Manager -------------------identifier {bootmgr} device partition=C: description Windows Boot Manager locale en-US inherit {globalsettings} default {default} resumeobject {12345678-4536-11e1-8e6b-bdeea22cecba} displayorder {default} toolsdisplayorder {memdiag} timeout 30 Windows Boot Loader ------------------identifier {default}

2 of 6

02/14/2013 09:32 PM

Mark Minasi's Reader Forum - Error 0xc000000e Restor...

http://www.minasi.com/forum/topic.asp?TOPIC_ID=38743

device partition=D: path \Windows\system32\winload.exe description Windows 7 locale en-US inherit {bootloadersettings} recoverysequence {12345678-4536-11e1-8e6b-bdeea22cecba} recoveryenabled Yes osdevice partition=D: systemroot \Windows resumeobject {12345678-4536-11e1-8e6b-bdeea22cecba} nx OptIn Procedure: Using a bootable WinPE USB drive, for example, boot into WinPE & Backup the BCD store: 1. At the WinPE command prompt, type: BCDedit /export E:\bcd.cfg, where E is the drive letter of the USB drive you booted from. It's also a good idea, since bcd.cfg is not a text-based file, to type: BCDedit > x:\bcd.txt so that one can refer to it later. Backup Windows 7 with ImageX 2. Use ImageX to backup the WinRE system partition and the Windows C: partition: a. ImageX /check /verify /compress maximum /capture C: x:\T410Win7PROx64.wim "WinRE" "Captured by chad k 01-21-2012" b. ImageX /check /verify /compress maximum /append D: x:\T410Win7PROx64.wim "OS" "captured by chad k 01-21-2012" (Keep in mind that when windows is running the WinRE partition has no volume drive letter, but is assigned C: in the WinPE environment, and that the OS partition volume is assigned to D: in the WinPE environment. When Windows boots, there is no volume drive letter assigned to the WinRE partition and C: is assigned to the Windows partition volume.) 3. Clean the Disk & recreate the partitions before restoring Windows: Diskpart Select disk 0 Clean Create partition primary size=100 Select partition 1 Active Format fs=ntfs quick label=WinRE Assign letter = C Create partition primary Select partition 2 Format fs=ntfs quick label=OS Assign letter = D Exit 4. Use ImageX to restore windows: a. ImageX /check /verify /apply x:\T410Win7PROx64.wim 1 C: b. ImageX /check /verify /apply x:\T410Win7PROx64.wim 2 D: c. After the images are re-applied to the disk, type bcdedit.exe to see the status of the BCD store. Notice that now the device and osdevice entries are listed as unknown: BCD store values, from the perspective within WinPE, after the Windows 7 image is re-applied to the system, and before the solution is applied: Windows Boot Manager

3 of 6

02/14/2013 09:32 PM

Mark Minasi's Reader Forum - Error 0xc000000e Restor...

http://www.minasi.com/forum/topic.asp?TOPIC_ID=38743

-------------------identifier {bootmgr} device unknown description Windows Boot Manager locale en-US inherit {globalsettings} default {default} resumeobject {12345678-4536-11e1-8e6b-bdeea22cecba} displayorder {default} toolsdisplayorder {memdiag} timeout 30 Windows Boot Loader ------------------identifier {default} device unknown path \Windows\system32\winload.exe description Windows 7 locale en-US inherit {bootloadersettings} recoverysequence {12345678-4536-11e1-8e6b-bdeea22cecba} recoveryenabled Yes osdevice unknown systemroot \Windows resumeobject {12345678-4536-11e1-8e6b-bdeea22cecba} nx OptIn 5. Restore BCD partition volume pointers a. bcdedit /set {default} device partition=D: b. bcdedit /set {default} osdevice partition=D: c. bcdedit /set {bootmgr} device partition=C: Pasted from <https://social.technet.microsoft.com/forums/en-US/itprovistadeployment/thread /b26a0560-b3a1-4236-b0de-35065ac38575/> Restored BCD store values, from the perspective within WinPE, after the image is re-applied to the system, and after the solution is implemented: Windows Boot Manager -------------------identifier {bootmgr} device partition=C: description Windows Boot Manager locale en-US inherit {globalsettings} default {default} resumeobject {12345678-4536-11e1-8e6b-bdeea22cecba} displayorder {default} toolsdisplayorder {memdiag} timeout 30 Windows Boot Loader ------------------identifier {default} device partition=D: path \Windows\system32\winload.exe description Windows 7 locale en-US inherit {bootloadersettings} recoverysequence {12345678-4536-11e1-8e6b-bdeea22cecba} recoveryenabled Yes osdevice partition=D: systemroot \Windows

4 of 6

02/14/2013 09:32 PM

Mark Minasi's Reader Forum - Error 0xc000000e Restor...

http://www.minasi.com/forum/topic.asp?TOPIC_ID=38743

resumeobject {12345678-4536-11e1-8e6b-bdeea22cecba} nx OptIn The important thing to remember here is that the Boot Manager is on the WinRE partition ((100MEG) which has no volume name and is referred to as partition=\Device \HarddiskVolume1 when within Windows, but C: when in WinPE) and the Windows Boot Loader is on the OS partition (which is C: within Windows and D: within WinPE). Windows 7 should now boot properly. 7-16-2012 Corrected the partition drive letters I had incorrect in original posting. (I had both as C:, when the Boot Manager should be C: and the Boot Loader should be D: when within WinPE.)
Edited by - chad_work2001 on 07/16/2012 5:33:28 PM

Rastor728
Old Timer

Posted - 01/25/2012 : 10:20:22 AM

Is the SATA Mode in the BIOS AHCI or IDE?


USA 713 Posts Status: offline

Also, if it is AHCI then the registry has to have the driver activated in order device to be accessible. I usually have this problem on newer computers with the BIOS set to AHCI and I am attempting to install Windows XP. I then have to change the mode to IDE. But the reverse, or similar issue may be related to your difficulty.

What would Clark Kent do to someone who stole his identity? arwidmark
Old Timer

Posted - 01/25/2012 : 10:32:00 AM

Sweden 530 Posts Status: offline

Imagex is not supported as a backup utility, it'n only used for data backup, and to deploy OS images. / Johan

Regards Johan Arwidmark Microsoft MVP - Setup / Deployment http://www.deploymentresearch.com http://www.facebook.com/DeploymentResearch Twitter: @jarwidmark chad_work2001
Seasoned But Casual Onlooker

Posted - 01/25/2012 : 12:49:12 PM

Good distinction and caveat Johan. Thanks.


USA 33 Posts Status: offline

5 of 6

02/14/2013 09:32 PM

Mark Minasi's Reader Forum - Error 0xc000000e Restor...

http://www.minasi.com/forum/topic.asp?TOPIC_ID=38743

chad_work2001
Seasoned But Casual Onlooker

Posted - 07/16/2012 : 5:47:15 PM

USA 33 Posts Status: offline

Rastor728, in this particular case, the SATA Device Mode was AHCI, but I don't think that matters. My understanding is that the Boot Configuration Data is separate from the mass storage driver and the SATA mode. I think you're thinking of the 0x0000007B stop error one gets if the mass storage drivers are not loaded. I haven't tried it but I would guess that the part of my procedure where I have to restore the BCD settings would occur whether my SATA Device Mode was IDE or AHCI. I know one thing for certain, if the image of Windows is syspreped before capturing, then that BCD restoration procedure is unnecessary, as I pointed out in my post. That's probably why Johan pointed out Imagex isn't for Windows Backup. I should have written "image" instead of "backup" in my posts. Topic

New Topic Reply to Topic Printer Friendly


Mark Minasi's Reader Forum This page was generated in 0.16 seconds.

Jump To: Select Forum


2002-2011 Mark Minasi Snitz Forums 2000

6 of 6

02/14/2013 09:32 PM

Potrebbero piacerti anche