Apply David's fix to force the registry to be created.
# Create layer registry entries associated with Vulkan SDK from which $mrVulkanDll is from\r
\r
if ($mrVulkanDllInstallDir -ne "") {\r
- New-Item -ErrorAction Ignore -Path HKLM:\SOFTWARE\Khronos\Vulkan\ExplicitLayers | out-null\r
+ New-Item -Force -ErrorAction Ignore -Path HKLM:\SOFTWARE\Khronos\Vulkan\ExplicitLayers | out-null\r
Get-ChildItem $mrVulkanDllInstallDir\Bin -Filter *json |\r
ForEach-Object {\r
New-ItemProperty -Path HKLM:\SOFTWARE\Khronos\Vulkan\ExplicitLayers -Name $mrVulkanDllInstallDir\Bin\$_ -PropertyType DWord -Value 0 | out-null\r