Windows 10 + Sysprep + Generalize + Error
I couldn’t run Sysprep on Windows 10 because some packages were incompatible with Sysprep. But you can do it without the option Generalize.
Fix:
- Run Get-AppxPackage -AllUser | Where PublisherId -eq 8wekyb3d8bbwe | Format-List -Property PackageFullName,PackageUserInformation – you will see what the user blocks running
- Login with this users and run: Remove-AppxPackage -Package <invalid packagefullname from sysprep logs>
- For me it was Skype, .Net 1.1, AppLocker.
Links:
https://support.microsoft.com/en-us/kb/2769827
The automated script to delete all the packages:
$apps=@(
“9E2F88E3.Twitter”
“ClearChannelRadioDigital.iHeartRadio”
“Flipboard.Flipboard”
“king.com.CandyCrushSodaSaga”
“Microsoft.3DBuilder”
#”Microsoft.Appconnector”
“Microsoft.BingFinance”
“Microsoft.BingNews”
“Microsoft.BingSports”
“Microsoft.BingWeather”
“Microsoft.CommsPhone”
“Microsoft.Getstarted”
#”Microsoft.Messaging”
“Microsoft.MicrosoftOfficeHub”
“Microsoft.MicrosoftSolitaireCollection”
“Microsoft.Office.OneNote”
“Microsoft.Office.Sway”
“Microsoft.People”
“Microsoft.SkypeApp”
“Microsoft.Windows.Phone”
“Microsoft.Windows.Photos”
“Microsoft.WindowsAlarms”
#”Microsoft.WindowsCalculator”
“Microsoft.WindowsCamera”
“Microsoft.WindowsMaps”
“Microsoft.WindowsPhone”
“Microsoft.WindowsSoundRecorder”
#”Microsoft.WindowsStore”
“Microsoft.XboxApp”
“Microsoft.ZuneMusic”
“Microsoft.ZuneVideo”
#”microsoft.windowscommunicationsapps”
“Microsoft.MinecraftUWP”
“ShazamEntertainmentLtd.Shazam”
)foreach ($app in $apps) {
Get-AppxPackage -Name $app -AllUsers | Remove-AppxPackage
Get-AppXProvisionedPackage -Online | where DisplayName -EQ $app | Remove-AppxProvisionedPackage -Online$appPath=”$Env:LOCALAPPDATA\Packages\$app*”
Remove-Item $appPath -Recurse -Force -ErrorAction 0
}
Ubuntu 14.04 + grey screen in VNC Delete an upgrade notification to Windows 10
Comments are currently closed.