HyperV
Update VM-W11-SYSPREP
winget update
winget update --all
Get-AppxPackage -AllUsers | Where-Object { $_.PackageFullName -like '*Microsoft.Winget.Source*' } | Remove-AppxPackage
C:\Windows\System32\Sysprep\sysprep.exe /generalize /oobe /shutdown /unattend:C:\Windows\System32\Sysprep\unattend.xml
Depoly SBX from SYSPREP
- Deploy VM from SYSPREP by script.
- Create new and set all to new folder
- C:\HyperV\VM-W11-SBX-##\
- Setup for work or school to create local profile
C:\Scripts\Win11Debloat.ps1"
Update VM-W11-SBX-##
winget update
winget update --all