question

Craiger-4549 avatar image
0 Votes"
Craiger-4549 asked JiaYou-MSFT commented

Windows Server 2012 R2 essentials: WIN 10 BMR fails, ERROR: FormatPartitionEx failed, error 0x80042405

I'm trying to perform a full Windows 10 client restore from a backup on Windows Server 2012 R2 Essentials. I believe it's basically the same scenario described in TechNet article,

Client BMR failed for UEFI machine in advanced mode
https://social.technet.microsoft.com/wiki/contents/articles/16125.client-bmr-failed-for-uefi-machine-in-advanced-mode.aspx

I get the same error whether I choose: "Let the wizard fully restore the computer (recommended)" or "I will select the volumes to restore (advanced)".

The log file says:

  • Restoring ESP

  • existing offset...

  • ...
    . Found existing volume

  • existing offset...
    . ...

  • FormatPartitionEsp called for disk \\?\PhysicalDrive0

  • Formatting ESP partition at offset 0x1c300200

  • ERROR: FormatPartitionEx failed, error 0x80042405

  • ERROR: FormatPartitionEsp failed, error 0x80042405

  • RestoreHelper::T_Restore: failed to restore ESP, error 0x80042405

  • RestoreHelper::T_Restore: restore complete with return value 536870914

According to the backup I have 3 partitions to restore; WINRETOOLS (451MB), OS (475050MB) and Volume 3 (810MB).

I've followed the steps in the TechNet article but I believe I have one thing different. When I calculate 0x1c300200/1024/1024-1, I don't get a whole number, but instead get 450.00048828125. The example got 300 even. Maybe that is my problem? I don't know how to setup a partition or offset with a fractional number. I've tried the following with no success:

 Diskpart 
 Select disk 0 
 Clean 
 Convert gpt 
 Create partition primary size=450 or 451 (doesn't matter, same error) assuming WINRETOOLS goes here.
 Create partition efi size=500 or 501
 Create partition msr size=128 
 Create partition primary size=47505 assuming OS goes here.
 Create partition primary size=810 assuming Volume 3 goes here.

I have a 500GB SSD drive. Any help and ideas are greatly appreciated!


windows-server-essentials
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

JiaYou-MSFT avatar image
0 Votes"
JiaYou-MSFT answered JiaYou-MSFT edited

HI

1.Did you backup original win10 OS with BIOS partition table to server essential 2012r2 or Did you backup original win10 OS with UEFI partition table to server essential 2012r2?
2.I find one IT friend do it successfully, please check it.
BMR Fails when writing EFI partition to larger replacement drive.
https://social.technet.microsoft.com/Forums/en-US/00056df8-194d-41dd-b67e-e89d7eff28e7/bmr-fails-when-writing-efi-partition-to-larger-replacement-drive?forum=ws16essentials

============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Craiger-4549 avatar image
0 Votes"
Craiger-4549 answered JiaYou-MSFT commented
  1. My PC probably started out as BIOS but I believe some firmware upgrade or something converted it to UEFI/secure years ago. My backup is just a couple weeks old so I assume it has UEFI partition backed up?

  2. I'm not sure I follow all the steps I need to perform in this article. A clean WIN 10 install (i don't have product key), then a WSE restore that fails, then a BCDBOOT? It doesn't look like bootrec applies to WIN 10 systems. And then it should all work??

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

HI

As you see that IT friend do successfully to restore system to his windows 10 computer. I think we can try that.

0 Votes 0 ·