Hello Noordee,
That Zune Music entry is the modern Media Player app. Sysprep can choke if a Store app is installed/updated for any user or still provisioned. Remove both the installed and provisioned copies, then run Sysprep.
Steps (elevated PowerShell):
# 1) Optional but recommended: prevent Store auto-updates during prep
reg add HKLM\SOFTWARE\Policies\Microsoft\WindowsStore /v AutoDownload /t REG_DWORD /d 2 /f
# 2) Remove the app for all users
Get-AppxPackage -AllUsers *ZuneMusic* | Remove-AppxPackage -AllUsers
Get-AppxPackage -AllUsers Microsoft.MediaPlayer* | Remove-AppxPackage -AllUsers
# 3) Remove it from the image so it doesn’t return for new users
Get-AppxProvisionedPackage -Online |
Where-Object {$_.DisplayName -like "*ZuneMusic*" -or $_.DisplayName -like "Microsoft.MediaPlayer*"} |
Remove-AppxProvisionedPackage -Online
DISM alternative (if PowerShell says it’s provisioned/immutable):
dism /online /Get-ProvisionedAppxPackages | findstr /I zune
dism /online /Remove-ProvisionedAppxPackage /PackageName:<name from command above>
Reboot (still offline if possible) and run:
C:\Windows\System32\Sysprep\Sysprep.exe /generalize /oobe /shutdown
If Sysprep still fails, post the exact Sysprep error line from C:\Windows\System32\Sysprep\Panther\setuperr.log and the output of:
Get-AppxPackage -AllUsers *ZuneMusic*,Microsoft.MediaPlayer* | Select Name, PackageFullName
Get-AppxProvisionedPackage -Online | Where DisplayName -match "Zune|MediaPlayer" | Select DisplayName, PackageName
so we can pinpoint the remaining package. I hope you find this helpful!
Regards,
Finn.