Skip to content

Sysprep Errors

Error: Sysprep fails with BitLocker error

Solution:

Terminal window
# Check BitLocker status
Get-BitLockerVolume -MountPoint "C:"
# Disable BitLocker
Disable-BitLocker -MountPoint "C:"
# Wait for decryption
Get-BitLockerVolume -MountPoint "C:" | Select-Object VolumeStatus
# Retry Sysprep when VolumeStatus = FullyDecrypted

Error: Sysprep fails due to provisioned apps (e.g., Office Hub)

Check error log:

Terminal window
Get-Content C:\Windows\System32\Sysprep\Panther\setuperr.log

Solution:

Terminal window
# Remove problematic app
Get-AppxProvisionedPackage -Online | Where-Object {$_.DisplayName -like "*OfficeHub*"} | Remove-AppxProvisionedPackage -Online
# Retry Sysprep

Cause: Logged in during Sysprep (via RDP)

Solution:

  1. Force stop VM in Proxmox
  2. Start VM
  3. Run Sysprep again via noVNC only
  4. Do NOT log in or connect via RDP during Sysprep!