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 <dale@fleetdm.com>
This commit is contained in:
co-authored by
Dale Ribeiro
parent
7593d102fb
commit
b3fa01a144
@@ -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
|
||||
Reference in New Issue
Block a user