Windows 11 25H2 Sysprep: Fix "Validate Installation" Error (OOBE/Generalize Guide)
Автор: Darien's Tips
Загружено: 2025-10-19
Просмотров: 1186
Описание:
Windows 11 25H2 Sysprep: Fix "Validate Installation" Error. In this step-by-step OOBE/generalize guide walkthrough, I show how to fix common Sysprep failures when preparing a Windows 11 gold image. We’ll cover reading setupact.log/setuperr.log, clearing pending updates, fully disabling BitLocker, removing problem Appx packages, and best practices before you /generalize to OOBE.
#windows11 #sysprep #25h2 #powershell
Applies to:
✅ Windows 11
✅ Windows 10
✅ Windows Server 2025
✅ Windows Server 2022
✅ Windows Server 2019
✅ Windows Server 2016
Chapters:
0:00 Introduction
0:30 Prep for Sysprep
3:05 Run Sysprep
3:41 Check Setupact.log and Setuperr.log
4:52 Disable BitLocker for Sysprep
5:42 Remove AppxPackages for Sysprep
6:36 Sysprep Success
7:20 Capture the Windows Partition
8:22 Caveats and Notes
9:39 Thank you for watching
10:02 Links & Resources
Glossary:
25H2 =2025, Second half of the year
DISM = Deployment Image Servicing and Management
EFI = Extensible Firmware Interface
FFU = Full Flash Update
GUI = Graphical User Interface
HID = Human Interface Devices
IoT = Internet of Things
MDM = Mobile Device Management
OEM = Original Equipment Manufacturer
OOBE = Out Of Box Experience
SID = Security Identifier
USB = Universal Serial Bus
VHDX = Virtual Hard Disk Extended
WIM = Windows Imaging Format
WinPE = Windows Preinstallation Environment
GitHub:
https://github.com/DariensTips
Commands:
Get-LocalUser -Name Administrator
Enable-LocalUser -Name Administrator
Set-LocalUser -Name Administrator -Password (Read-Host -AsSecureString "Set local Administrator password")
quser
logoff [ID]
(Get-Item 'HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager').GetValue('PendingFileRenameOperations',$null)
dism /online /get-packages | findstr /i "Install Pending"
& "$env:SystemRoot\System32\Sysprep\sysprep.exe" /oobe /generalize /shutdown
Get-Content C:\Windows\System32\Sysprep\Panther\setupact.log -Tail 200 -Wait
Get-BitLockerVolume
manage-bde -status
Disable-BitLocker -MountPoint c:
manage-bde -off C:
Remove-AppxPackage -AllUsers -Package [badappxpackage]
Remove-AppxProvisionedPackage -Online -PackageName [badprovisionedappxpackage]
Links:
https://learn.microsoft.com/en-us/pow...
https://learn.microsoft.com/en-us/pow...
https://learn.microsoft.com/en-us/win...
https://learn.microsoft.com/en-us/win...
https://learn.microsoft.com/en-us/win...
https://learn.microsoft.com/en-us/win...
https://learn.microsoft.com/en-us/win...
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: