Windows Server Backup - 0x80042407, seriously?
I installed server 2008 on a test server with 4x250GB drives in a RAID5 array.
Windows was installed on a 60GB partition, the rest of the array was left as free space.
After installing updates and drivers, I decided that I wanted a RAID10 array.
This would give me a chance to test the restore functionality of Windows Server Backup.

I did a full backup with Windows Server Backup to a network location.
After reconfiguring the RAID array I started the recovery process.

Here is the issue. right when the restore should start, I get an error....

The Windows Complete PC Restore operation failed.
Error details: The disk that is set as active in BIOS is too small to recover the original system disk. Replace the disk with a larger one and retry the restore operation. (0x80042407)

I've tried creating partitions of all sizes and leaving the disk blank, same error.
I even set the disk as the first boot device in BIOS.

I've read elsewhere that the disk must be the same size or larger. That just seems like a bad April fools joke to me.
Can anyone give me some insight on this issue?
June 2nd, 2009 4:31pm

Hello Jason,

Thank you for posting here.

What you have thought hit the point.

To recover the operating system or a full server, we should first do the following:

If you want to recover to a new hard disk, please make sure the disk is at least as big as the disk that contained the volumes that were backed up, regardless of the size of those volumes. For example, if there is only one volume that was 100 GB on a 1 TB disk during backup, we should use a disk that is at least 1 TB when perform the restoring.

If you are recovering just the operating system, please make sure that you have a backup available that contains at least the critical volumes of the server. If you are recovering the full server, make sure that you have a backup available that contains all volumes of the server. To perform a bare metal recovery, make sure you have a backup enabled for bare metal recovery (or full server recovery).

Please follow the instructions of the document to restore the backup to a proper sized target disk array.

Recover the Operating System or Full Server

http://technet.microsoft.com/en-us/library/cc755163.aspx

Hope the information can be helpful.

Free Windows Admin Tool Kit Click here and download it now
June 3rd, 2009 6:56am

Well, the last word of my thread title gives a very accurate representation of how i feel about this.

Thank you for your reply, that's what I was afraid of.

NOW!.... the next question is...

How do i edit my backup so that the restore process will accept the smaller disk size. (I'm sure it's possible)

Is this issue slated to be fixed in R2?
June 3rd, 2009 1:33pm

Hello Jason,

Thank you for your reply.

For your further concern, this same or bigger disk size requirement is by design for Windows Server 2008 and Windows Vista. As a suggestion, we recommend you use a bigger disk for Bare Metal Restore.

Currently we cannot edit the backup size. However, to fulfill your demand, there is a possible given workaround to restore the backup to smaller disk size.

Workaround: To recover the System manually using Volume recovery

By using this workaround, at minimum the OS critical partitions should be of the same size for the volume recovery.

To recovery the System manually from Windows Recovery Environment (when BMR Complete PC Restore is not working), user has to recover all the partitions individually and then set the BCD boot entries.

Please follow the below mentioned steps:

1) Get the backup version from the backup target.

2) From version, get the size of partitions at the time of backup.

3) Recreate the partitions manually with same or more size.

4) Perform volume recovery of Individual volumes.

5) Set the Active bit for System volume.

6) Fix the Boot entries.

Please replace anything marked under <> with actual values. The yellow marked entries are for sample only. We have to pick the actual values from his system. Also assuming the Boot disk is disk 0 in this case.

Open Command prompt:

1) Do wbadmin get versions backuptarget:<X:>.

a. Select the version id from. E.g. Version identifier: 02/11/2009-09:14

Note: If the backup target is network share, then run start /w wpeinit to enable networking.

2) Do wbadmin get items version:<versioned> -backuptarget:<X:>

a. This will give the list of volumes that were backed up and their sizes.

3) Using Diskpart, recreate your volumes of the same or more size. Assume that the Boot disk is Disk 0 and is empty. Disk 0 is the boot disk and is the first disk in BIOS boot order.
If the required partitions are already present then skip the steps below.

a. Diskpart.exe

b. List disk

c. Select disk 0.

d. Create par primary size=<size>

e. Format fs=ntfs quick label=OS (Format the OS partition with NTFS)

f. Assign letter=D (assign drive letter D: to OS volume)

g. Do the same for all the volumes you want to recover.

h. Detail disk

i. It lists the newly created partitions.

4) To recover the volumes one by one,

a. Do wbadmin get items version:<versionid> -backuptarget:<X:> .

b. Select the volume id or drive letter for OS volume that was backed up.
E.g. C: corresponds to the OS volume at backup time.

c. Wbadmin start recovery version:<versionid> -backuptarget:<x:> -itemType:Volume items:C: -recoverytarget:D:

d. Do the same for all the other volumes. Make sure that minimum space requirement is met.

e. Set the active bit of System volume from Diskpart.

f. Diskpart.exe ->

i. Select volume D:

ii. active

5) Reboot the OS and boot back into WinRE as OS is not yet bootable.

6) Select Startup-Repair option to fix the BCD boot entries.

7) Reboot and OS should be in a bootable state.

8) If OS is still not bootable, use bcdedit.exe/bootrec.exe in WinRE to fix the BCD boot options.

I understand that it will be reasonable to edit the backup so that the bare metal restore process can accept the smaller disk size, our product team are aware of this desired functionality and will definitely keep this in mind as future product development continues.

Thanks for your understandings.

Free Windows Admin Tool Kit Click here and download it now
June 4th, 2009 6:15am

Hello Jason,

I want to see if the information provided was helpful. Please keep us posted on your progress and let us know if you have any additional questions or concerns.

June 8th, 2009 9:18am

Sorry for the late response.

The prodecure you outline worked. The only hitch was that the Server 2008 64bit boot CD does not havea Startup-Repair option. The OS was detected and the partition size in 0MB on (unknow) Local Disk.

I used diskpart to assign the letter C to the windows partition and set it to active.
I then entered the following commands:

cd C:

bootrec.exe /fixmbr

D:\boot\bootsect.exe /nt60 all /force

del C:\boot\bcd

bootrec.exe /rebuildbcd

restart and BOOT!

I then notice an error in the Application log. MSDTC source errros
Ecent ID 4112
Ecent ID 4163
Event ID 4185

I ran the "msdtc -resetlog" command and the service starts now.

Thanks for you all your help.

Free Windows Admin Tool Kit Click here and download it now
June 22nd, 2009 7:18pm

Hello Jason,

Thank you for the feedback, and the solution sharing. Again, thank you for using TechNet fourm.

June 23rd, 2009 6:32am

I had error message close this one. I got the drive set to active in the bios is to small. This was of course wrong it was on a RAID controller but it was of the right size. The solution given here solved the problem just thought i would add to this incase anyone else runs into my problem.

Thanks for the help.
Free Windows Admin Tool Kit Click here and download it now
October 17th, 2009 8:47am

Just recently had to restore a SBS 2008 because of a failed Raid controller. After boot up and selecting the repair and trying to restore from a recent backup I got 
The Windows Complete PC Restore operation failed.
Error details: The disk that is set as active in BIOS is too small to recover the original system disk.  Replace the disk with a larger one and retry the restore operation. (0x80042407)

Tried almost anything even your steps above and never got it to work.
What I found so frustrating is that my drives were the same ones prior to replacing the raid controller with the same raid setup (raid 1) 
Gerhard  
March 3rd, 2010 10:50pm

Gerhard, so far this has been my exact situation. I needed to do 2 things to get the Backup to restore to my RAID array:

1. Restore to a single large drive, shrink the volume using the Disk Management tool, then re-backup the image of the smaller drive.

2. However, I still got the same error. But now following the steps above to do it from the command line worked. I'm at a loss as to why they worked after shrinking the volume but not before, but the GUI didn't work in either case.

I still don't have a working system though. After restoring the boot record manually, as Windows boots now that it's back on the RAID controller, it crashes with a BSOD and reboots, even if I try in Safe Mode.

I assume that somehow I have to get the RAID drivers installed before I backup the system so that they are included in the image of Windows when it is restored, so it can recognize the RAID array and boot to it. That will be my next attempt.

Amazingly frustrating for an "Easy to use bare-metal-restore capability."

The hours continue to rack up on this.

  - Colin
Free Windows Admin Tool Kit Click here and download it now
August 30th, 2010 9:56am

I had this exact same senario at a clients office this week after having 2 drives in the raid fail and the underlying Server 2008 R2 crashed, and discovering that the backup drive the SBS machine was backing up to was also corrupt, thankfully i was able to copy the complete server backup image off of the backup drive before all data on it became unusable. once i rebuilt the Hyper-V host machine and reinstalled the Server 2008 R2 OS, i tried to do a bare metal restore of sbs 2008 virtual machine and it was giving me this error:

 

The Windows Complete PC Restore operation failed.
Error details: The disk that is set as active in BIOS is too small to recover the original system disk.  Replace the disk with a larger one and retry the restore operation. (0x80042407)

 

