After SysPrep, the installation failed.


DMD

Well-known member
Member
Local time
6:10 PM
Posts
218
OS
W11
Good morning.
I noticed some strange behavior after the SySPrep Audit Mode procedure.
I tried both the W11 24H2 ISO and the new 25H2 ISO to run some tests in audit mode, without including any updates or apps.
Then I generalized and shut down the system, and the virtual machine ended the session normally without any SysPrep errors.
When I install the generalized ISO to verify the ISO I created, I get an installation error.

Screenshot-2025-10-02-132925.png


Then I performed a specific test:
I decompressed the ISO 23H2 and replaced the “boot” folder and the “install.wim” file taken from the ISO 24H2/25H2.
In the virtual machine, following the usual procedure in Audit Mode, I performed the generalization without any problems.
When installing the ISO created to verify the procedure, the operating system installs normally without any error messages.
So I cannot understand the causes of the error I was getting previously with the original 24H2 and 25H2 disk structure.

Thanks for the advice.
 

My Computer

System One

  • OS
    W11
    Computer type
    PC/Desktop
    CPU
    CPU AMD Ryzen 9 7950X
    Motherboard
    ASUS ROG Strix X670E-F Gaming WiFi
    Memory
    G.Skill Flare X5 32GB Kit DDR5-6000 CL32 (F5-6000J3238F16GX2-FX5)
    Monitor(s) Displays
    LG E2381VR
    Screen Resolution
    1920x1080
    Hard Drives
    1x Samsung Memorie MZ-V8P1T0B 980 PRO SSD 1TB
    2x Western Digital WD Red Nas 4TB
    PSU
    SEASONIC FOCUS PX-850 Plus Platinum
    Case
    Corsair 4000D Airflow
    Cooling
    ARCTIC Liquid Freezer II 280 A-RGB
    Keyboard
    Logitech G510
    Mouse
    Logitech G502 HERO
    Browser
    Firefox
    Antivirus
    Avg free
    Other Info
    Download: 90 Mbps
    Upload: 20Mbps
Removed Windows.old when you're doing sysprep? That's a change introduced by 24H2.
 

My Computer

System One

  • OS
    Windows 7
Yes, I removed
Windows.old
and, to be on the safe side, I also ran the app cleanup command for the audit user.
Code:
PowerShell.exe -NoProfile -ExecutionPolicy Bypass -Command "Get-AppxPackage | Remove-AppxPackage"

I wanted to specify that the error message occurs at 75% of the installation.
 

My Computer

System One

  • OS
    W11
    Computer type
    PC/Desktop
    CPU
    CPU AMD Ryzen 9 7950X
    Motherboard
    ASUS ROG Strix X670E-F Gaming WiFi
    Memory
    G.Skill Flare X5 32GB Kit DDR5-6000 CL32 (F5-6000J3238F16GX2-FX5)
    Monitor(s) Displays
    LG E2381VR
    Screen Resolution
    1920x1080
    Hard Drives
    1x Samsung Memorie MZ-V8P1T0B 980 PRO SSD 1TB
    2x Western Digital WD Red Nas 4TB
    PSU
    SEASONIC FOCUS PX-850 Plus Platinum
    Case
    Corsair 4000D Airflow
    Cooling
    ARCTIC Liquid Freezer II 280 A-RGB
    Keyboard
    Logitech G510
    Mouse
    Logitech G502 HERO
    Browser
    Firefox
    Antivirus
    Avg free
    Other Info
    Download: 90 Mbps
    Upload: 20Mbps
Boot into normal WinPE, Shift-10 to open a CMD and examine your partially installed Windows system.

Look under the \Windows\Panther and Panther\UnattendGC logs for any clues to why the install failed.
 

My Computer

System One

  • OS
    Windows 7
Yes, I removed
Windows.old
and, to be on the safe side, I also ran the app cleanup command for the audit user.
Code:
PowerShell.exe -NoProfile -ExecutionPolicy Bypass -Command "Get-AppxPackage | Remove-AppxPackage"

I wanted to specify that the error message occurs at 75% of the installation.
Sometimes onedrive with private folders causes it to fail. I uninstall onedrive before sysprepping (and creating custom isos) and reinstate after installtion.
 

My Computer

