Unexpected WinRE location behaviour


cereberus

Well-known member
Guru
VIP
Local time
7:39 PM
Posts
5,594
OS
Windows 10 Pro + others in VHDs
I like to have WinRE.wim in the c:\windows\system32\recovery folder in my virtual machines rather than as a separate partition, as it helps with compacting the vhd (a vhd function).

When vhd is running inside Hyper-V, reagentc show the winre is enabled, at its location is in partition 3 c:\windows\system32\recovery as expected.

However, when I attached vhd as a native host boot drive, I checked reagentc again, and I was surprised, it had changed to partition 4 and I was puzzled, as there is no partition 4 in VHD (EFI, MSR, C Drive).

I looked closer and I was surprised - it was pointing to the WinRE partition on drive 0 (my native host OS).

I disabled it and renabled it, and it then pointed to winre in C drive partition (in vhd).

EDIT - arggggh. By disabling it, it removed the WinRe.wim file from drive 0 partition (brain not in gear as this was bound to happen LOL). Fortunately good old Reflect to the rescue to restore partition from backup. Even then, fist time it would not reenable sayin it could not find it.

Rebooted PC, and renabled it.

Booted into vhd, and it was still pointing to correct winre.wim

Got there in the end, but what a palaver LOL.
 
Last edited:

My Computer

System One

  • OS
    Windows 10 Pro + others in VHDs
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Vivobook 14
    CPU
    I7
    Motherboard
    Yep, Laptop has one.
    Memory
    16 GB
    Graphics Card(s)
    Integrated Intel Iris XE
    Sound Card
    Realtek built in
    Monitor(s) Displays
    N/A
    Screen Resolution
    1920x1080
    Hard Drives
    1 TB Optane NVME SSD, 1 TB NVME SSD
    PSU
    Yep, got one
    Case
    Yep, got one
    Cooling
    Stella Artois
    Keyboard
    Built in
    Mouse
    Bluetooth , wired
    Internet Speed
    72 Mb/s :-(
    Browser
    Edge mostly
    Antivirus
    Defender
    Other Info
    TPM 2.0

Latest Support Threads

Back
Top Bottom