Skip to content

Commit a5a4d97

Browse files
authored
Update tiny11maker.ps1
fixed typo -ScratchDirectory (2)
1 parent d53ba61 commit a5a4d97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tiny11maker.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ $wimFilePath = "$($env:SystemDrive)\tiny11\sources\boot.wim"
376376
& takeown "/F" $wimFilePath >null
377377
& icacls $wimFilePath "/grant" "$($adminGroup.Value):(F)"
378378
Set-ItemProperty -Path $wimFilePath -Name IsReadOnly -Value $false
379-
Mount-WindowsImage -ImagePath $ScratchDisk\tiny11\sources\boot.wim -Index 2 -ScratchDirecotry $ScratchDisk\scratchdir
379+
Mount-WindowsImage -ImagePath $ScratchDisk\tiny11\sources\boot.wim -Index 2 -ScratchDirectory $ScratchDisk\scratchdir
380380
Write-Host "Loading registry..."
381381
reg load HKLM\zCOMPONENTS $ScratchDisk\scratchdir\Windows\System32\config\COMPONENTS
382382
reg load HKLM\zDEFAULT $ScratchDisk\scratchdir\Windows\System32\config\default

0 commit comments

Comments
 (0)