diff --git a/docs/solutions/windows/scripts/disable-insider-ui-page.ps1 b/docs/solutions/windows/scripts/disable-insider-ui-page.ps1 new file mode 100644 index 0000000000..d28ddc5a32 --- /dev/null +++ b/docs/solutions/windows/scripts/disable-insider-ui-page.ps1 @@ -0,0 +1,9 @@ +# Disable Windows Insider opt-in UI page + +# Verify that the registry path exists, and creates it if not. +$regPath = "HKLM:\SOFTWARE\Microsoft\WindowsSelfHost\UI\Visibility" +if (!(Test-Path $regPath)) { + New-Item -Path $regPath -Force | Out-Null +} +#Set DWord value to hide the Windows insider page under Windows Update +Set-ItemProperty -Path $regPath -Name "HideInsiderPage" -Value 1 -Type DWord