I was working on this remotely (Thank god for IPMI) So the way i got around this was I set up Windows 7 in a VM on Hyper-V, then installed acronis true image home 2011 on the Win7 VM, created a new VHD and attached it to the Win7 VM, then force the backup drive that contained the backup image offline and attached it to the VM as well. I then used Acronis's built in utility to convert the Winddows backup image to an Acronis tib backup image. Once the conversion was complete, i used Acronis to restore the backup to the VHD.

 

When i tried to boot the SBS VM i got a boot failure saying it couldn't load winload.exe or something like that, so i booted the SBS VM from installation media iso and went in to the recovery console, i immediately noticed the same conditions described above by Jason Palermo, he Wrote:

 

"The OS was detected and the partition size in 0MB on (unknow) Local Disk."

So i followed the steps he outlined in that same post, which were:

"I used diskpart to assign the letter C to the windows partition and set it to active.
I then entered the following commands:

cd C:

bootrec.exe /fixmbr

D:\boot\bootsect.exe /nt60 all /force

del C:\boot\bcd

bootrec.exe /rebuildbcd

restart and BOOT!"

 

It worked like a champ, the only side effect was that there was no virtual network adapter present, i had to reinstall the Hyper-V guest add-ons to restore the virtual netwotk adapter, then had to have device manager show non-present devices to remove the previous virtual network adapter that was now causing a warning that the IP address was already assigned to a network adapter that was currently not present in the machine. using the following commands at cmd prompt:

 

set devmgr_show_nonpresent_devices=1

start devmgmt.msc

 

Once device manager is onen click view>show hidden divices, then expand network adapters and remove the missing adapter.

 

This recovery has been a nightmare, but the seemingly unrecoverable SBS 2008 VM has now been running several hours and all seems well...

September 26th, 2010 6:25am

David,

  Thanks for your post.  I was getting the same error (Error details: The disk that is set as active in BIOS is too small to recover the original system disk.  Replace the disk with a larger one and retry the restore operation.) when trying to do p2v using source win7 install into hyper-V  on  VM target (Hyper-V is running on Windows Server 2008 R2). 

The source system-volume capacity is ~300GB, of which only ~20GB is used.  In my original/failed attempts I (incorrectly) sized the target VM disk for 350GB...thinking it should be plenty big enough.  However, as you mention, the target DISK must be greater than or equal to the source DISK - i.e. ~1TB in this case (NOT the source VOLUME).

Suggestion: Until there is a code fix (which I certainly support/encourage) to allow smaller target disk sizes (than the source)...perhaps it would not be as difficult to better document the problem with an improved error message - ex. say "for a recovery to be successful, the TARGET PHYSICAL DISK SIZE must be greater than or equal to the BACKUP/SOURCE PHYSICAL DISK SIZE.  To restate this another way, regarding this issue, VOLUME SIZE is NOT pertinant.  Nor is VOLUME USAGE."  I expect there are others who have also struggled with this same problem - effort and time which could be minimized significantly with an improved error message.

Free Windows Admin Tool Kit Click here and download it now
January 19th, 2011 2:31am

Well I installed Silverlight Beta5 and uninstalled Silverlight 4 and my machine went fubar (windows 2k8 server). I methodically backup and have to run a special .bat file I found online because Windows Server Backup is atrocious and it was the best I could find.

Now I cannot install SL again, my SQL Express database master table is corrupted, and I cannot uninstall VS 2010 SP 1 because it wa MSI that I am now too shot to go folder/net spehlunkin' for.

I get the dreaded 

0x80042407

error and now my system state restore gives me "The recovery location for a volume restore cannot be a critical volume."

WTF? I want to restore a corrupted critical volume; ain't that what restore is all about. I have read every post and it is like every other msft post. The customers do all the work and the engineers/techs supply links that lead one into the giant dreaded clusteraF*(k.

Aside for VS2010 constantly becoming non-responsive and server restore constantly failing I think everyone in the marketing department should be forced to try and fix a corrupted server or they don't get paid until it is fixed. Then they can see the schizophrenic schism between the "easy, powerful where do you wanna go today" rhetoric and the reality of IE/VS/Silverlight/Server Backup hell.

At this point I moved all my sites from Azure due diligence to Amazon and I'm moving as much code as possible to JQuery/S3/SimpleDB/HTML5 as possible. I'll tell u where I don't wanna go today, "MSFT Support Hell!"

Maybe in 5 more years you'll get it right. But for now I am praying to baby jesus and kool & the gang to get me out of msft/flash/java/IE/silverlight hell. it really is a huge time suck. Where's Nikola Tesla when u need him? 

 

Good luck and good night. 

Cary Abramoff, MCSD.NET (gonna burn my card)

 

 

 

 



 

May 27th, 2011 10:58pm

