Built a self-healing WinRE manager for Windows 11 — sharing the failure modes and what I learned about the recovery partition lifecycle


Why can't you script temporarily assign a drive letter? I think you need to need to fix the issues before you ask us to test it.
It does actually assign a temporary drive letter, but the function I used to get free drive letters didn't consider mapped network drives, so I am fixing this as we speak! Besides, you've already seen my script in action and that it does work!
 

My Computer My Computer

At a glance

Windows 11Intel® Core™ i5-11400Samsung 16GB DDR4 3200MHzNvidia GeForce GTX 1660 SUPER
OS
Windows 11
Computer type
PC/Desktop
Manufacturer/Model
Custom Built
CPU
Intel® Core™ i5-11400
Motherboard
ASUS PRIME H510M-D
Memory
Samsung 16GB DDR4 3200MHz
Graphics Card(s)
Nvidia GeForce GTX 1660 SUPER
Sound Card
Onboard
Monitor(s) Displays
Samsung 24"
Screen Resolution
1920 * 1080
  • Like
Reactions: OAT
I don't have any mapped drives. Your script could assign almost any drive letter, I only use A to G.
 

My Computers My Computers

  • At a glance

    Windows 11 Pro 26H2 26300.9550AMD Ryzen 7 5825U with Radeon Graphics16GB
    OS
    Windows 11 Pro 26H2 26300.9550
    Computer type
    Laptop
    Manufacturer/Model
    Acemagic LX15PRO
    CPU
    AMD Ryzen 7 5825U with Radeon Graphics
    Motherboard
    BIOS CT_BI_AMI_LX15PRO_AB8139_A-004
    Memory
    16GB
    Screen Resolution
    1920 x 1080
    Hard Drives
    SSD 2TB
    Internet Speed
    30 Mbps
    Browser
    Brave
    Antivirus
    Webroot SecureAnywhere Complete beta
  • At a glance

    Windows 11 Pro 23H2 22631.2506Atom N450 1.66GHz2GB
    Operating System
    Windows 11 Pro 23H2 22631.2506
    Computer type
    Laptop
    Manufacturer/Model
    HP Mini 210-1090NR PC (bought in late 2009!)
    CPU
    Atom N450 1.66GHz
    Memory
    2GB
    Browser
    Brave
    Antivirus
    Webroot
  • Acer Swift SF114-34 laptop
    OS Windows 11 Pro 26200.8894
    CPU Pentium Silver N6000
    RAM 4GB
    BIOS v1.17
    SSD Samsung 970 EVO Plus SSD 2TB (an upgrade)
I don't have any mapped drives. Your script could assign almost any drive letter, I only use A to G.
Yes, it should and it does! It assigns a temporary free drive letter to the recovery partition to do work, then removes the assigned drive letter afterwards! Check the logs!
 

My Computer My Computer

At a glance

Windows 11Intel® Core™ i5-11400Samsung 16GB DDR4 3200MHzNvidia GeForce GTX 1660 SUPER
OS
Windows 11
Computer type
PC/Desktop
Manufacturer/Model
Custom Built
CPU
Intel® Core™ i5-11400
Motherboard
ASUS PRIME H510M-D
Memory
Samsung 16GB DDR4 3200MHz
Graphics Card(s)
Nvidia GeForce GTX 1660 SUPER
Sound Card
Onboard
Monitor(s) Displays
Samsung 24"
Screen Resolution
1920 * 1080
@ArthurDurand

Let us know when your script is updated on github.
Thanks.
 

