Jump to content

Recommended Posts

Posted

I'm trying to sysprep generalize a machine and when I go into setuperr I see these errors but I dont know if I have one issue to fix or multiple.

 

2020-02-18 12:06:30, Error SYSPRP Package AD2F1837.HPPrinterControl_110.1.671.0_x64__v10z8vjag6ke6 was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image.2020-02-18 12:06:30, Error SYSPRP Failed to remove apps for the current user: 0x80073cf2.2020-02-18 12:06:30, Error SYSPRP Exit code of RemoveAllApps thread was 0x3cf2.2020-02-18 12:06:30, Error SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'SysprepGeneralizeValidate' from C:\Windows\System32\AppxSysprep.dll; dwRet = 0x3cf22020-02-18 12:06:30, Error SYSPRP SysprepSession::Validate: Error in validating actions from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml; dwRet = 0x3cf22020-02-18 12:06:30, Error SYSPRP RunPlatformActions:Failed while validating Sysprep session actions; dwRet = 0x3cf22020-02-18 12:06:30, Error [0x0f0070] SYSPRP RunExternalDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x3cf22020-02-18 12:06:30, Error [0x0f00d8] SYSPRP WinMain:Hit failure while pre-validate sysprep generalize internal providers; hr = 0x80073cf2

Posted (edited)

I had a similar problem, fixed it by removing all APPX packages, this may\may not result in windows app store apps not working, but we don't use those so that doesn't matter

 

Boot back into audit mode and run this command in powershell before rerunning sysprep, this will generate plenty of errors in the powershell console, but they appear to be because a lot of the apps aren't already provisioned.

 

Get-AppXProvisionedPackage -Online | Remove-AppxProvisionedPackage -Online

 

Hope this helps

Mike

Edited by mbedford
Posted

Looks like the HPPrinterControl app is causing the issue, how about initially removing that and see if Sysprep then completes

 

Get-AppXProvisionedPackage -Online | Where-Object {$_.PackageName -like "*HPPrinter*"}

 

The following command will remove it...

Get-AppXProvisionedPackage -Online | Where-Object {$_.PackageName -like "*HPPrinter*"} | Remove-AppxProvisionedPackage -Online 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...