For the MSFT personnel - both support and development - that support this forum and windows server:

I couldn't agree more with the sentiment in this thread (Though I think more professional tone might be better in some cases).  

 The point of a Bare Metal Restore is to quickly and easily restore data from a backup.  think about it.  This is by definition,  always one of the most stressful moments of an IT professional's career 

In the real world, sometimes you can't have access to the exact hardware you would like to have in order to get something back up and running in a hurry. In 2011, one's ability to move a modern OS and all of its bits from one machine to another to simplify a hardware upgrade - without using a third party product - is a reasonable expectation.   

  • First off, the error itself is nearly useless.  How about a clue as to which disk or partition the thing is choking on?  forcing the admin to go to the command line and dig that up is extremely poor UX.
  • If one has enough space for the backed up data to be written on their new hardware, the backup/restore software has absolutely no business impeding the admin from restoring that data.  You are effectively penalizing the admin for what may have been good capacity planning decisions.  If I planned for 500GB on my server, but then wind up only needing 100, exactly why did MSFT decide to prevent me from restoring my backup to a 200GB disk? This is ludicrous. 
  • I don't dispute whether or not David Shen's workaround will actually get the job done - but the idea that you'd have to manually set partition sizes is ridiculous.  The restore console should be able to perform some calculation on the backup set to determine whether or not the backup footprint will be able to fit on the selected destination.  If it can't, then it's reasonable to expect to restore operation to tell you, and maybe even let you re-allocate the partitions in a way that match up with the backed up data footprint.
  • Most of us would probably settle for the ability to quickly and easily restore *just* the OS partition in many cases from this BMR method, and then restore data partitions in a separate step. That would be a massive step in the right direction - help us get the os back up and running, and we'll deal with the rest once we're in there.  
  • How MSFT has let this slide for over 2 years now is really hard to accept.

 

To summarize, IMHO: There is a major, fundamental disconnect here between what the user (a/k/a the sysadmin) needs - and how the software actually functions.  In this case, what should be a simple operation consists of a series of nearly impossible roadblocks.  it is exactly this type of scenario that puts Microsoft in a very bad light and leads to marketplace erosion.  The Windows Server development team would do well to carefully re-examine the decisions here and fix this.  It's the difference between getting vociferously thanked vs. cursed out and/or replaced by other solutions.

 

Free Windows Admin Tool Kit Click here and download it now
October 22nd, 2011 4:23pm

I have the same error with server 2008 R2. But I need Bare Metal Restore. So I need to use
wbadmin start sysrecovery
but it has no options like -recoverytarget:D: what to do?
April 24th, 2012 6:51am

I just came to this issue while trying to restore a system imagem from a big dead HDD to a smaller backup HDD. If the tool only restores to bigger disks, the it is HALF-USELESS. In fact, I could not get a new image from my system (duh, the disk died suddenly) and all I had was a completely useless system image. 

As this was a desktop, I just installed Windows again. But will not trust in the builtin tools anymore.


Free Windows Admin Tool Kit Click here and download it now
September 30th, 2013 2:24am

Hello Jason,

 

Thank you for your reply.

 

For your further concern, this same or bigger disk size requirement is by design for Windows Server 2008 and Windows Vista. As a suggestion, we recommend you use a bigger disk for Bare Metal Restore.

 

Currently we cannot edit the backup size. However, to fulfill your demand, there is a possible given workaround to restore the backup to smaller disk size.

 

Workaround: To recover the System manually using Volume recovery

 

By using this workaround, at minimum the OS critical partitions should be of the same size for the volume recovery.

 

To recovery the System manually from Windows Recovery Environment (when BMR Complete PC Restore is not working), user has to recover all the partitions individually and then set the BCD boot entries.

 

Please follow the below mentioned steps:

 

1)    Get the backup version from the backup target.

2)    From version, get the size of partitions at the time of backup.

3)    Recreate the partitions manually with same or more size.

4)    Perform volume recovery of Individual volumes.

5)    Set the Active bit for System volume.

6)    Fix the Boot entries.

 

Please replace anything marked under <> with actual values. The yellow marked entries are for sample only. We have to pick the actual values from his system. Also assuming the Boot disk is disk 0 in this case.

 

Open Command prompt:

1)    Do wbadmin get versions backuptarget:<X:>.

a.    Select the version id from. E.g. Version identifier: 02/11/2009-09:14

Note: If the backup target is network share, then run start /w wpeinit to enable networking.

 

2)    Do wbadmin get items version:<versioned> -backuptarget:<X:>

a.    This will give the list of volumes that were backed up and their sizes.

 

