sysprep error

Discussion in 'Windows 11' started by egyptian hak, Apr 13, 2025.

  1. egyptian hak

    egyptian hak MDL Senior Member

    Aug 21, 2009
    269
    71
    10
    can any one got this error when using sysprep to make windows installation iso ?
    and how we can resolve this problem?

    upload_2025-4-13_20-26-10.png
     
  2. Shortyportuguese

    Shortyportuguese MDL Addicted

    Apr 3, 2019
    562
    180
    30
    I got this error before, and was when I've uninstalled MS Edge... If you change Windows components, or remove it, this error happens.
     
  3. egyptian hak

    egyptian hak MDL Senior Member

    Aug 21, 2009
    269
    71
    10
    But i didn't make any changes just installed the programs and office
     
  4. Shortyportuguese

    Shortyportuguese MDL Addicted

    Apr 3, 2019
    562
    180
    30
    Some old programs change some Windows DLL's that Windows 11 don't tolerate... Even some customizations can create the conflict with Sysprep... I don't know what you have done, hard to say
     
  5. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,678
    1,692
    150
    Open the log and see what it says?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. egyptian hak

    egyptian hak MDL Senior Member

    Aug 21, 2009
    269
    71
    10
    i do that but i didn't understand so i asked copilot chat Boot and asked about that and also uploaded the log file
    after that he told me that i must uninstall apps by powershell which i was installed it
    after doing this the sysprep worked fine

    upload_2025-4-14_0-53-42.png
     
  7. Shortyportuguese

    Shortyportuguese MDL Addicted

    Apr 3, 2019
    562
    180
    30
    So was likely I said, sysprep is intolerant with some apps and programs...
     
  8. Flipp3r

    Flipp3r MDL Guru

    Feb 11, 2009
    2,025
    981
    90
    Have a look at the log in notepad. You've probably installed some app that isn't provisioned for all users.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. Shortyportuguese

    Shortyportuguese MDL Addicted

    Apr 3, 2019
    562
    180
    30
    That's also really true, and provisioning is a commom problem when creating an image...
     
  10. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,678
    1,692
    150
    Notepad++ is causing problems for me so I run this "Powershell.exe Reset-AppxPackage -Package "NotepadPlusPlus_1.0.0.0_neutral__7njy0v32s6xk6" right after install.
    You can do something similar maybe and try again or have a script install every appx after oobe config
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. Shortyportuguese

    Shortyportuguese MDL Addicted

    Apr 3, 2019
    562
    180
    30
    I have avoided as much as I can to install modern apps when I'm preparing one image.

    I don't know why every new version of Windows gets more and more "sensitive" and much less customizable...
     
  12. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,678
    1,692
    150
    Yea same here. I install Notepad++ from their website so original installer but 9/10 it fails sysprep unfortunately.
    Its the s**tty way of MS
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...