System One

  • OS
    Windows 11 Pro + Win11 Canary VM.
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Zenbook 14
    CPU
    I9 13th gen i9-13900H 2.60 GHZ
    Motherboard
    Yep, Laptop has one.
    Memory
    16 GB soldered
    Graphics Card(s)
    Integrated Intel Iris XE
    Sound Card
    Realtek built in
    Monitor(s) Displays
    laptop OLED screen
    Screen Resolution
    2880x1800 touchscreen
    Hard Drives
    1 TB NVME SSD (only weakness is only one slot)
    PSU
    Internal + 65W thunderbolt USB4 charger
    Case
    Yep, got one
    Cooling
    Stella Artois (UK pint cans - 568 ml) - extra cost.
    Keyboard
    Built in UK keybd
    Mouse
    Bluetooth , wireless dongled, wired
    Internet Speed
    900 mbs (ethernet), wifi 6 typical 350-450 mb/s both up and down
    Browser
    Edge
    Antivirus
    Defender
    Other Info
    TPM 2.0, 2xUSB4 thunderbolt, 1xUsb3 (usb a), 1xUsb-c, hdmi out, 3.5 mm audio out/in combo, ASUS backlit trackpad (inc. switchable number pad)

    Macrium Reflect Home V8
    Office 365 Family (6 users each 1TB onedrive space)
    Hyper-V (a vm runs almost as fast as my older laptop)