3)    Using Diskpart, recreate your volumes of the same or more size. Assume that the Boot disk is Disk 0 and is empty. Disk 0 is the boot disk and is the first disk in BIOS boot order.
If the required partitions are already present then skip the steps below.

a.    Diskpart.exe

b.    List disk

c.    Select disk 0.

d.    Create par primary  size=<size>        

e.    Format fs=ntfs quick label=OS               (Format the OS partition with NTFS)

f.     Assign letter=D                 (assign drive letter D: to OS volume)

g.    Do the same for all the volumes you want to recover.

h.    Detail disk

i.      It lists the newly created partitions.

 

4)    To recover the volumes one by one,

a.    Do wbadmin get items version:<versionid> -backuptarget:<X:> .

b.    Select the volume id or drive letter for OS volume that was backed up.
E.g. C: corresponds to the OS volume at backup time.

c.    Wbadmin start recovery version:<versionid> -backuptarget:<x:> -itemType:Volume items:C:  -recoverytarget:D:

d.    Do the same for all the other volumes. Make sure that minimum space requirement is met.

e.    Set the active bit of System volume from Diskpart.

f.     Diskpart.exe ->

                                          i.    Select volume D:

                                         ii.    active

5)    Reboot the OS and boot back into WinRE as OS is not yet bootable.

6)    Select Startup-Repair option to fix the BCD boot entries.

7)    Reboot and OS should be in a bootable state.

8)    If OS is still not bootable, use bcdedit.exe/bootrec.exe in WinRE to fix the BCD boot options.

 

I understand that it will be reasonable to edit the backup so that the bare metal restore process can accept the smaller disk size, our product team are aware of this desired functionality and will definitely keep this in mind as future product development continues.

 

Thanks for your understandings.

December 28th, 2013 1:05pm

Working with Server 2012 R2 in the year 2014 and found this old thread. And, there is apparently still no relief from using the entire logical volume for the image restore.

I hand edited the <UUID>_Components.xml file in the Backup <TimeStamp> folder. The restriction on the "BIOS too small" comes from parameters calculating the classical heads x sectors x bytes/sector x cylinders. I simply replaced the cylinder count with the number needed to make the resulting DiskSize tag sufficient to hold the restored filesystems. I used an online calculator to confirm the disk size parameters.

All the usual caveats apply here: Back Up Everything!

Tried the Microsoft XML editor and it proved useless. Resorted to notepad to hand edit the XML.

Hope this helps!

Free Windows Admin Tool Kit Click here and download it now
January 29th, 2014 9:03pm

Thank you David. This information helped me immensely! Server is back up and running within an hour after thinking all was lost.

March 14th, 2014 12:09pm

Hi David

Thanks a TON.

My TFS Server's replica went down. The new HDD was of smaller size. Your steps got my replica up and running within a night

Cheers.

Free Windows Admin Tool Kit Click here and download it now
May 30th, 2014 8:38am

Following the directions from David, Jason, and MultiDoug (need to do all three),  I was able to restore my 2012 R2 server.  The BMR feature is so horrible, MS should just turn if off if they can't fix it.  I included some tips for the next poor guy this happens to:

TIP 1:  You have to create another NTFS partition for "system reserved" and assign it a letter.  I put mine on B:

TIP 2:  Syntax for restoring "system reserved" yes...the question mark is supposed to be there.
wbadmin start recovery -version:08/06/2014-09:00 -itemType:Volume -items:\\?\Volume{cc566d14-44a0-11d9-9d93-806e6f6e6963}\ -recoverytarget:B:

TIP 3:  SYSTEM RESERVED should be the ACTIVE partition, not the windows partition.

TIP 4:  Make sure bootrec.exe /rebuildbcd completes properly.


@MultiDoug - I also tried to edit the Components.xml file multiple times with no success.  Can you elaborate on your equation for calculating cylinder count and DiskSize?   Did you have to change both values in the xml?  Which online calculator did you use?
  • Edited by brile Thursday, August 07, 2014 2:11 AM formatting
August 7th, 2014 1:50am

Just for posterity, I figured I should post (sorry for waiting a few years) that this ultimately worked -- I was able to do the partial restore, add the RAID drivers, then repeat and everything worked.
Free Windows Admin Tool Kit Click here and download it now
February 5th, 2015 2:45pm

same issue! by sheiss design! :@

I store more backup on the external disk; and see when restore, the design display only the first folder alphabetically !!

and the latest is the latest of first folder !!

Use browse to select driver when restore; and rename the backup folder with aa before folder name you will restore.

After start restore, and check if computer name is correct.

Work for me.

April 19th, 2015 3:24am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics