Windows 10: Sysprep unable to Generalize Image due to Microsoft OneDriveSync

Discus and support Sysprep unable to Generalize Image due to Microsoft OneDriveSync in Windows 10 Software and Apps to solve the problem; My issue is when I try to generalize my image I get this error: Package Microsoft.OneDriveSync_21220.1024.5.0_neutral_8wekyb3d8bbwe was installed for a... Discussion in 'Windows 10 Software and Apps' started by LRCS_Tech, Mar 14, 2022.

  1. LRCS_Tech Win User

    Sysprep unable to Generalize Image due to Microsoft OneDriveSync


    My issue is when I try to generalize my image I get this error: Package Microsoft.OneDriveSync_21220.1024.5.0_neutral_8wekyb3d8bbwe was installed for a user, but not provisioned for all users. I researched this issue on an earlier attempt at generalizing my image and uninstalled the package no problem and generalized the first time. Now, I run the commands and nothing happens, I try to install the package nothing happens. I remove the entire AppxPackage and I still get this error. It keeps pointing towards this package as the issue even though I have repeatedly "uninstalled" this package. We c

    :)
     
    LRCS_Tech, Mar 14, 2022
    #1

  2. Windows 10 1709 sysprep fail

    Hi,

    I had the same problem, checked the logs and they basically said Windows was unable to remove the Miracast app.

    Tried multiple suggestions, nothing worked until I found this:

    Failed to sysprep and capture Windows 10 Fall Creators 1709

    Basically Microsoft have pushed out their 1709 image without the Miracast app installed, to fix:

    • Copy the C:\Windows\MiracastView folder from a working 1703 build into the C:\Windows directory on the 1709 machine
    • Restart and then run sysprep

    Sysprep should then run successfully!

    Josh
     
    Josh Hackett, Mar 14, 2022
    #2
  3. Pauli O Win User
    Windows 10 - How To Create A Generalized Image With Sysprep?

    That audit step isn't necessary. It is possible to install apps with user ID ('User1') which is created when OS is installed firs time and then run Sysprep /oobe /generalize /shutdown.

    On drawback with this shortcut is that created image has already this 'User1' existing and it can't be used on new installations. On small environment with few PC's this 'User1' can be local admin which will be automatic on all new installations. End users
    can be 'User2', 'User3' .. without admin rights. This work fine with few PC's where installations is made 'manually' with USB installer.

    With large systems where installations are done over network using deployment server it would be better to use sysprep audit mode. Then system boot using system default Administrator (which is not activated by default). Now it's also possible to add apps
    and remove 'User1' before continue sysprep with OOBE. This way captured image don't have any users preinstalled and all new installations are 'clean'.
     
    Pauli O, Mar 14, 2022
    #3
  4. Sysprep unable to Generalize Image due to Microsoft OneDriveSync

    Windows 10 - How To Create A Generalized Image With Sysprep?

    Thank you for the link.

    You said the audit mode step is not necessary for what I'm doing, I can create a user account called User1, install the software I want, and shut it down with the
    "sysprep /oobe /generalize /shutdown" command.

    Why does the article you provided me say to use Audit mode? Is that for deploying over the network?
     
    System76_32, Mar 14, 2022
    #4
Thema:

Sysprep unable to Generalize Image due to Microsoft OneDriveSync

Loading...
  1. Sysprep unable to Generalize Image due to Microsoft OneDriveSync - Similar Threads - Sysprep unable Generalize

  2. Win 11 24H2 Sysprep fails to run to generalize image.

    in Windows 10 Gaming
    Win 11 24H2 Sysprep fails to run to generalize image.: 2025-03-16 21:19:22, Info SYSPRP ActionPlatform::LaunchModule: Executing method 'Sysprep_Clean_Opk' from C:\Windows\System32\spopk.dll 2025-03-16 21:19:23, Error pGetUninstallInterfaceCommon: Failed loading the setupplatform, hr = 0x80070666...
  3. Win 11 24H2 Sysprep fails to run to generalize image.

    in Windows 10 Software and Apps
    Win 11 24H2 Sysprep fails to run to generalize image.: 2025-03-16 21:19:22, Info SYSPRP ActionPlatform::LaunchModule: Executing method 'Sysprep_Clean_Opk' from C:\Windows\System32\spopk.dll 2025-03-16 21:19:23, Error pGetUninstallInterfaceCommon: Failed loading the setupplatform, hr = 0x80070666...
  4. The Virtual Desktop is not Sysprep generalized

    in Windows 10 News
    The Virtual Desktop is not Sysprep generalized: [ATTACH]When deploying a Windows image over Hyper-V or creating a new VDI, you might have encountered an error that says The virtual desktop is not Sysprep generalized. This can be slightly confusing for someone who doesn’t know what Sysprep is and how they can resolve this...
  5. Making Windows Image Without Sysprep Generalize tools, is Wrong?

    in Windows 10 Gaming
    Making Windows Image Without Sysprep Generalize tools, is Wrong?: Dear Microsoft teamI have a question about Windows Image, if i took Windows Image Without Sysprep Generalize tools, I installed all apps and Restated machine and took image with Acronis , and Restored this image in others machines, is this steps Wrong ?Should I make Sysprep...
  6. Making Windows Image Without Sysprep Generalize tools, is Wrong?

    in Windows 10 Software and Apps
    Making Windows Image Without Sysprep Generalize tools, is Wrong?: Dear Microsoft teamI have a question about Windows Image, if i took Windows Image Without Sysprep Generalize tools, I installed all apps and Restated machine and took image with Acronis , and Restored this image in others machines, is this steps Wrong ?Should I make Sysprep...
  7. Making Windows Image Without Sysprep Generalize tools, is Wrong?

    in Windows 10 Installation and Upgrade
    Making Windows Image Without Sysprep Generalize tools, is Wrong?: Dear Microsoft teamI have a question about Windows Image, if i took Windows Image Without Sysprep Generalize tools, I installed all apps and Restated machine and took image with Acronis , and Restored this image in others machines, is this steps Wrong ?Should I make Sysprep...
  8. Sysprep unable to Generalize Image due to Microsoft OneDriveSync

    in Windows 10 Gaming
    Sysprep unable to Generalize Image due to Microsoft OneDriveSync: My issue is when I try to generalize my image I get this error: Package Microsoft.OneDriveSync_21220.1024.5.0_neutral_8wekyb3d8bbwe was installed for a user, but not provisioned for all users. I researched this issue on an earlier attempt at generalizing my image and...
  9. Windows 10 - How To Create A Generalized Image With Sysprep?

    in Windows 10 Drivers and Hardware
    Windows 10 - How To Create A Generalized Image With Sysprep?: Hello everyone, I was wondering on how to create a generalized Windows 10 image with Sysprep? I've looked at various guides on the internet that show how to do this, but they seem to be out of date and are missing certain details. For example, do I have to install...
  10. Error message after generalized sysprep

    in Windows 10 Installation and Upgrade
    Error message after generalized sysprep: I have 2 exactly the same configured Windows installations, both 32bit and 64bit. These Windows installations are referring to other other drives for specific settings, such as: * The users folder is redirected to the `U:\Users` drive * Some programs are installed on the...