mirror of
https://github.com/ntdevlabs/tiny11builder.git
synced 2025-12-18 01:14:13 +00:00
commit
00e7d8a151
1 changed files with 1 additions and 1 deletions
|
|
@ -387,7 +387,7 @@ reg unload HKLM\zNTUSER | Out-Null
|
||||||
reg unload HKLM\zSOFTWARE | Out-Null
|
reg unload HKLM\zSOFTWARE | Out-Null
|
||||||
reg unload HKLM\zSYSTEM | Out-Null
|
reg unload HKLM\zSYSTEM | Out-Null
|
||||||
Write-Output "Cleaning up image..."
|
Write-Output "Cleaning up image..."
|
||||||
Repair-WindowsImage -Path $ScratchDisk\scratchdir -StartComponentCleanup -ResetBase
|
dism.exe /Image:$ScratchDisk\scratchdir /Cleanup-Image /StartComponentCleanup /ResetBase
|
||||||
Write-Output "Cleanup complete."
|
Write-Output "Cleanup complete."
|
||||||
Write-Output ' '
|
Write-Output ' '
|
||||||
Write-Output "Unmounting image..."
|
Write-Output "Unmounting image..."
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue