Solved The system image restore failed with error 0x80042412, Windows 11


iko22

Well-known member
Power User
VIP
Local time
9:01 PM
Posts
1,130
Location
South West England
OS
Windows 11
Hello, I am using Backup and Restore (Windows 7) to migrate my HDD OS drive to a NVME drive. The old HDD is a 1TB drive with two partitions of approx 500GB and the new drive is 4TB. A 2TB drive is used to store the backed up system image. The old HDD has been disconnected, for the purpose of forcing a system image restore upon boot.

I thought I could just create a system image and then use recovery options to reinstall the image to a new drive - but this does not work.
I am aware that the Backup and Restore service is being depreciated, but I still can access it from control panel - so, it should work?
I am sure this is what I have done in the past, what am I doing wrong now?
-----------------------------

The disks and partitions can be seen in Diskpart:
System image restore 1.png

System image restore 2.png

And the target drive can be seen in the 'exclude disks' section of Restore Options of the Recovery Drive, which is stored on a 16GB USB flash drive:

System image restore 3.png

Whether the 4TB NVME drive is pre-formatted or not, it still produces the same error:

System image restore 4.png

There is nothing else connected to the computer other than keyboard, mouse and monitor.
 
Last edited:

My Computers My Computers

  • At a glance

    Windows 11AMD Ryzen 5 560016 GBSapphire Radeon RX 6500XT (8 GB version)
    OS
    Windows 11
    Computer type
    PC/Desktop
    CPU
    AMD Ryzen 5 5600
    Motherboard
    MSI B550-A Pro
    Memory
    16 GB
    Graphics Card(s)
    Sapphire Radeon RX 6500XT (8 GB version)
    Monitor(s) Displays
    BenQ Mobuiz EX2710Q QHD, Iiyama ProLite X23377HDS
    Hard Drives
    MSI Spatium M461 4TB
  • At a glance

    Windows 11Intel Celeron N4020
    Operating System
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    Acer A114
    CPU
    Intel Celeron N4020
What did you smoke?
1. The old HDD is a 2 TB disk and not a 1 TB disk!
2. disk 0 is a MBR disk
3. What happened to your Boot partition on disk 0
4. 16 GB for a recovery ?
5. The NVME (GPT) has been initialized!
 

My Computer My Computer

At a glance

Windows 10Intel 6700HQ24AMD FirePro 5170M
OS
Windows 10
Computer type
Laptop
Manufacturer/Model
HP ZBook
CPU
Intel 6700HQ
Motherboard
HP
Memory
24
Graphics Card(s)
AMD FirePro 5170M
Hard Drives
Samsung SSD 860 Pro
Keyboard
yes
Mouse
yes
Other Info
19045.3803
some Red Hat workhorses
  • Like
Reactions: OAT
If you clean the target disk using diskpart/initialize to mbr it should go ahead and will be the same partition style as the image.

If you wanted to do the migration using image and restore one way is to convert the source to gpt before making the image. Another way is to restore the image and then convert the restored disk to gpt. If it is just two 500gb primaries it is expected that mbr2gpt.exe will be able do the conversion after restore.
 
Last edited:

My Computers My Computers

  • At a glance

    Win7,Win11i7-97002x16gb 3600mhz
    OS
    Win7,Win11
    Computer type
    PC/Desktop
    CPU
    i7-9700
    Motherboard
    gigabyte b365m ds3h
    Memory
    2x16gb 3600mhz
    Monitor(s) Displays
    benq gw2480
    PSU
    bequiet pure power 11 400CM
    Cooling
    cryorig m9i
  • At a glance

    win7,win11i5-84002x8gb 3200
    Operating System
    win7,win11
    Computer type
    PC/Desktop
    CPU
    i5-8400
    Motherboard
    gigabyte b365m ds3h
    Memory
    2x8gb 3200
    PSU
    xfx pro 450
@iko22


Do not use Backup and Restore (Windows 7), Microsoft is deprecating it.
Even MS recommends using 3rd party backup software.


System Image Backup (SIB) SolutionThis feature is also known as the Backup and Restore (Windows 7) legacy control panel. For full-disk backup solutions, look for a third-party product from another software vendor. You can also use OneDrive to sync data files with Microsoft 365.



With 3rd party backup software, you CAN take an image and restore it to anywhere you want.
I've done this... many times.


