We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d53ba61 commit a5a4d97Copy full SHA for a5a4d97
tiny11maker.ps1
@@ -376,7 +376,7 @@ $wimFilePath = "$($env:SystemDrive)\tiny11\sources\boot.wim"
376
& takeown "/F" $wimFilePath >null
377
& icacls $wimFilePath "/grant" "$($adminGroup.Value):(F)"
378
Set-ItemProperty -Path $wimFilePath -Name IsReadOnly -Value $false
379
-Mount-WindowsImage -ImagePath $ScratchDisk\tiny11\sources\boot.wim -Index 2 -ScratchDirecotry $ScratchDisk\scratchdir
+Mount-WindowsImage -ImagePath $ScratchDisk\tiny11\sources\boot.wim -Index 2 -ScratchDirectory $ScratchDisk\scratchdir
380
Write-Host "Loading registry..."
381
reg load HKLM\zCOMPONENTS $ScratchDisk\scratchdir\Windows\System32\config\COMPONENTS
382
reg load HKLM\zDEFAULT $ScratchDisk\scratchdir\Windows\System32\config\default
0 commit comments