My Computers My Computers

  • At a glance

    All Branches but StableAMD Ryzen 7 7735HS 3200-4500 Mhz 8 cores x 232 GB DDR5Radeon Graphic / NVIDIA GeForce RTX 4060 8 GB...
    OS
    All Branches but Stable
    Computer type
    Laptop
    Manufacturer/Model
    Acer Nitro ANV15-51
    CPU
    AMD Ryzen 7 7735HS 3200-4500 Mhz 8 cores x 2
    Motherboard
    Sportage_RBH
    Memory
    32 GB DDR5
    Graphics Card(s)
    Radeon Graphic / NVIDIA GeForce RTX 4060 8 GB GDDR6
    Sound Card
    AMD/Realtek(R) Audio
    Monitor(s) Displays
    Integrated Monitor (15.3"vis)
    Screen Resolution
    FHD 1920X1080 16:9 144Hz
    Hard Drives
    KINGSTON OM8SEP4512Q-AA 1TB
    Western Digital 256GB
    PSU
    19V DC 6.32 A 120 W
    Cooling
    Dual Fans
    Mouse
    MS Bluetooth
    Internet Speed
    Fiber 1GB Cox -us & 1GB Orange-fr
    Browser
    Edge Canary- Firefox Nightly-Chrome Dev-Chrome Dev
    Antivirus
    Windows Defender
  • At a glance

    Windows 11 BetaAMD A9-94208 GB of DDR4AMD Radeon R5
    Operating System
    Windows 11 Beta
    Computer type
    Laptop
    Manufacturer/Model
    Asus X751BP
    CPU
    AMD A9-9420
    Memory
    8 GB of DDR4
    Graphics card(s)
    AMD Radeon R5
    Screen Resolution
    1600x900
    Hard Drives
    Seagate 1 TB
I can test your scripts but I'm not going to debug them, as I know nothing about coding. I ran the latest .PS1, but it quits on completion, so I can't post the output. You asked me to read the logs, but that's your job! :-)
 

My Computers My Computers

  • At a glance

    Windows 11 Pro 26H2 26300.9550AMD Ryzen 7 5825U with Radeon Graphics16GB
    OS
    Windows 11 Pro 26H2 26300.9550
    Computer type
    Laptop
    Manufacturer/Model
    Acemagic LX15PRO
    CPU
    AMD Ryzen 7 5825U with Radeon Graphics
    Motherboard
    BIOS CT_BI_AMI_LX15PRO_AB8139_A-004
    Memory
    16GB
    Screen Resolution
    1920 x 1080
    Hard Drives
    SSD 2TB
    Internet Speed
    30 Mbps
    Browser
    Brave
    Antivirus
    Webroot SecureAnywhere Complete beta
  • At a glance

    Windows 11 Pro 23H2 22631.2506Atom N450 1.66GHz2GB
    Operating System
    Windows 11 Pro 23H2 22631.2506
    Computer type
    Laptop
    Manufacturer/Model
    HP Mini 210-1090NR PC (bought in late 2009!)
    CPU
    Atom N450 1.66GHz
    Memory
    2GB
    Browser
    Brave
    Antivirus
    Webroot
  • Acer Swift SF114-34 laptop
    OS Windows 11 Pro 26200.8894
    CPU Pentium Silver N6000
    RAM 4GB
    BIOS v1.17
    SSD Samsung 970 EVO Plus SSD 2TB (an upgrade)
I can test your scripts but I'm not going to debug them, as I know nothing about coding. I ran the latest .PS1, but it quits on completion, so I can't post the output. You asked me to read the logs, but that's your job! :-)
The script is state aware and won't do work unless it has to do work, so running the script on a system that checks out will take the fast path and exit without doing anything! You can find the log at "C:\ProgramData\OEM\Logs\WinRE-Manager.log" to check for yourself why it exited!?
 

My Computer My Computer

At a glance

Windows 11Intel® Core™ i5-11400Samsung 16GB DDR4 3200MHzNvidia GeForce GTX 1660 SUPER
OS
Windows 11
Computer type
PC/Desktop
Manufacturer/Model
Custom Built
CPU
Intel® Core™ i5-11400
Motherboard
ASUS PRIME H510M-D
Memory
Samsung 16GB DDR4 3200MHz
Graphics Card(s)
Nvidia GeForce GTX 1660 SUPER
Sound Card
Onboard
Monitor(s) Displays
Samsung 24"
Screen Resolution
1920 * 1080
I suggest you add a pause command at the end and then I am happy to give feedback. Remember, I am not a coder.
 

My Computers My Computers

  • At a glance

    Windows 11 Pro 26H2 26300.9550AMD Ryzen 7 5825U with Radeon Graphics16GB
    OS
    Windows 11 Pro 26H2 26300.9550
    Computer type
    Laptop
    Manufacturer/Model
    Acemagic LX15PRO
    CPU
    AMD Ryzen 7 5825U with Radeon Graphics
    Motherboard
    BIOS CT_BI_AMI_LX15PRO_AB8139_A-004
    Memory
    16GB
    Screen Resolution
    1920 x 1080
    Hard Drives
    SSD 2TB
    Internet Speed
    30 Mbps
    Browser
    Brave
    Antivirus
    Webroot SecureAnywhere Complete beta
  • At a glance

    Windows 11 Pro 23H2 22631.2506Atom N450 1.66GHz2GB
    Operating System
    Windows 11 Pro 23H2 22631.2506
    Computer type
    Laptop
    Manufacturer/Model
    HP Mini 210-1090NR PC (bought in late 2009!)
    CPU
    Atom N450 1.66GHz
    Memory
    2GB
    Browser
    Brave
    Antivirus
    Webroot
  • Acer Swift SF114-34 laptop
    OS Windows 11 Pro 26200.8894
    CPU Pentium Silver N6000
    RAM 4GB
    BIOS v1.17
    SSD Samsung 970 EVO Plus SSD 2TB (an upgrade)
I suggest you add a pause command at the end and then I am happy to give feedback. Remember, I am not a coder.
Idea is that the script is non-interactive so you can run it as a scheduled task also to automatically heal Windows RE every once a blue moon if you so wish! It doesn't take a coder to find the log file that the script leaves behind! The script logs to "C:\ProgramData\OEM\Logs\WinRE-Manager.log". I do want to thank you for taking time out of your day to try this!
 

My Computer My Computer

At a glance

Windows 11Intel® Core™ i5-11400Samsung 16GB DDR4 3200MHzNvidia GeForce GTX 1660 SUPER
OS
Windows 11
Computer type
PC/Desktop
Manufacturer/Model
Custom Built
CPU
Intel® Core™ i5-11400
Motherboard
ASUS PRIME H510M-D
Memory
Samsung 16GB DDR4 3200MHz
Graphics Card(s)
Nvidia GeForce GTX 1660 SUPER
Sound Card
Onboard
Monitor(s) Displays
Samsung 24"
Screen Resolution
1920 * 1080
Code:
2026-10-05 14:28:24 [INFO] ========== WinRE Manager Started (v47 patch 2) ==========
2026-10-05 14:28:24 [INFO] Acquired program lock at C:\ProgramData\OEM\Logs\WinREManager.lock
2026-10-05 14:28:26 [INFO] Raw CPU string: AMD Ryzen 7 5825U with Radeon Graphics       
2026-10-05 14:28:26 [INFO] Intel generation: N/A
2026-10-05 14:28:26 [INFO] System: AB8139 LX15PRO, MT=Defa, OS=11 (build 26300)
2026-10-05 14:28:28 [INFO] VMD hardware present: False (0 matching device(s) out of 3 pattern(s))
2026-10-05 14:28:28 [INFO] Skipping Intel VMD v19 (11th Gen): no matching VMD hardware detected
2026-10-05 14:28:28 [INFO] Skipping Intel VMD v20 (12th-15th Gen): no matching VMD hardware detected
2026-10-05 14:28:28 [INFO] Required drivers (VMD): 0
2026-10-05 14:28:28 [INFO] DesiredStateId: D9EABA6C945441A58C4556C96DE3D534F4E6284368C49A361B10309784F9FDD1
2026-10-05 14:28:30 [INFO] WinRE status: Unknown, Location: , Version: unknown
2026-10-05 14:28:30 [WARN] All methods failed for Z: - trying another letter
2026-10-05 14:28:31 [WARN] All methods failed for Y: - trying another letter
2026-10-05 14:28:32 [WARN] All methods failed for X: - trying another letter
2026-10-05 14:28:33 [WARN] All methods failed for W: - trying another letter
2026-10-05 14:28:34 [WARN] All methods failed for V: - trying another letter
2026-10-05 14:28:34 [WARN] All methods failed for U: - trying another letter
2026-10-05 14:28:35 [WARN] All methods failed for T: - trying another letter
2026-10-05 14:28:35 [WARN] All methods failed for S: - trying another letter
2026-10-05 14:28:36 [WARN] All methods failed for R: - trying another letter
2026-10-05 14:28:36 [WARN] All methods failed for Q: - trying another letter
2026-10-05 14:28:37 [WARN] All methods failed for P: - trying another letter
2026-10-05 14:28:38 [WARN] All methods failed for O: - trying another letter
2026-10-05 14:28:38 [WARN] All methods failed for N: - trying another letter
2026-10-05 14:28:39 [WARN] All methods failed for M: - trying another letter
2026-10-05 14:28:40 [WARN] All methods failed for L: - trying another letter
2026-10-05 14:28:41 [WARN] All methods failed for K: - trying another letter
2026-10-05 14:28:43 [WARN] All methods failed for J: - trying another letter
2026-10-05 14:28:43 [WARN] All methods failed for I: - trying another letter
2026-10-05 14:28:44 [WARN] All methods failed for H: - trying another letter
2026-10-05 14:28:45 [WARN] All methods failed for G: - trying another letter
2026-10-05 14:28:45 [WARN] All methods failed for F: - trying another letter
2026-10-05 14:28:46 [WARN] All methods failed for E: - trying another letter
2026-10-05 14:28:47 [ERROR] Exhausted all candidate letters for disk 0 part 5
2026-10-05 14:28:47 [INFO] No valid state (missing or stale) - rebuilding
2026-10-05 14:28:49 [INFO] Workspace selected: D:\Temp\WinREWork (345.36 GiB free; minimum 3 GiB)
2026-10-05 14:28:49 [INFO] Checkpoint step: 0
2026-10-05 14:28:49 [INFO] Starting full update
2026-10-05 14:28:49 [INFO] No registered source to fingerprint (WinRE status=Unknown)
2026-10-05 14:28:49 [INFO] Step 2: Obtaining base WIM
2026-10-05 14:32:36 [INFO] Downloaded base WIM from GitHub
2026-10-05 14:32:36 [INFO] Step 3: Mounting and injecting
2026-10-05 14:32:36 [INFO] Dismounting any WIM mounts under D:\Temp\WinREWork
2026-10-05 14:32:37 [WARN] Mount failed: The requested operation requires elevation.

2026-10-05 14:32:37 [ERROR] FATAL ERROR: The requested operation requires elevation.

2026-10-05 14:32:37 [ERROR] Stack: at Invoke-DismMount, C:\Users\Martin\Documents\WinRE-Manager-main\WinRE-Manager-main\scripts\WinRE.ps1: line 2994
at <ScriptBlock>, C:\Users\Martin\Documents\WinRE-Manager-main\WinRE-Manager-main\scripts\WinRE.ps1: line 4535
2026-10-05 14:32:37 [INFO] Released program lock
2026-10-05 14:45:45 [INFO] ========== WinRE Manager Started (v47 patch 2) ==========
2026-10-05 14:45:45 [INFO] Acquired program lock at C:\ProgramData\OEM\Logs\WinREManager.lock
2026-10-05 14:45:48 [INFO] Raw CPU string: AMD Ryzen 7 5825U with Radeon Graphics       
2026-10-05 14:45:48 [INFO] Intel generation: N/A
2026-10-05 14:45:48 [INFO] System: AB8139 LX15PRO, MT=Defa, OS=11 (build 26300)
2026-10-05 14:45:50 [INFO] VMD hardware present: False (0 matching device(s) out of 3 pattern(s))
2026-10-05 14:45:50 [INFO] Skipping Intel VMD v19 (11th Gen): no matching VMD hardware detected
2026-10-05 14:45:50 [INFO] Skipping Intel VMD v20 (12th-15th Gen): no matching VMD hardware detected
2026-10-05 14:45:50 [INFO] Required drivers (VMD): 0
2026-10-05 14:45:50 [INFO] DesiredStateId: D9EABA6C945441A58C4556C96DE3D534F4E6284368C49A361B10309784F9FDD1
2026-10-05 14:45:53 [INFO] WinRE status: Unknown, Location: , Version: unknown
2026-10-05 14:45:55 [WARN] All methods failed for Z: - trying another letter
2026-10-05 14:45:56 [WARN] All methods failed for Y: - trying another letter
2026-10-05 14:45:58 [WARN] All methods failed for X: - trying another letter
2026-10-05 14:46:00 [WARN] All methods failed for W: - trying another letter
2026-10-05 14:46:00 [WARN] All methods failed for V: - trying another letter
2026-10-05 14:46:01 [WARN] All methods failed for U: - trying another letter
2026-10-05 14:46:02 [WARN] All methods failed for T: - trying another letter
2026-10-05 14:46:03 [WARN] All methods failed for S: - trying another letter
2026-10-05 14:46:03 [WARN] All methods failed for R: - trying another letter
2026-10-05 14:46:04 [WARN] All methods failed for Q: - trying another letter
2026-10-05 14:46:05 [WARN] All methods failed for P: - trying another letter
2026-10-05 14:46:05 [WARN] All methods failed for O: - trying another letter
2026-10-05 14:46:06 [WARN] All methods failed for N: - trying another letter
2026-10-05 14:46:07 [WARN] All methods failed for M: - trying another letter
2026-10-05 14:46:08 [WARN] All methods failed for L: - trying another letter
2026-10-05 14:46:10 [WARN] All methods failed for K: - trying another letter
2026-10-05 14:46:10 [WARN] All methods failed for J: - trying another letter
2026-10-05 14:46:12 [WARN] All methods failed for I: - trying another letter
2026-10-05 14:46:13 [WARN] All methods failed for H: - trying another letter
2026-10-05 14:46:13 [WARN] All methods failed for G: - trying another letter
2026-10-05 14:46:14 [WARN] All methods failed for F: - trying another letter
2026-10-05 14:46:15 [WARN] All methods failed for E: - trying another letter
2026-10-05 14:46:16 [ERROR] Exhausted all candidate letters for disk 0 part 5
2026-10-05 14:46:16 [INFO] No valid state (missing or stale) - rebuilding
2026-10-05 14:46:18 [INFO] Workspace selected: D:\Temp\WinREWork (344.04 GiB free; minimum 3 GiB)
2026-10-05 14:46:18 [INFO] Checkpoint step: 2
2026-10-05 14:46:18 [INFO] Starting full update
2026-10-05 14:46:18 [INFO] No registered source to fingerprint (WinRE status=Unknown)
2026-10-05 14:46:18 [INFO] Step 2: Obtaining base WIM
2026-10-05 14:50:12 [WARN] Removing stale base.wim before rename: D:\Temp\WinREWork\base.wim
2026-10-05 14:50:12 [INFO] Downloaded base WIM from GitHub
2026-10-05 14:50:12 [INFO] Step 3: Mounting and injecting
2026-10-05 14:50:12 [INFO] Dismounting any WIM mounts under D:\Temp\WinREWork
2026-10-05 14:50:12 [INFO] Removed: D:\Temp\WinREWork\mount
2026-10-05 14:50:12 [WARN] Mount failed: The requested operation requires elevation.

2026-10-05 14:50:12 [ERROR] FATAL ERROR: The requested operation requires elevation.

2026-10-05 14:50:12 [ERROR] Stack: at Invoke-DismMount, C:\Users\Martin\Documents\WinRE-Manager-main\WinRE-Manager-main\scripts\WinRE.ps1: line 2994
at <ScriptBlock>, C:\Users\Martin\Documents\WinRE-Manager-main\WinRE-Manager-main\scripts\WinRE.ps1: line 4535
2026-10-05 14:50:12 [INFO] Released program lock
 

My Computers My Computers

  • At a glance

    Windows 11 Pro 26H2 26300.9550AMD Ryzen 7 5825U with Radeon Graphics16GB
    OS
    Windows 11 Pro 26H2 26300.9550
    Computer type
    Laptop
    Manufacturer/Model
    Acemagic LX15PRO
    CPU
    AMD Ryzen 7 5825U with Radeon Graphics
    Motherboard
    BIOS CT_BI_AMI_LX15PRO_AB8139_A-004
    Memory
    16GB
    Screen Resolution
    1920 x 1080
    Hard Drives
    SSD 2TB
    Internet Speed
    30 Mbps
    Browser
    Brave
    Antivirus
    Webroot SecureAnywhere Complete beta
  • At a glance

    Windows 11 Pro 23H2 22631.2506Atom N450 1.66GHz2GB
    Operating System
    Windows 11 Pro 23H2 22631.2506
    Computer type
    Laptop
    Manufacturer/Model
    HP Mini 210-1090NR PC (bought in late 2009!)
    CPU
    Atom N450 1.66GHz
    Memory
    2GB
    Browser
    Brave
    Antivirus
    Webroot
  • Acer Swift SF114-34 laptop
    OS Windows 11 Pro 26200.8894
    CPU Pentium Silver N6000
    RAM 4GB
    BIOS v1.17
    SSD Samsung 970 EVO Plus SSD 2TB (an upgrade)
2026-10-05 14:28:24 [INFO] ========== WinRE Manager Started (v47 patch 2) ==========
2026-10-05 14:28:24 [INFO] Acquired program lock at C:\ProgramData\OEM\Logs\WinREManager.lock
2026-10-05 14:28:26 [INFO] Raw CPU string: AMD Ryzen 7 5825U with Radeon Graphics
2026-10-05 14:28:26 [INFO] Intel generation: N/A
2026-10-05 14:28:26 [INFO] System: AB8139 LX15PRO, MT=Defa, OS=11 (build 26300)
2026-10-05 14:28:28 [INFO] VMD hardware present: False (0 matching device(s) out of 3 pattern(s))
2026-10-05 14:28:28 [INFO] Skipping Intel VMD v19 (11th Gen): no matching VMD hardware detected
2026-10-05 14:28:28 [INFO] Skipping Intel VMD v20 (12th-15th Gen): no matching VMD hardware detected
2026-10-05 14:28:28 [INFO] Required drivers (VMD): 0
2026-10-05 14:28:28 [INFO] DesiredStateId: D9EABA6C945441A58C4556C96DE3D534F4E6284368C49A361B10309784F9FDD1
2026-10-05 14:28:30 [INFO] WinRE status: Unknown, Location: , Version: unknown
2026-10-05 14:28:30 [WARN] All methods failed for Z: - trying another letter
2026-10-05 14:28:31 [WARN] All methods failed for Y: - trying another letter
2026-10-05 14:28:32 [WARN] All methods failed for X: - trying another letter
2026-10-05 14:28:33 [WARN] All methods failed for W: - trying another letter
2026-10-05 14:28:34 [WARN] All methods failed for V: - trying another letter
2026-10-05 14:28:34 [WARN] All methods failed for U: - trying another letter
2026-10-05 14:28:35 [WARN] All methods failed for T: - trying another letter
2026-10-05 14:28:35 [WARN] All methods failed for S: - trying another letter
2026-10-05 14:28:36 [WARN] All methods failed for R: - trying another letter
2026-10-05 14:28:36 [WARN] All methods failed for Q: - trying another letter
2026-10-05 14:28:37 [WARN] All methods failed for P: - trying another letter
2026-10-05 14:28:38 [WARN] All methods failed for O: - trying another letter
2026-10-05 14:28:38 [WARN] All methods failed for N: - trying another letter
2026-10-05 14:28:39 [WARN] All methods failed for M: - trying another letter
2026-10-05 14:28:40 [WARN] All methods failed for L: - trying another letter
2026-10-05 14:28:41 [WARN] All methods failed for K: - trying another letter
2026-10-05 14:28:43 [WARN] All methods failed for J: - trying another letter
2026-10-05 14:28:43 [WARN] All methods failed for I: - trying another letter
2026-10-05 14:28:44 [WARN] All methods failed for H: - trying another letter
2026-10-05 14:28:45 [WARN] All methods failed for G: - trying another letter
2026-10-05 14:28:45 [WARN] All methods failed for F: - trying another letter
2026-10-05 14:28:46 [WARN] All methods failed for E: - trying another letter
2026-10-05 14:28:47 [ERROR] Exhausted all candidate letters for disk 0 part 5
2026-10-05 14:28:47 [INFO] No valid state (missing or stale) - rebuilding
2026-10-05 14:28:49 [INFO] Workspace selected: D:\Temp\WinREWork (345.36 GiB free; minimum 3 GiB)
2026-10-05 14:28:49 [INFO] Checkpoint step: 0
2026-10-05 14:28:49 [INFO] Starting full update
2026-10-05 14:28:49 [INFO] No registered source to fingerprint (WinRE status=Unknown)
2026-10-05 14:28:49 [INFO] Step 2: Obtaining base WIM
2026-10-05 14:32:36 [INFO] Downloaded base WIM from GitHub
2026-10-05 14:32:36 [INFO] Step 3: Mounting and injecting
2026-10-05 14:32:36 [INFO] Dismounting any WIM mounts under D:\Temp\WinREWork
2026-10-05 14:32:37 [WARN] Mount failed: The requested operation requires elevation.

2026-10-05 14:32:37 [ERROR] FATAL ERROR: The requested operation requires elevation.

2026-10-05 14:32:37 [ERROR] Stack: at Invoke-DismMount, C:\Users\Martin\Documents\WinRE-Manager-main\WinRE-Manager-main\scripts\WinRE.ps1: line 2994
at <ScriptBlock>, C:\Users\Martin\Documents\WinRE-Manager-main\WinRE-Manager-main\scripts\WinRE.ps1: line 4535
2026-10-05 14:32:37 [INFO] Released program lock
2026-10-05 14:45:45 [INFO] ========== WinRE Manager Started (v47 patch 2) ==========
2026-10-05 14:45:45 [INFO] Acquired program lock at C:\ProgramData\OEM\Logs\WinREManager.lock
2026-10-05 14:45:48 [INFO] Raw CPU string: AMD Ryzen 7 5825U with Radeon Graphics
2026-10-05 14:45:48 [INFO] Intel generation: N/A
2026-10-05 14:45:48 [INFO] System: AB8139 LX15PRO, MT=Defa, OS=11 (build 26300)
2026-10-05 14:45:50 [INFO] VMD hardware present: False (0 matching device(s) out of 3 pattern(s))
2026-10-05 14:45:50 [INFO] Skipping Intel VMD v19 (11th Gen): no matching VMD hardware detected
2026-10-05 14:45:50 [INFO] Skipping Intel VMD v20 (12th-15th Gen): no matching VMD hardware detected
2026-10-05 14:45:50 [INFO] Required drivers (VMD): 0
2026-10-05 14:45:50 [INFO] DesiredStateId: D9EABA6C945441A58C4556C96DE3D534F4E6284368C49A361B10309784F9FDD1
2026-10-05 14:45:53 [INFO] WinRE status: Unknown, Location: , Version: unknown
2026-10-05 14:45:55 [WARN] All methods failed for Z: - trying another letter
2026-10-05 14:45:56 [WARN] All methods failed for Y: - trying another letter
2026-10-05 14:45:58 [WARN] All methods failed for X: - trying another letter
2026-10-05 14:46:00 [WARN] All methods failed for W: - trying another letter
2026-10-05 14:46:00 [WARN] All methods failed for V: - trying another letter
2026-10-05 14:46:01 [WARN] All methods failed for U: - trying another letter
2026-10-05 14:46:02 [WARN] All methods failed for T: - trying another letter
2026-10-05 14:46:03 [WARN] All methods failed for S: - trying another letter
2026-10-05 14:46:03 [WARN] All methods failed for R: - trying another letter
2026-10-05 14:46:04 [WARN] All methods failed for Q: - trying another letter
2026-10-05 14:46:05 [WARN] All methods failed for P: - trying another letter
2026-10-05 14:46:05 [WARN] All methods failed for O: - trying another letter
2026-10-05 14:46:06 [WARN] All methods failed for N: - trying another letter
2026-10-05 14:46:07 [WARN] All methods failed for M: - trying another letter
2026-10-05 14:46:08 [WARN] All methods failed for L: - trying another letter
2026-10-05 14:46:10 [WARN] All methods failed for K: - trying another letter
2026-10-05 14:46:10 [WARN] All methods failed for J: - trying another letter
2026-10-05 14:46:12 [WARN] All methods failed for I: - trying another letter
2026-10-05 14:46:13 [WARN] All methods failed for H: - trying another letter
2026-10-05 14:46:13 [WARN] All methods failed for G: - trying another letter
2026-10-05 14:46:14 [WARN] All methods failed for F: - trying another letter
2026-10-05 14:46:15 [WARN] All methods failed for E: - trying another letter
2026-10-05 14:46:16 [ERROR] Exhausted all candidate letters for disk 0 part 5
2026-10-05 14:46:16 [INFO] No valid state (missing or stale) - rebuilding
2026-10-05 14:46:18 [INFO] Workspace selected: D:\Temp\WinREWork (344.04 GiB free; minimum 3 GiB)
2026-10-05 14:46:18 [INFO] Checkpoint step: 2
2026-10-05 14:46:18 [INFO] Starting full update
2026-10-05 14:46:18 [INFO] No registered source to fingerprint (WinRE status=Unknown)
2026-10-05 14:46:18 [INFO] Step 2: Obtaining base WIM
2026-10-05 14:50:12 [WARN] Removing stale base.wim before rename: D:\Temp\WinREWork\base.wim
2026-10-05 14:50:12 [INFO] Downloaded base WIM from GitHub
2026-10-05 14:50:12 [INFO] Step 3: Mounting and injecting
2026-10-05 14:50:12 [INFO] Dismounting any WIM mounts under D:\Temp\WinREWork
2026-10-05 14:50:12 [INFO] Removed: D:\Temp\WinREWork\mount
2026-10-05 14:50:12 [WARN] Mount failed: The requested operation requires elevation.

2026-10-05 14:50:12 [ERROR] FATAL ERROR: The requested operation requires elevation.

2026-10-05 14:50:12 [ERROR] Stack: at Invoke-DismMount, C:\Users\Martin\Documents\WinRE-Manager-main\WinRE-Manager-main\scripts\WinRE.ps1: line 2994
at <ScriptBlock>, C:\Users\Martin\Documents\WinRE-Manager-main\WinRE-Manager-main\scripts\WinRE.ps1: line 4535
2026-10-05 14:50:12 [INFO] Released program lock[/WARN][/WARN][/WARN][/WARN][/WARN][/WARN][/WARN][/WARN][/WARN][/INFO][/INFO][/INFO][/INFO][/INFO][/INFO][/INFO][/INFO][/INFO][/INFO][/INFO]
I'm not sure why you're experiencing those issues! I'm not having any problems in the drive letter assignments on the tests I've performed! Perhaps restart and try again? I'm still busy fixing a few extremely minor issues and race conditions, will let you know when latest script is live, meanwhile, you really shouldn't experience those issues with the current live version!
 

My Computer My Computer

At a glance

Windows 11Intel® Core™ i5-11400Samsung 16GB DDR4 3200MHzNvidia GeForce GTX 1660 SUPER
OS
Windows 11
Computer type
PC/Desktop
Manufacturer/Model
Custom Built
CPU
Intel® Core™ i5-11400
Motherboard
ASUS PRIME H510M-D
Memory
Samsung 16GB DDR4 3200MHz
Graphics Card(s)
Nvidia GeForce GTX 1660 SUPER
Sound Card
Onboard
Monitor(s) Displays
Samsung 24"
Screen Resolution
1920 * 1080
Code:
2026-10-05 14:28:24 [INFO] ========== WinRE Manager Started (v47 patch 2) ==========
2026-10-05 14:28:24 [INFO] Acquired program lock at C:\ProgramData\OEM\Logs\WinREManager.lock
2026-10-05 14:28:26 [INFO] Raw CPU string: AMD Ryzen 7 5825U with Radeon Graphics      
2026-10-05 14:28:26 [INFO] Intel generation: N/A
2026-10-05 14:28:26 [INFO] System: AB8139 LX15PRO, MT=Defa, OS=11 (build 26300)
2026-10-05 14:28:28 [INFO] VMD hardware present: False (0 matching device(s) out of 3 pattern(s))
2026-10-05 14:28:28 [INFO] Skipping Intel VMD v19 (11th Gen): no matching VMD hardware detected
2026-10-05 14:28:28 [INFO] Skipping Intel VMD v20 (12th-15th Gen): no matching VMD hardware detected
2026-10-05 14:28:28 [INFO] Required drivers (VMD): 0
2026-10-05 14:28:28 [INFO] DesiredStateId: D9EABA6C945441A58C4556C96DE3D534F4E6284368C49A361B10309784F9FDD1
2026-10-05 14:28:30 [INFO] WinRE status: Unknown, Location: , Version: unknown
2026-10-05 14:28:30 [WARN] All methods failed for Z: - trying another letter
2026-10-05 14:28:31 [WARN] All methods failed for Y: - trying another letter
2026-10-05 14:28:32 [WARN] All methods failed for X: - trying another letter
2026-10-05 14:28:33 [WARN] All methods failed for W: - trying another letter
2026-10-05 14:28:34 [WARN] All methods failed for V: - trying another letter
2026-10-05 14:28:34 [WARN] All methods failed for U: - trying another letter
2026-10-05 14:28:35 [WARN] All methods failed for T: - trying another letter
2026-10-05 14:28:35 [WARN] All methods failed for S: - trying another letter
2026-10-05 14:28:36 [WARN] All methods failed for R: - trying another letter
2026-10-05 14:28:36 [WARN] All methods failed for Q: - trying another letter
2026-10-05 14:28:37 [WARN] All methods failed for P: - trying another letter
2026-10-05 14:28:38 [WARN] All methods failed for O: - trying another letter
2026-10-05 14:28:38 [WARN] All methods failed for N: - trying another letter
2026-10-05 14:28:39 [WARN] All methods failed for M: - trying another letter
2026-10-05 14:28:40 [WARN] All methods failed for L: - trying another letter
2026-10-05 14:28:41 [WARN] All methods failed for K: - trying another letter
2026-10-05 14:28:43 [WARN] All methods failed for J: - trying another letter
2026-10-05 14:28:43 [WARN] All methods failed for I: - trying another letter
2026-10-05 14:28:44 [WARN] All methods failed for H: - trying another letter
2026-10-05 14:28:45 [WARN] All methods failed for G: - trying another letter
2026-10-05 14:28:45 [WARN] All methods failed for F: - trying another letter
2026-10-05 14:28:46 [WARN] All methods failed for E: - trying another letter
2026-10-05 14:28:47 [ERROR] Exhausted all candidate letters for disk 0 part 5
2026-10-05 14:28:47 [INFO] No valid state (missing or stale) - rebuilding
2026-10-05 14:28:49 [INFO] Workspace selected: D:\Temp\WinREWork (345.36 GiB free; minimum 3 GiB)
2026-10-05 14:28:49 [INFO] Checkpoint step: 0
2026-10-05 14:28:49 [INFO] Starting full update
2026-10-05 14:28:49 [INFO] No registered source to fingerprint (WinRE status=Unknown)
2026-10-05 14:28:49 [INFO] Step 2: Obtaining base WIM
2026-10-05 14:32:36 [INFO] Downloaded base WIM from GitHub
2026-10-05 14:32:36 [INFO] Step 3: Mounting and injecting
2026-10-05 14:32:36 [INFO] Dismounting any WIM mounts under D:\Temp\WinREWork
2026-10-05 14:32:37 [WARN] Mount failed: The requested operation requires elevation.

2026-10-05 14:32:37 [ERROR] FATAL ERROR: The requested operation requires elevation.

2026-10-05 14:32:37 [ERROR] Stack: at Invoke-DismMount, C:\Users\Martin\Documents\WinRE-Manager-main\WinRE-Manager-main\scripts\WinRE.ps1: line 2994
at <ScriptBlock>, C:\Users\Martin\Documents\WinRE-Manager-main\WinRE-Manager-main\scripts\WinRE.ps1: line 4535
2026-10-05 14:32:37 [INFO] Released program lock
2026-10-05 14:45:45 [INFO] ========== WinRE Manager Started (v47 patch 2) ==========
2026-10-05 14:45:45 [INFO] Acquired program lock at C:\ProgramData\OEM\Logs\WinREManager.lock
2026-10-05 14:45:48 [INFO] Raw CPU string: AMD Ryzen 7 5825U with Radeon Graphics      
2026-10-05 14:45:48 [INFO] Intel generation: N/A
2026-10-05 14:45:48 [INFO] System: AB8139 LX15PRO, MT=Defa, OS=11 (build 26300)
2026-10-05 14:45:50 [INFO] VMD hardware present: False (0 matching device(s) out of 3 pattern(s))
2026-10-05 14:45:50 [INFO] Skipping Intel VMD v19 (11th Gen): no matching VMD hardware detected
2026-10-05 14:45:50 [INFO] Skipping Intel VMD v20 (12th-15th Gen): no matching VMD hardware detected
2026-10-05 14:45:50 [INFO] Required drivers (VMD): 0
2026-10-05 14:45:50 [INFO] DesiredStateId: D9EABA6C945441A58C4556C96DE3D534F4E6284368C49A361B10309784F9FDD1
2026-10-05 14:45:53 [INFO] WinRE status: Unknown, Location: , Version: unknown
2026-10-05 14:45:55 [WARN] All methods failed for Z: - trying another letter
2026-10-05 14:45:56 [WARN] All methods failed for Y: - trying another letter
2026-10-05 14:45:58 [WARN] All methods failed for X: - trying another letter
2026-10-05 14:46:00 [WARN] All methods failed for W: - trying another letter
2026-10-05 14:46:00 [WARN] All methods failed for V: - trying another letter
2026-10-05 14:46:01 [WARN] All methods failed for U: - trying another letter
2026-10-05 14:46:02 [WARN] All methods failed for T: - trying another letter
2026-10-05 14:46:03 [WARN] All methods failed for S: - trying another letter
2026-10-05 14:46:03 [WARN] All methods failed for R: - trying another letter
2026-10-05 14:46:04 [WARN] All methods failed for Q: - trying another letter
2026-10-05 14:46:05 [WARN] All methods failed for P: - trying another letter
2026-10-05 14:46:05 [WARN] All methods failed for O: - trying another letter
2026-10-05 14:46:06 [WARN] All methods failed for N: - trying another letter
2026-10-05 14:46:07 [WARN] All methods failed for M: - trying another letter
2026-10-05 14:46:08 [WARN] All methods failed for L: - trying another letter
2026-10-05 14:46:10 [WARN] All methods failed for K: - trying another letter
2026-10-05 14:46:10 [WARN] All methods failed for J: - trying another letter
2026-10-05 14:46:12 [WARN] All methods failed for I: - trying another letter
2026-10-05 14:46:13 [WARN] All methods failed for H: - trying another letter
2026-10-05 14:46:13 [WARN] All methods failed for G: - trying another letter
2026-10-05 14:46:14 [WARN] All methods failed for F: - trying another letter
2026-10-05 14:46:15 [WARN] All methods failed for E: - trying another letter
2026-10-05 14:46:16 [ERROR] Exhausted all candidate letters for disk 0 part 5
2026-10-05 14:46:16 [INFO] No valid state (missing or stale) - rebuilding
2026-10-05 14:46:18 [INFO] Workspace selected: D:\Temp\WinREWork (344.04 GiB free; minimum 3 GiB)
2026-10-05 14:46:18 [INFO] Checkpoint step: 2
2026-10-05 14:46:18 [INFO] Starting full update
2026-10-05 14:46:18 [INFO] No registered source to fingerprint (WinRE status=Unknown)
2026-10-05 14:46:18 [INFO] Step 2: Obtaining base WIM
2026-10-05 14:50:12 [WARN] Removing stale base.wim before rename: D:\Temp\WinREWork\base.wim
2026-10-05 14:50:12 [INFO] Downloaded base WIM from GitHub
2026-10-05 14:50:12 [INFO] Step 3: Mounting and injecting
2026-10-05 14:50:12 [INFO] Dismounting any WIM mounts under D:\Temp\WinREWork
2026-10-05 14:50:12 [INFO] Removed: D:\Temp\WinREWork\mount
2026-10-05 14:50:12 [WARN] Mount failed: The requested operation requires elevation.

2026-10-05 14:50:12 [ERROR] FATAL ERROR: The requested operation requires elevation.

2026-10-05 14:50:12 [ERROR] Stack: at Invoke-DismMount, C:\Users\Martin\Documents\WinRE-Manager-main\WinRE-Manager-main\scripts\WinRE.ps1: line 2994
at <ScriptBlock>, C:\Users\Martin\Documents\WinRE-Manager-main\WinRE-Manager-main\scripts\WinRE.ps1: line 4535
2026-10-05 14:50:12 [INFO] Released program lock
Look at this:
2026-10-05 14:32:37 [ERROR] FATAL ERROR: The requested operation requires elevation.


This absolutely gives the game away! You need to open an elevated PowerShell (run as administrator)!
 

My Computer My Computer

At a glance

Windows 11Intel® Core™ i5-11400Samsung 16GB DDR4 3200MHzNvidia GeForce GTX 1660 SUPER
OS
Windows 11
Computer type
PC/Desktop
Manufacturer/Model
Custom Built
CPU
Intel® Core™ i5-11400
Motherboard
ASUS PRIME H510M-D
Memory
Samsung 16GB DDR4 3200MHz
Graphics Card(s)
Nvidia GeForce GTX 1660 SUPER
Sound Card
Onboard
Monitor(s) Displays
Samsung 24"
Screen Resolution
1920 * 1080
My dry run on HP Spectre (see My Computers). My current partition is 1.077GB per Macrorit Partition Expert.
============

Code:
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

PS C:\Users\thele> $p = "$env:TEMP\WinRE.ps1"
PS C:\Users\thele> Invoke-RestMethod -Uri 'https://raw.githubusercontent.com/ArthurJDurand/WinRE-Manager/main/scripts/WinRE.ps1' -UseBasicParsing -OutFile $p
PS C:\Users\thele> powershell -ExecutionPolicy Bypass -File $p -DryRun
2026-10-05 11:45:47 [DRYRUN-INFO] [DRY RUN] Would create: C:\ProgramData\OEM\Logs
2026-10-05 11:45:47 [DRYRUN-INFO] ========== WinRE Manager Started (v47 patch 2) ==========
2026-10-05 11:45:47 [DRYRUN-INFO] *** DRY RUN MODE ***
2026-10-05 11:45:47 [DRYRUN-INFO] [DRY RUN] Skipping program lock - DryRun is read-only and safe to run concurrently with other instances
2026-10-05 11:45:51 [DRYRUN-INFO] Raw CPU string: Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz
2026-10-05 11:45:51 [DRYRUN-INFO] Intel generation: N/A
2026-10-05 11:45:51 [DRYRUN-INFO] System: HP HP Spectre x360 Convertible 13, MT=UNKN, OS=11 (build 26300)
2026-10-05 11:45:52 [DRYRUN-INFO] Downloading HP WinPE map from gist
2026-10-05 11:45:53 [DRYRUN-INFO] HP WinPE map loaded (5 pack entries)
2026-10-05 11:45:53 [DRYRUN-INFO] HP map resolved WinPE1011 -> sp173204 v3.40
2026-10-05 11:45:55 [DRYRUN-INFO] VMD hardware present: False (0 matching device(s) out of 3 pattern(s))
2026-10-05 11:45:55 [DRYRUN-INFO] Skipping Intel VMD v19 (11th Gen): no matching VMD hardware detected
2026-10-05 11:45:55 [DRYRUN-INFO] Skipping Intel VMD v20 (12th-15th Gen): no matching VMD hardware detected
2026-10-05 11:45:55 [DRYRUN-INFO] Required drivers (VMD): 0
2026-10-05 11:45:55 [DRYRUN-INFO] DesiredStateId: 4FD36951C2EC8A977293ECF62BFC73E82ABBBA2A1A25FF81C4423707A110116D
2026-10-05 11:46:00 [DRYRUN-INFO] WinRE status: Enabled, Location: \\?\GLOBALROOT\device\harddisk0\partition4\, Version: 10.0.26100.9444
2026-10-05 11:46:00 [DRYRUN-INFO] [DRY RUN] Would assign a temporary drive letter to disk 0 part 4 for image discovery
2026-10-05 11:46:01 [DRYRUN-INFO] No valid state (missing or stale) - rebuilding
2026-10-05 11:46:01 [DRYRUN-INFO] [DRY RUN] Cannot verify winre.wim at the reagentc-registered GLOBALROOT location without a drive letter (which DryRun does not assign). A live run would Test-Path the WIM and force a rebuild only if it is missing or unreadable.
2026-10-05 11:46:02 [DRYRUN-INFO] Workspace selected: C:\Temp\WinREWork (141.37 GiB free; minimum 3 GiB)
2026-10-05 11:46:02 [DRYRUN-INFO] Checkpoint step: 0
2026-10-05 11:46:02 [DRYRUN-INFO] [DRY RUN] Would create: C:\Temp\WinREWork
2026-10-05 11:46:02 [DRYRUN-INFO] [DRY RUN] Would create: C:\Temp\WinREWork\scratch
2026-10-05 11:46:02 [DRYRUN-INFO] Starting full update
2026-10-05 11:46:02 [DRYRUN-INFO] [DRY RUN] Full update plan (checkpoint step 0):
2026-10-05 11:46:02 [DRYRUN-INFO] [DRY RUN]   Step 1: Clean WorkDir\mount and WorkDir\base.wim
2026-10-05 11:46:02 [DRYRUN-INFO] [DRY RUN]   Step 2: Download base WIM from GitHub and extract to WorkDir\base.wim
2026-10-05 11:46:02 [DRYRUN-INFO] [DRY RUN]   Step 3: Mount base WIM, inject OEM pack (HP - HP sp173204) and no VMD drivers, dismount with -Save
2026-10-05 11:46:02 [DRYRUN-INFO] [DRY RUN]   Step 4: dism /Export-Image /Compress:max to WorkDir\winre_optimized.wim
2026-10-05 11:46:02 [DRYRUN-INFO] [DRY RUN]   Step 5: Find or create dedicated recovery partition, deploy WIM (est. 750 MiB), reagentc /setreimage, reagentc /enable
2026-10-05 11:46:02 [DRYRUN-INFO] [DRY RUN]   Step 6: Clean WorkDir and checkpoint file
2026-10-05 11:46:02 [DRYRUN-INFO] [DRY RUN]   Step 7: Remove stray type-coded recovery partitions on non-OS disks
2026-10-05 11:46:02 [DRYRUN-INFO] [DRY RUN] Would remove: C:\ProgramData\OEM\Logs\winre_checkpoint.txt
 

My Computers My Computers

  • At a glance

    Windows 11 Home, ver 25H2 build 26200.8894Intel Core i5 5200U @ 2.20GH4 GBIntel HD Graphics 5500 on board
    OS
    Windows 11 Home, ver 25H2 build 26200.8894
    Computer type
    Laptop
    Manufacturer/Model
    Hewlett-Packard Spectre 13-4001 x360 convertable
    CPU
    Intel Core i5 5200U @ 2.20GH
    Motherboard
    Hewlett-Packard 802D
    Memory
    4 GB
    Graphics Card(s)
    Intel HD Graphics 5500 on board
    Sound Card
    Intel Smart Sound Technology (Intel SST)
    Hard Drives
    Micron 256GB M.2 2280 NGFF SSD MTFDDAV256TBN, (SATA 6.0 Gb/s)
    Keyboard
    Model # G01KB
    Antivirus
    Microsoft Defender
    Other Info
    born on date: 25 Feb 2016
  • At a glance

    Win 11 Home 25H2 build 26200.8894Intel Core i7 4th Gen 4790 (3.60GHz), Haswell...Samsung 16 GB DDR3 (8GB in 2 modules)NVIDIA GeForce GTX 760, 3GB, and on-board Int...
    Operating System
    Win 11 Home 25H2 build 26200.8894
    Computer type
    PC/Desktop
    Manufacturer/Model
    Asus Desktop model M32AD-US019S (DOM: 6/9/2014 )
    CPU
    Intel Core i7 4th Gen 4790 (3.60GHz), Haswell 22nm Technology, SOCKET 1150
    Motherboard
    H81M-E/M51AD/DP_MB
    Memory
    Samsung 16 GB DDR3 (8GB in 2 modules)
    Graphics card(s)
    NVIDIA GeForce GTX 760, 3GB, and on-board Intel HD Graphics 4600 Rev 6
    Monitor(s) Displays
    HP EliteDisplay E241i LED; HP EliteDisplay E243
    Hard Drives
    Samsung 500GB SSD, 870 EVO (SATA 6.0 )
    Micron 250GB SSD, CT250MX500
    Toshiba HDD, 3GB (original drive w/PC)
    Case
    ASUS
    Keyboard
    ASUS-------------------------
    Antivirus
    MS Defender
    Other Info
    purchased 8/28/2015 from Newegg.
  • HEWLETT PACKARD
    HP OmniBook X Flip NGAI (Next Gen AI),
    Model: 16-as0023dx
    PT# B5UH1UA#ABA Product #: B5UH1UA
    delivered and setup 7/25/25
    16" 2K Touch-Screen Laptop
    Intel Core Ultra 7 256V '24 Series 2 - CPU
    Boost Clock Frequency 4.8 gigahertz; Neural Processing Unit (NPU) Yes;
    16GB Memory, LPDDR5X
    1TB SSD PCIe 4.0
    Graphics: Intel Arc 140V
    1 x HDMI 2.1
    1 x Thunderbolt 4
    2K Touch-Screen display, LED, IPS; 1920 x 1200 (Full HD+)
    USB Ports: 1 x USB-C 3.1, 2 x USB-A 3.1
    Wi-Fi 6E

    DELL
    Model:I7591-7483BLK-PUS 2-in-1 (7000 Series)
    purchased new 12/3/2019,
    15.6 inch 2-IN-1;
    4K Ultra HD Touch-Screen, 3840 x 2160,
    Intel Core i7 10510U CPU 1.80GHz,
    16GB RAM DDR4 SDRAM 2400 megahert (2 slots),
    dedicated graphics Nvidia GeForce MX250 2 GB Graphics,
    PCIe 512GB Intel SSD + 32GB Optane Memory (Intel Optane Memory H10 with solid-state storage),
    wireless-AX & Bluetooth
    Battery: 68wh, Type 4VGMP 4 cell
OK, give me a link to the script you want me to run. I am running your script online.
 

My Computers My Computers

  • At a glance

    Windows 11 Pro 26H2 26300.9550AMD Ryzen 7 5825U with Radeon Graphics16GB
    OS
    Windows 11 Pro 26H2 26300.9550
    Computer type
    Laptop
    Manufacturer/Model
    Acemagic LX15PRO
    CPU
    AMD Ryzen 7 5825U with Radeon Graphics
    Motherboard
    BIOS CT_BI_AMI_LX15PRO_AB8139_A-004
    Memory
    16GB
    Screen Resolution
    1920 x 1080
    Hard Drives
    SSD 2TB
    Internet Speed
    30 Mbps
    Browser
    Brave
    Antivirus
    Webroot SecureAnywhere Complete beta
  • At a glance

    Windows 11 Pro 23H2 22631.2506Atom N450 1.66GHz2GB
    Operating System
    Windows 11 Pro 23H2 22631.2506
    Computer type
    Laptop
    Manufacturer/Model
    HP Mini 210-1090NR PC (bought in late 2009!)
    CPU
    Atom N450 1.66GHz
    Memory
    2GB
    Browser
    Brave
    Antivirus
    Webroot
  • Acer Swift SF114-34 laptop
    OS Windows 11 Pro 26200.8894
    CPU Pentium Silver N6000
    RAM 4GB
    BIOS v1.17
    SSD Samsung 970 EVO Plus SSD 2TB (an upgrade)
Look at this:
2026-10-05 14:32:37 [ERROR] FATAL ERROR: The requested operation requires elevation.


This absolutely gives the game away! You need to open an elevated PowerShell (run as administrator)!
Isn't your script supposed to check for this (or ask to self-elevate)? ElevenForum is mostly a Windows enthusiast site, and not an IT admin community.

If you want to pitch your tool here, adjust the script accordingly.
 

My Computer My Computer

At a glance

Windows 7
OS
Windows 7

My Computer My Computer

At a glance

Windows 11Intel® Core™ i5-11400Samsung 16GB DDR4 3200MHzNvidia GeForce GTX 1660 SUPER
OS
Windows 11
Computer type
PC/Desktop
Manufacturer/Model
Custom Built
CPU
Intel® Core™ i5-11400
Motherboard
ASUS PRIME H510M-D
Memory
Samsung 16GB DDR4 3200MHz
Graphics Card(s)
Nvidia GeForce GTX 1660 SUPER
Sound Card
Onboard
Monitor(s) Displays
Samsung 24"
Screen Resolution
1920 * 1080
Isn't your script supposed to check for this (or ask to self-elevate)? ElevenForum is mostly a Windows enthusiast site, and not an IT admin community.

If you want to pitch your tool here, adjust the script accordingly.
There's a reason for the script not elevating itself! If run without elevation it does a dry run! It's part of the design philosophy with safety and security in mind!
 

My Computer My Computer

At a glance

Windows 11Intel® Core™ i5-11400Samsung 16GB DDR4 3200MHzNvidia GeForce GTX 1660 SUPER
OS
Windows 11
Computer type
PC/Desktop
Manufacturer/Model
Custom Built
CPU
Intel® Core™ i5-11400
Motherboard
ASUS PRIME H510M-D
Memory
Samsung 16GB DDR4 3200MHz
Graphics Card(s)
Nvidia GeForce GTX 1660 SUPER
Sound Card
Onboard
Monitor(s) Displays
Samsung 24"
Screen Resolution
1920 * 1080
I run your script in an elevated powershell window.
 

My Computers My Computers

  • At a glance

    Windows 11 Pro 26H2 26300.9550AMD Ryzen 7 5825U with Radeon Graphics16GB
    OS
    Windows 11 Pro 26H2 26300.9550
    Computer type
    Laptop
    Manufacturer/Model
    Acemagic LX15PRO
    CPU
    AMD Ryzen 7 5825U with Radeon Graphics
    Motherboard
    BIOS CT_BI_AMI_LX15PRO_AB8139_A-004
    Memory
    16GB
    Screen Resolution
    1920 x 1080
    Hard Drives
    SSD 2TB
    Internet Speed
    30 Mbps
    Browser
    Brave
    Antivirus
    Webroot SecureAnywhere Complete beta
  • At a glance

    Windows 11 Pro 23H2 22631.2506Atom N450 1.66GHz2GB
    Operating System
    Windows 11 Pro 23H2 22631.2506
    Computer type
    Laptop
    Manufacturer/Model
    HP Mini 210-1090NR PC (bought in late 2009!)
    CPU
    Atom N450 1.66GHz
    Memory
    2GB
    Browser
    Brave
    Antivirus
    Webroot
  • Acer Swift SF114-34 laptop
    OS Windows 11 Pro 26200.8894
    CPU Pentium Silver N6000
    RAM 4GB
    BIOS v1.17
    SSD Samsung 970 EVO Plus SSD 2TB (an upgrade)
v47 patch 3 is live!
 

My Computer My Computer

At a glance

Windows 11Intel® Core™ i5-11400Samsung 16GB DDR4 3200MHzNvidia GeForce GTX 1660 SUPER
OS
Windows 11
Computer type
PC/Desktop
Manufacturer/Model
Custom Built
CPU
Intel® Core™ i5-11400
Motherboard
ASUS PRIME H510M-D
Memory
Samsung 16GB DDR4 3200MHz
Graphics Card(s)
Nvidia GeForce GTX 1660 SUPER
Sound Card
Onboard
Monitor(s) Displays
Samsung 24"
Screen Resolution
1920 * 1080
I run your script in an elevated PowerShell window.
v47 patch 3 is live! What was the results of elevated PowerShell run?
 

My Computer My Computer

At a glance

Windows 11Intel® Core™ i5-11400Samsung 16GB DDR4 3200MHzNvidia GeForce GTX 1660 SUPER
OS
Windows 11
Computer type
PC/Desktop
Manufacturer/Model
Custom Built
CPU
Intel® Core™ i5-11400
Motherboard
ASUS PRIME H510M-D
Memory
Samsung 16GB DDR4 3200MHz
Graphics Card(s)
Nvidia GeForce GTX 1660 SUPER
Sound Card
Onboard
Monitor(s) Displays
Samsung 24"
Screen Resolution
1920 * 1080
On my Dev box, I had a network drive share pathed to Z$. It seems the script attempts to use that drive letter.
There was an entry displayed about the Z: drive but no errors were reported per se and no changes were made to the RE partition.

The second run was under different conditions; the network drive was disconnected, freeing the Z: drive,
I also deleted the current RE partition which was a porky 1022 MB.
The script created a new recovery partition of 1000 MB (used space of just below 70%).
Quite a shrinkage!
Would you mind testing again with network drive mapped? My latest version v47 patch 3 is live!
 

My Computer My Computer

At a glance

Windows 11Intel® Core™ i5-11400Samsung 16GB DDR4 3200MHzNvidia GeForce GTX 1660 SUPER
OS
Windows 11
Computer type
PC/Desktop
Manufacturer/Model
Custom Built
CPU
Intel® Core™ i5-11400
Motherboard
ASUS PRIME H510M-D
Memory
Samsung 16GB DDR4 3200MHz
Graphics Card(s)
Nvidia GeForce GTX 1660 SUPER
Sound Card
Onboard
Monitor(s) Displays
Samsung 24"
Screen Resolution
1920 * 1080
  • Like
Reactions: OAT
Back
Top Bottom