si05101974 Posted February 26, 2025 Posted February 26, 2025 Hi Would anyone be able to help, trying run SYSPRP on a Windows 11 build and keep getting this error message and have set windows to create new profiles etc in current UK language, keyboard and rejoin, but still can not get past this error, any help would be greatly appreciated Thanks, Simon Error SYSPRP Package MicrosoftWindows.Speech.en-GB.1_1.0.7.0_x64__cw5n1h2txyewy was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image.
Techyboy19 Posted February 26, 2025 Posted February 26, 2025 (edited) Think it is something to do with the Microsoft speech package being installed for the administrator user but not all users. I fixed a similar issue by running the following as admin in powershell. Get-AppxPackage -Name "MicrosoftWindows.Speech.en-GB*" | Remove-AppxPackage This will remove the package and should let you carry on. Edited February 26, 2025 by Techyboy19 1
si05101974 Posted February 26, 2025 Author Posted February 26, 2025 Thank you I shall give it a try and get back to you
Techyboy19 Posted February 26, 2025 Posted February 26, 2025 No problem, I can’t remember exactly but if your computer has multiple users on it you may need to use the All Users argument instead. Get-AppxPackage -AllUsers -Name "MicrosoftWindows.Speech.en-GB*" | Remove-AppxPackage This should then uninstall and allow sysprep.
si05101974 Posted February 27, 2025 Author Posted February 27, 2025 Thank you but I am still having the same error of SYSPRP Package MicrosoftWindows.Speech.en-GB.1_1.0.7.0_x64__cw5n1h2txyewy was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image. It is annoying! Thanks again in advance!
Julian Posted February 27, 2025 Posted February 27, 2025 Windows 11 has both a repository of packages, and set of installed packages. Thus to fully get rid off a package, you have to remove twice. Please try both of the commands below Get-AppxPackage -AllUsers -Name "MicrosoftWindows.Speech.en-GB*" | Remove-AppxPackage Get-AppxProvisionedPackage -Online | Where-Object DisplayName -eq "MicrosoftWindows.Speech.en-GB*" | Remove-AppxProvisionedPackage -Online 1
Patrick Posted February 27, 2025 Posted February 27, 2025 I've had this issue when running sysprep and I had to delete any local profiles of other users before running it. 1
si05101974 Posted February 27, 2025 Author Posted February 27, 2025 Thank you both will try these out tomorrow.
si05101974 Posted February 28, 2025 Author Posted February 28, 2025 I am now getting an error about the Language pack for same reason as speech, I can not get same code to run with replacing name of the MS file with the new one, nothing I find on google helps, so hopefully someone out there has the answer for me please! Here is the full cut from Panther from when first SYSPRP error occurs? Microsoft.LanguageExperiencePacken-GB_26100.24.38.0_neutral__8wekyb3d8bbwe was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image.2025-02-28 10:49:59, Error SYSPRP Failed to remove apps for the current user: 0x80073cf2. 2025-02-28 10:49:59, Error SYSPRP Exit code of RemoveAllApps thread was 0x3cf2. 2025-02-28 10:49:59, Error SYSPRP ActionPlatform::LaunchModule: Failure occurred while executing 'SysprepGeneralizeValidate' from C:\Windows\System32\AppxSysprep.dll; dwRet = 0x3cf2 2025-02-28 10:49:59, Error SYSPRP SysprepSession::Validate: Error in validating actions from C:\Windows\System32\Sysprep\ActionFiles\Generalize.xml; dwRet = 0x3cf2 2025-02-28 10:49:59, Error SYSPRP RunPlatformActions:Failed while validating Sysprep session actions; dwRet = 0x3cf2 2025-02-28 10:49:59, Error [0x0f0070] SYSPRP RunDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 0x3cf2 2025-02-28 10:49:59, Error [0x0f00d8] SYSPRP WinMain:Hit failure while pre-validate sysprep generalize internal providers; hr = 0x80073cf2 2025-02-28 10:50:01, Info [0x0f0052] SYSPRP Shutting down SysPrep log 2025-02-28 10:50:01, Info [0x0f004d] SYSPRP The time is now 2025-02-28 10:50:01
Techyboy19 Posted February 28, 2025 Posted February 28, 2025 I think you will need to remove this package for the same reasons as above. Please try the following: Remove-AppxPackage -Package Microsoft.LanguageExperiencePacken-GB_26100.24.38.0_neutral__8wekyb3d8bbwe Remove-AppxProvisionedPackage -Online -PackageName Microsoft.LanguageExperiencePacken-GB_26100.24.38.0_neutral__8wekyb3d8bbwe Hopefully this will help. 1
si05101974 Posted March 1, 2025 Author Posted March 1, 2025 Thanks for all your help, that worked. Had few more errors but was able to use same code with replacing the package. Much appreciated everyone
mickyuk Posted March 18, 2025 Posted March 18, 2025 Rather than run the individual apps you can run the generic command Get-AppxPackage -AllUsers | Remove-AppxPackageGet-AppxPackage | Remove-AppxPackage We have founf running the all users doesn't remove the apps for the current users. Also make sure once run you don't open any app including notepad 1
si05101974 Posted March 25, 2025 Author Posted March 25, 2025 Hi I have revisited this and think my brain has died trying to sort this error! Does anyone please have the command to help solve this SYSPRP error please? Any help greatly appreciated thanks 2025-03-25 16:35:31, Error SYSPRP Package Microsoft.Copilot_0.4.2.0_neutral__8wekyb3d8bbwe was installed for a user, but not provisioned for all users. This package will not function properly in the sysprep image.
Techyboy19 Posted March 25, 2025 Posted March 25, 2025 This may work, howver this is not an error I have personally experienced. Get-AppxPackage Microsoft.Copilot_0.4.2.0_neutral__8wekyb3d8bbwe | Remove-AppxPackage Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -eq "Microsoft.Copilot_0.4.2.0_neutral__8wekyb3d8bbwe"} | Remove-AppxProvisionedPackage -Online
si05101974 Posted March 26, 2025 Author Posted March 26, 2025 Thank you but annoyingly still the same error? Get-AppxPackage Microsoft.Copilot_0.4.2.0_neutral__8wekyb3d8bbwe | Remove-AppxPackage Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -eq "Microsoft.Copilot_0.4.2.0_neutral__8wekyb3d8bbwe"} | Remove-AppxProvisionedPackage -Online
mickyuk Posted March 26, 2025 Posted March 26, 2025 PM me and we can set up a remote session if you are struggling.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now