From b3fa01a14441d174747cb10c19ae9d871c871a4f Mon Sep 17 00:00:00 2001 From: Mason Buettner Date: Wed, 22 Oct 2025 10:57:12 -0700 Subject: [PATCH] Add disable-insider-ui-page.ps1 (#34499) This script disables the UI page where users can opt into the Windows insider program. # Checklist for submitter If some of the following don't apply, delete the relevant line. ## Testing - [x] QA'd all new/changed functionality manually --------- Co-authored-by: Dale Ribeiro --- .../windows/scripts/disable-insider-ui-page.ps1 | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 docs/solutions/windows/scripts/disable-insider-ui-page.ps1 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