I'm not sure this is necessary, but I've always done it this way...
Make sure the Disk you're restoring to, matches the Disk type of the image.
Restore an MBR image to an MBR disk. Restore a GPT image to a GPT disk.
 

My Computers My Computers

  • At a glance

    Win 11 Home ♦♦♦26200.8875 ♦♦♦♦♦♦♦25H2AMD Ryzen 7 3700XG.Skill (F4-3200C14D-16GTZKW)EVGA RTX 2070 (08G-P4-2171-KR)
    OS
    Win 11 Home ♦♦♦26200.8875 ♦♦♦♦♦♦♦25H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Built by Ghot® [May 2020]
    CPU
    AMD Ryzen 7 3700X
    Motherboard
    Asus Pro WS X570-ACE (BIOS 5302)
    Memory
    G.Skill (F4-3200C14D-16GTZKW)
    Graphics Card(s)
    EVGA RTX 2070 (08G-P4-2171-KR)
    Sound Card
    Realtek ALC1220P / ALC S1220A
    Monitor(s) Displays
    Dell U3011 30"
    Screen Resolution
    2560 x 1600
    Hard Drives
    2x Samsung 860 EVO 500GB,
    WD 4TB Black FZBX - SATA III,
    WD 8TB Black FZBX - SATA III,
    DRW-24B1ST CD/DVD Burner
    PSU
    PC Power & Cooling 750W Quad EPS12V
    Case
    Cooler Master ATCS 840 Tower
    Cooling
    CM Hyper 212 EVO (push/pull)
    Keyboard
    Ducky DK9008 Shine II Blue LED
    Mouse
    Logitech Optical M-100
    Internet Speed
    300/300
    Browser
    Firefox (latest)
    Antivirus
    Bitdefender Total Security
    Other Info
    Speakers: Klipsch Pro Media 2.1
  • At a glance

    Windows XP Pro 32bit w/SP3AMD Athlon 64 X2 5000+ (OC'd @ 3.2Ghz)TWIN2X2048-6400C4DHX (2 x 1GB, DDR2 800)EVGA 256-P2-N758-TR GeForce 8600GT SSC
    Operating System
    Windows XP Pro 32bit w/SP3
    Computer type
    PC/Desktop
    Manufacturer/Model
    Built by Ghot® (not in use)
    CPU
    AMD Athlon 64 X2 5000+ (OC'd @ 3.2Ghz)
    Motherboard
    ASUS M2N32-SLI Deluxe Wireless Edition
    Memory
    TWIN2X2048-6400C4DHX (2 x 1GB, DDR2 800)
    Graphics card(s)
    EVGA 256-P2-N758-TR GeForce 8600GT SSC
    Sound Card
    Onboard
    Monitor(s) Displays
    ViewSonic G90FB Black 19" Professional (CRT)
    Screen Resolution
    up to 2048 x 1536
    Hard Drives
    WD 36GB 10,000rpm Raptor SATA
    Seagate 80GB 7200rpm SATA
    Lite-On LTR-52246S CD/RW
    Lite-On LH-18A1P CD/DVD Burner
    PSU
    PC Power & Cooling Silencer 750 Quad EPS12V
    Case
    Generic Beige case, 80mm fans
    Cooling
    ZALMAN 9500A 92mm CPU Cooler
    Keyboard
    Logitech Classic Keybooard 200
    Mouse
    Logitech Optical M-BT96a
    Internet Speed
    300/300
    Browser
    Firefox 3.x ??
    Antivirus
    Symantec (Norton)
    Other Info
    Still assembled, still runs. Haven't turned it on for 15 years?
What did you smoke?
1. The old HDD is a 2 TB disk and not a 1 TB disk!
2. disk 0 is a MBR disk
3. What happened to your Boot partition on disk 0
4. 16 GB for a recovery ?
5. The NVME (GPT) has been initialized!
1 - 3: Sorry for misleading you. I forgot to say that the original HDD was disconnected from the system, when the pictures were taken. Here is the Diskpart List Disk results with the original HDD in place:

Original HDD 2.png

It actually is one partition, not two as I stated in the O.P. (O.P. now corrected) And it shows as GPT, once you are looking at the right picture. And then the Partitions are correctly listed for a system drive.

The disk you are referring to is actually the disk containing the backed up system image.

4. It was a spare disk. I shall reformat it and reuse when done.

5. That is strange. I formatted the drive and the restore failed, so I deleted the drive formatting and it is now "unallocated" and no longer shows up in File Explorer. I tried again, and the restore still fails, and it still flags up as a GPT although it is no longer formatted. What could possibly be happening?

M461.png
 

My Computers My Computers

  • At a glance

    Windows 11AMD Ryzen 5 560016 GBSapphire Radeon RX 6500XT (8 GB version)
    OS
    Windows 11
    Computer type
    PC/Desktop
    CPU
    AMD Ryzen 5 5600
    Motherboard
    MSI B550-A Pro
    Memory
    16 GB
    Graphics Card(s)
    Sapphire Radeon RX 6500XT (8 GB version)
    Monitor(s) Displays
    BenQ Mobuiz EX2710Q QHD, Iiyama ProLite X23377HDS
    Hard Drives
    MSI Spatium M461 4TB
  • At a glance

    Windows 11Intel Celeron N4020
    Operating System
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    Acer A114
    CPU
    Intel Celeron N4020
If you clean the target disk using diskpart/initialize to mbr it should go ahead and will be the same partition style as the image.

If you wanted to do the migration using image and restore one way is to convert the source to gpt before making the image. Another way is to restore the image and then convert the restored disk to gpt. If it is just two 500gb primaries it is expected that mbr2gpt.exe will be able do the conversion after restore.
Sorry I got some details wrong in the O.P. Please read post #5. Thank you.
 

My Computers My Computers

  • At a glance

    Windows 11AMD Ryzen 5 560016 GBSapphire Radeon RX 6500XT (8 GB version)
    OS
    Windows 11
    Computer type
    PC/Desktop
    CPU
    AMD Ryzen 5 5600
    Motherboard
    MSI B550-A Pro
    Memory
    16 GB
    Graphics Card(s)
    Sapphire Radeon RX 6500XT (8 GB version)
    Monitor(s) Displays
    BenQ Mobuiz EX2710Q QHD, Iiyama ProLite X23377HDS
    Hard Drives
    MSI Spatium M461 4TB
  • At a glance

    Windows 11Intel Celeron N4020
    Operating System
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    Acer A114
    CPU
    Intel Celeron N4020
Go for a 3rd party Backup & Recovery tool!
A MSR-Partition (16 MB) as 1st partition can cause serious problems when running a recovery. Beside that BIOS updates can fail with the error message: ESP not found.
In post #1 you ran from PE-Mode. There you can select the disk and in diskpart you type
sel disk #
clean
convert gpt
create partition EFI size=260
format quick fs=fat32 label="System"
assign letter="S"
exit


According MS: Never initalize a OS disk from Windows!
You can't see a MSR-partition in diskmanagement
Convert disk 1 to gpt as well
MBR-disks don't have the MSR-partition.
A (C:)-partition that size (930 GB) is not a good idea.

What I would do is this:
in the above diskpart commands instead of exit
type
create partition msr size=16
create partition primary size=614400
format quick fs=ntfs label="Windows"
assign letter="W"
create partition primary size=1000
format quick fs=ntfs label="Recovery"
assign letter="R"
set id="de94bba4-06d1-4d40-a16a-bfd50179d6ac"
gpt attributes=0x8000000000000001
create partition primary
format quick fs=ntfs label="Data"
assign letter="E"
list volume
exit
reboot


Run a backup of your current C-Disk.
When ready immediately run a recovery to W:
target your new NVMe-disk
wenn ready type cmd (admin)
bcdboot W:\Windows
reboot and check if your NVMe is working ok.
The rest can be done later

Change drive letters according your situation
hint: copy the diskpart commands to notepad and save as partition.txt.
When in PE-Mode navigate to the file and use copy & paste!
 
Last edited:

My Computer My Computer

At a glance

Windows 10Intel 6700HQ24AMD FirePro 5170M
OS
Windows 10
Computer type
Laptop
Manufacturer/Model
HP ZBook
CPU
Intel 6700HQ
Motherboard
HP
Memory
24
Graphics Card(s)
AMD FirePro 5170M
Hard Drives
Samsung SSD 860 Pro
Keyboard
yes
Mouse
yes
Other Info
19045.3803
some Red Hat workhorses
So many years this has been depreciating. Even if they do, that won’t stop bootong into a system recovery and restoring it, at least not until Windows Twelve would be my uneducated guess
 

My Computers My Computers

  • At a glance

    Windows 11 Pro 25H2 Build 26200.8894Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz32.0 GB of I forget and the box is in storage.Gigabyte nVidia GeForce GTX 1660 Super OC 6GB
    OS
    Windows 11 Pro 25H2 Build 26200.8894
    Computer type
    PC/Desktop
    Manufacturer/Model
    Sin-built 2013
    CPU
    Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
    Motherboard
    ASUS ROG Maximus VI Formula
    Memory
    32.0 GB of I forget and the box is in storage.
    Graphics Card(s)
    Gigabyte nVidia GeForce GTX 1660 Super OC 6GB
    Sound Card
    ROG SupremeFX Formula 8-Channel High Definition Audio
    Monitor(s) Displays
    5 x LG 25MS500-B - 1 x 24MK430H-B - 1 x Wacom Pro 22" Touch Screen Tablet
    Screen Resolution
    All over the place
    Hard Drives
    Too many to list. OS on Samsung 1TB 870 QVO SATA
    PSU
    Silverstone 1500
    Case
    NZXT Phantom 820 Full-Tower Case
    Cooling
    Noctua NH-D15 Elite Class Dual Tower CPU Cooler / 6 x EziDIY 120mm / 2 x Corsair 140mm somethings / 1 x 140mm Thermaltake something / 2 x 200mm Corsair.
    Keyboard
    Corsair K95 / Logitech diNovo Edge Wireless
    Mouse
    Logitech: G402 / G502 / Mx Masters / Mx Air Cordless
    Internet Speed
    2000/500Mbps
    Browser
    All sorts
    Antivirus
    Kaspersky Premium
    Other Info
    ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
    TP-Link BE9300 WiFi 7 Bluetooth 5.4 (Archer TBE550E)
    TP-Link TX201 V1 2.5GB Lan

    Grandstream HT812 - VoIP
    ASUS DSL-AX82U - Mesh
    ASUS RT-AC68U - Mesh
    ASUS RT-BE88U Router

    Brother MFC-L2880DW Printer

    I’m on a horse.
  • At a glance

    Windows 11 Pro 25H2 Build 26200.8894 (Wifes)13th Generation Intel® Core™ i5-1340P Process...16GB LPDDR5-52001x Intel® Iris® Xe Graphics
    Operating System
    Windows 11 Pro 25H2 Build 26200.8894 (Wifes)
    Computer type
    Laptop
    Manufacturer/Model
    LENOVO Yoga 7 14IRL8 - Type 82YL
    CPU
    13th Generation Intel® Core™ i5-1340P Processor(Core™ i5-1340P)
    Memory
    16GB LPDDR5-5200
    Graphics card(s)
    1x Intel® Iris® Xe Graphics
    Sound Card
    Optimized with Dolby Atmos®
    Screen Resolution
    QHD 2880 x 1800 OLED
    Hard Drives
    M.2 512 GB SSD PCIe
    Mouse
    Logiteck MX Master 3S
    Internet Speed
    2000/500
    Antivirus
    Defender / Malwarebytes
    Other Info
    …still on a horse.


    Wireless Network: Wi-Fi 6E 2x2 AX; Bluetooth® 5.1 or above
    Ports: 1x 1 Novo button; 2 in 1 Audio Combo jack; Micro SD Card Reader; HDMI 1.4b; 2 x USB Type-C (TBT4)
    USB 3.2 Gen 2 DP 1.4a
    PD 3.0); 1 x USB 3.2 Gen1 Type A
    Camera
    1x 1080P FHD IR/RGB Hybrid with Privacy Shutter and Dual Array Microphone
    Graphics
    1x Intel® Iris® Xe Graphics
    Monitor
    14" WUXGA
    Form Factor
    Convertible Notebook
  • Windows 11 Pro 25H2 Build 26200.8894 (Wifes)

    Yoga 7 2-in-1 14IML9 - Type 83DJ

    Processor: Intel® Core™ Ultra 7 155H Processor(Core™ Ultra 7 155H)

    Memory: 32GB LPD5X-7467

    Hard Drive: 1 TB SSD PCIe

    Wireless Network: 1x Wi-Fi 6E 2x2 AX; Bluetooth® 5.1 or above

    Ports: 1 x HDMI 2.1 TMDS; 1 x Novo Button; 1 x Combo Audio Jack
    2 x USB-C (USB 4.0)
    1 x USB-A 3.2 Gen 1

    Camera: 1080P FHD IR Hybrid with Dual Microphone

    Graphics: Intel® Arc™ Graphics

    Monitor: 14" 2.8K

    ...Where's my horse?
1 - 3: Sorry for misleading you. I forgot to say that the original HDD was disconnected from the system, when the pictures were taken. Here is the Diskpart List Disk results with the original HDD in place:

5. That is strange. I formatted the drive and the restore failed, so I deleted the drive formatting and it is now "unallocated" and no longer shows up in File Explorer. I tried again, and the restore still fails, and it still flags up as a GPT although it is no longer formatted. What could possibly be happening?

View attachment 79510

The disk is intialized to a partition style. For a disk to be any use, partitions would have to be created and then formattted with a filesystem.

Formatting partition(s) does not change the partition style of the disk.

Deleting existing partition(s) does not change the partition style of the disk.

Unallocated space is not inside a partition.

There must be something about the disk that bmrui doesn't like.

At this point I suggest returning the new disk to uninitialized by using diskpart clean command. Then try running the bare metal restore
 
Last edited:

My Computers My Computers

  • At a glance

    Win7,Win11i7-97002x16gb 3600mhz
    OS
    Win7,Win11
    Computer type
    PC/Desktop
    CPU
    i7-9700
    Motherboard
    gigabyte b365m ds3h
    Memory
    2x16gb 3600mhz
    Monitor(s) Displays
    benq gw2480
    PSU
    bequiet pure power 11 400CM
    Cooling
    cryorig m9i
  • At a glance

    win7,win11i5-84002x8gb 3200
    Operating System
    win7,win11
    Computer type
    PC/Desktop
    CPU
    i5-8400
    Motherboard
    gigabyte b365m ds3h
    Memory
    2x8gb 3200
    PSU
    xfx pro 450
In post #1 you ran from PE-Mode. There you can select the disk and in diskpart you type
sel disk #
clean

There must be something about the disk that bmrui doesn't like.

At this point I suggest returning the new disk to uninitialized by using diskpart clean command. Then try running the bare metal restore
Success! I did DISKPART SELECT, followed by CLEAN, and it worked. I didn't bother with manually setting up partitions, I just let the restore process take care of the details. Took about half an hour. It created a 1TB system drive, which I was then able to shrink from within Windows.
 

My Computers My Computers

  • At a glance

    Windows 11AMD Ryzen 5 560016 GBSapphire Radeon RX 6500XT (8 GB version)
    OS
    Windows 11
    Computer type
    PC/Desktop
    CPU
    AMD Ryzen 5 5600
    Motherboard
    MSI B550-A Pro
    Memory
    16 GB
    Graphics Card(s)
    Sapphire Radeon RX 6500XT (8 GB version)
    Monitor(s) Displays
    BenQ Mobuiz EX2710Q QHD, Iiyama ProLite X23377HDS
    Hard Drives
    MSI Spatium M461 4TB
  • At a glance

    Windows 11Intel Celeron N4020
    Operating System
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    Acer A114
    CPU
    Intel Celeron N4020
:-)
Probably there was something not right about the way disk had been initialized previously.

I have come across several situations when diskmgmt and diskpart didnt pick up anomalies.
 
Last edited:

My Computers My Computers

  • At a glance

    Win7,Win11i7-97002x16gb 3600mhz
    OS
    Win7,Win11
    Computer type
    PC/Desktop
    CPU
    i7-9700
    Motherboard
    gigabyte b365m ds3h
    Memory
    2x16gb 3600mhz
    Monitor(s) Displays
    benq gw2480
    PSU
    bequiet pure power 11 400CM
    Cooling
    cryorig m9i
  • At a glance

    win7,win11i5-84002x8gb 3200
    Operating System
    win7,win11
    Computer type
    PC/Desktop
    CPU
    i5-8400
    Motherboard
    gigabyte b365m ds3h
    Memory
    2x8gb 3200
    PSU
    xfx pro 450

Latest Support Threads

Back
Top Bottom