One Drive is not present.
These are the apps present in Audit mode, before generalizing and shutting down the virtual machine.
However, the generalization does not return any SysPrep errors.
Code:
Name                                        PackageFullName                                                         
----                                        ---------------                                                         
1527c705-839a-4832-9118-54d4Bd6a0c89        1527c705-839a-4832-9118-54d4Bd6a0c89_10.0.19640.1000_neutral_neutral_cw5...
c5e2524a-ea46-4f67-841f-6a9465d9d515        c5e2524a-ea46-4f67-841f-6a9465d9d515_10.0.26100.1_neutral_neutral_cw5n1h...
E2A4F912-2574-4A75-9BB0-0D023378592B        E2A4F912-2574-4A75-9BB0-0D023378592B_10.0.19640.1000_neutral_neutral_cw5...
F46D4000-FD22-4DB4-AC8E-4E1DDDE828FE        F46D4000-FD22-4DB4-AC8E-4E1DDDE828FE_10.0.26100.1_neutral_neutral_cw5n1h...
Microsoft.AAD.BrokerPlugin                  Microsoft.AAD.BrokerPlugin_1000.19580.1000.2_neutral_neutral_cw5n1h2txyewy
Microsoft.AccountsControl                   Microsoft.AccountsControl_10.0.26100.1_neutral__cw5n1h2txyewy           
Microsoft.AsyncTextService                  Microsoft.AsyncTextService_10.0.26100.1_neutral__8wekyb3d8bbwe           
Microsoft.BioEnrollment                     Microsoft.BioEnrollment_10.0.19587.1000_neutral__cw5n1h2txyewy           
Microsoft.CredDialogHost                    Microsoft.CredDialogHost_10.0.19595.1001_neutral__cw5n1h2txyewy         
Microsoft.ECApp                             Microsoft.ECApp_10.0.26100.4061_neutral__8wekyb3d8bbwe                   
Microsoft.LockApp                           Microsoft.LockApp_10.0.26100.4202_neutral__cw5n1h2txyewy                 
Microsoft.MicrosoftEdgeDevToolsClient       Microsoft.MicrosoftEdgeDevToolsClient_1000.25128.1000.0_neutral_neutral_...
Microsoft.Win32WebViewHost                  Microsoft.Win32WebViewHost_10.0.26100.1_neutral_neutral_cw5n1h2txyewy   
Microsoft.Windows.Apprep.ChxApp             Microsoft.Windows.Apprep.ChxApp_1000.25128.1000.0_neutral_neutral_cw5n1h...
Microsoft.Windows.AssignedAccessLockApp     Microsoft.Windows.AssignedAccessLockApp_1000.25128.1000.0_neutral_neutra...
Microsoft.Windows.AugLoop.CBS               Microsoft.Windows.AugLoop.CBS_1.1126.2131.0_x64__8wekyb3d8bbwe           
Microsoft.Windows.CapturePicker             Microsoft.Windows.CapturePicker_10.0.19580.1000_neutral__cw5n1h2txyewy   
Microsoft.Windows.CloudExperienceHost       Microsoft.Windows.CloudExperienceHost_10.0.26100.1_neutral_neutral_cw5n1...
Microsoft.Windows.OOBENetworkCaptivePortal  Microsoft.Windows.OOBENetworkCaptivePortal_10.0.26100.1000_neutral__cw5n...
Microsoft.Windows.OOBENetworkConnectionFlow Microsoft.Windows.OOBENetworkConnectionFlow_10.0.21302.1000_neutral__cw5...
Microsoft.Windows.ParentalControls          Microsoft.Windows.ParentalControls_1000.25128.1000.0_neutral_neutral_cw5...
Microsoft.Windows.PeopleExperienceHost      Microsoft.Windows.PeopleExperienceHost_10.0.26100.1_neutral_neutral_cw5n...
Microsoft.Windows.PinningConfirmationDialog Microsoft.Windows.PinningConfirmationDialog_1000.25140.1001.0_neutral__c...
Microsoft.Windows.PrintQueueActionCenter    Microsoft.Windows.PrintQueueActionCenter_1.0.2.0_neutral_neutral_cw5n1h2...
Microsoft.Windows.SecureAssessmentBrowser   Microsoft.Windows.SecureAssessmentBrowser_10.0.26100.1_neutral_neutral_c...
Microsoft.Windows.ShellExperienceHost       Microsoft.Windows.ShellExperienceHost_10.0.26100.5074_neutral_neutral_cw...
Microsoft.Windows.StartMenuExperienceHost   Microsoft.Windows.StartMenuExperienceHost_10.0.26100.4768_neutral_neutra...
Microsoft.Windows.XGpuEjectDialog           Microsoft.Windows.XGpuEjectDialog_10.0.26100.1_neutral_neutral_cw5n1h2tx...
MicrosoftWindows.54792954.Filons            MicrosoftWindows.54792954.Filons_1000.26100.6584.0_x64__cw5n1h2txyewy   
MicrosoftWindows.Client.CBS                 MicrosoftWindows.Client.CBS_1000.26100.234.0_x64__cw5n1h2txyewy         
MicrosoftWindows.Client.CoreAI              MicrosoftWindows.Client.CoreAI_1000.26100.6584.0_x64__cw5n1h2txyewy     
MicrosoftWindows.Client.Core                MicrosoftWindows.Client.Core_1000.26100.78.0_x64__cw5n1h2txyewy         
MicrosoftWindows.Client.FileExp             MicrosoftWindows.Client.FileExp_1000.26100.4.0_x64__cw5n1h2txyewy       
MicrosoftWindows.Client.OOBE                MicrosoftWindows.Client.OOBE_1000.26100.15.0_x64__cw5n1h2txyewy         
MicrosoftWindows.Client.Photon              MicrosoftWindows.Client.Photon_1000.26100.10.0_x64__cw5n1h2txyewy       
MicrosoftWindows.UndockedDevKit             MicrosoftWindows.UndockedDevKit_10.0.26100.1_neutral_neutral_cw5n1h2txyewy
Windows.CBSPreview                          Windows.CBSPreview_10.0.19580.1000_neutral_neutral_cw5n1h2txyewy         
windows.immersivecontrolpanel               windows.immersivecontrolpanel_10.0.8.1000_neutral_neutral_cw5n1h2txyewy 
Windows.PrintDialog                         Windows.PrintDialog_6.2.3.0_neutral_neutral_cw5n1h2txyewy               
Microsoft.Windows.NarratorQuickStart        Microsoft.Windows.NarratorQuickStart_10.0.26100.1_neutral_neutral_8wekyb...
Microsoft.SecHealthUI                       Microsoft.SecHealthUI_1000.26100.6584.0_x64__8wekyb3d8bbwe               
Microsoft.VCLibs.140.00                     Microsoft.VCLibs.140.00_14.0.33519.0_x64__8wekyb3d8bbwe                 
Microsoft.VCLibs.140.00                     Microsoft.VCLibs.140.00_14.0.33519.0_x86__8wekyb3d8bbwe                 
Microsoft.VCLibs.140.00.UWPDesktop          Microsoft.VCLibs.140.00.UWPDesktop_14.0.33728.0_x64__8wekyb3d8bbwe       
Microsoft.VCLibs.140.00.UWPDesktop          Microsoft.VCLibs.140.00.UWPDesktop_14.0.33728.0_x86__8wekyb3d8bbwe       
Microsoft.UI.Xaml.2.8                       Microsoft.UI.Xaml.2.8_8.2501.31001.0_x64__8wekyb3d8bbwe                 
Microsoft.UI.Xaml.2.8                       Microsoft.UI.Xaml.2.8_8.2501.31001.0_x86__8wekyb3d8bbwe                 
Microsoft.WindowsStore                      Microsoft.WindowsStore_22503.1400.1.0_x64__8wekyb3d8bbwe                 
Microsoft.NET.Native.Framework.2.2          Microsoft.NET.Native.Framework.2.2_2.2.29512.0_x64__8wekyb3d8bbwe       
Microsoft.NET.Native.Framework.2.2          Microsoft.NET.Native.Framework.2.2_2.2.29512.0_x86__8wekyb3d8bbwe       
Microsoft.NET.Native.Runtime.2.2            Microsoft.NET.Native.Runtime.2.2_2.2.28604.0_x64__8wekyb3d8bbwe         
Microsoft.NET.Native.Runtime.2.2            Microsoft.NET.Native.Runtime.2.2_2.2.28604.0_x86__8wekyb3d8bbwe         
Microsoft.ScreenSketch                      Microsoft.ScreenSketch_11.2508.25.0_x64__8wekyb3d8bbwe                   
Microsoft.WindowsAppRuntime.1.5             Microsoft.WindowsAppRuntime.1.5_5001.373.1736.0_x64__8wekyb3d8bbwe       
Microsoft.WindowsAppRuntime.1.5             Microsoft.WindowsAppRuntime.1.5_5001.373.1736.0_x86__8wekyb3d8bbwe       
Microsoft.Paint                             Microsoft.Paint_11.2508.361.0_x64__8wekyb3d8bbwe                         
Microsoft.WindowsAppRuntime.1.7             Microsoft.WindowsAppRuntime.1.7_7000.617.2103.0_x64__8wekyb3d8bbwe       
Microsoft.WindowsAppRuntime.1.7             Microsoft.WindowsAppRuntime.1.7_7000.617.2103.0_x86__8wekyb3d8bbwe       
Microsoft.DesktopAppInstaller               Microsoft.DesktopAppInstaller_1.24.25199.0_x64__8wekyb3d8bbwe
 

