From a5a4d979941e39c55bb5e9ee3cc66e96a7e7d094 Mon Sep 17 00:00:00 2001 From: Karl Wester-Ebbinghaus <45657752+Karl-WE@users.noreply.github.com> Date: Thu, 7 Nov 2024 00:45:53 +0100 Subject: [PATCH] Update tiny11maker.ps1 fixed typo -ScratchDirectory (2) --- tiny11maker.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tiny11maker.ps1 b/tiny11maker.ps1 index 8ae5088..64f215b 100644 --- a/tiny11maker.ps1 +++ b/tiny11maker.ps1 @@ -376,7 +376,7 @@ $wimFilePath = "$($env:SystemDrive)\tiny11\sources\boot.wim" & takeown "/F" $wimFilePath >null & icacls $wimFilePath "/grant" "$($adminGroup.Value):(F)" Set-ItemProperty -Path $wimFilePath -Name IsReadOnly -Value $false -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 Write-Host "Loading registry..." reg load HKLM\zCOMPONENTS $ScratchDisk\scratchdir\Windows\System32\config\COMPONENTS reg load HKLM\zDEFAULT $ScratchDisk\scratchdir\Windows\System32\config\default