Update setupScriptInfo.ps1

This commit is contained in:
2023-10-16 10:03:51 +00:00
parent bd2e9820fa
commit a00a1e17a1

View File

@@ -69,7 +69,7 @@ function SetRegistry {
)
if( -not (Test-Path -Path $regpath -PathType Container) ) {
New-Item -Path $regpath -Force
New-Item -Path $regpath -Force -ItemType Registry
New-ItemProperty -Path $regpath -Name $regproperty -Value 1 -PropertyType DWord
}
else {