My Computer

System One

  • OS
    W11
    Computer type
    PC/Desktop
    CPU
    CPU AMD Ryzen 9 7950X
    Motherboard
    ASUS ROG Strix X670E-F Gaming WiFi
    Memory
    G.Skill Flare X5 32GB Kit DDR5-6000 CL32 (F5-6000J3238F16GX2-FX5)
    Monitor(s) Displays
    LG E2381VR
    Screen Resolution
    1920x1080
    Hard Drives
    1x Samsung Memorie MZ-V8P1T0B 980 PRO SSD 1TB
    2x Western Digital WD Red Nas 4TB
    PSU
    SEASONIC FOCUS PX-850 Plus Platinum
    Case
    Corsair 4000D Airflow
    Cooling
    ARCTIC Liquid Freezer II 280 A-RGB
    Keyboard
    Logitech G510
    Mouse
    Logitech G502 HERO
    Browser
    Firefox
    Antivirus
    Avg free
    Other Info
    Download: 90 Mbps
    Upload: 20Mbps
Good morning.
I noticed some strange behavior after the SySPrep Audit Mode procedure.
I tried both the W11 24H2 ISO and the new 25H2 ISO to run some tests in audit mode, without including any updates or apps.
Then I generalized and shut down the system, and the virtual machine ended the session normally without any SysPrep errors.
When I install the generalized ISO to verify the ISO I created, I get an installation error.

Screenshot-2025-10-02-132925.png


Then I performed a specific test:
I decompressed the ISO 23H2 and replaced the “boot” folder and the “install.wim” file taken from the ISO 24H2/25H2.
In the virtual machine, following the usual procedure in Audit Mode, I performed the generalization without any problems.
When installing the ISO created to verify the procedure, the operating system installs normally without any error messages.
So I cannot understand the causes of the error I was getting previously with the original 24H2 and 25H2 disk structure.

Thanks for the advice.
Ciao, scusa per il disturbo, ultimamente stavo cercando di fare un sysprep sulla stessa build, hai mai capito quale fosse il problema? anche a me dava lo stesso errore però solo dopo il messaggio di reboot, poi non si riavviava mai.
 

My Computer

System One

  • OS
    Arch Linux
    Computer type
    PC/Desktop
    Manufacturer/Model
    none
Ciao, scusa per il disturbo, ultimamente stavo cercando di fare un sysprep sulla stessa build, hai mai capito quale fosse il problema? anche a me dava lo stesso errore però solo dopo il messaggio di reboot, poi non si riavviava mai.
Translation
Hi, sorry for the trouble, lately I was trying to do a sysprep on the same build, did you ever understand what the problem was? it gave me the same error but only after the reboot message, then it never rebooted.

This is an English only forum. Please post in English. If you need help try Google or Bing translate
 

My Computers

System One System Two

  • OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    Self built
    CPU
    Ryzen 9 5900X
    Motherboard
    Asus X570 ROG Crosshair Viii Hero
    Memory
    G Skill 32 GB DDR4-3600
    Graphics Card(s)
    EVGA RTX 3080 FTW3 Ultra
    Sound Card
    Creative Sound Blaster Zx
    Monitor(s) Displays
    Asus ROG Swift 165Hz 2560X1440/ 2x 1920X1080
    Screen Resolution
    2560X1440 165 Hz
    Hard Drives
    2 X 1 TB NVME drives
    1 X Samsung 500 GB NVME
    PSU
    EVGA 850 Supernova Gold
    Case
    Phanteks Eclipse P400A
    Cooling
    EVGA 280mm AIO
    Keyboard
    Logitech G510s
    Mouse
    Logitech G502
    Internet Speed
    24/1
    Browser
    Firefox/Vivaldi
    Antivirus
    ESET Smart Security/Malwarebytes/Superantispyware
    Other Info
    Sennheiser PC37X Headset
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Dell 16 Plus
    CPU
    Intel Ultra 9 288V
    Memory
    32 GB LPDDR5X 8533
    Monitor(s) Displays
    16" Mini-LED HDR 600 90Hz Touch
    Screen Resolution
    2560x1600
    Hard Drives
    1 TB NVME M.2 SSD
Translation


This is an English only forum. Please post in English. If you need help try Google or Bing translate
posted only cuz the op speaks the same language as me, wasn’t aware, never have i stepped foot here before and i don’t need help with english tyvm xoxo
 

My Computer

System One

  • OS
    Arch Linux
    Computer type
    PC/Desktop
    Manufacturer/Model
    none
Ciao, scusa per il disturbo, ultimamente stavo cercando di fare un sysprep sulla stessa build, hai mai capito quale fosse il problema? anche a me dava lo stesso errore però solo dopo il messaggio di reboot, poi non si riavviava mai.
Now I can run and complete the SysPrep procedure without errors, even using the same ISO 25H2.

The basic requirements for running Audit mode and then completing the SyS Prep procedure without errors are to work with ISO without any autounattend files and to delete all AppBundles for Audit users.
 

My Computer

System One

  • OS
    W11
    Computer type
    PC/Desktop
    CPU
    CPU AMD Ryzen 9 7950X
    Motherboard
    ASUS ROG Strix X670E-F Gaming WiFi
    Memory
    G.Skill Flare X5 32GB Kit DDR5-6000 CL32 (F5-6000J3238F16GX2-FX5)
    Monitor(s) Displays
    LG E2381VR
    Screen Resolution
    1920x1080
    Hard Drives
    1x Samsung Memorie MZ-V8P1T0B 980 PRO SSD 1TB
    2x Western Digital WD Red Nas 4TB
    PSU
    SEASONIC FOCUS PX-850 Plus Platinum
    Case
    Corsair 4000D Airflow
    Cooling
    ARCTIC Liquid Freezer II 280 A-RGB
    Keyboard
    Logitech G510
    Mouse
    Logitech G502 HERO
    Browser
    Firefox
    Antivirus
    Avg free
    Other Info
    Download: 90 Mbps
    Upload: 20Mbps
Back
Top Bottom