diff --git a/setupScriptInfo.ps1 b/setupScriptInfo.ps1 index 60dc381..2b7ba6c 100644 --- a/setupScriptInfo.ps1 +++ b/setupScriptInfo.ps1 @@ -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 {