mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 09:28:54 +00:00
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:
parent
7593d102fb
commit
b3fa01a144
1 changed files with 9 additions and 0 deletions
|
|
@ -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
|
||||||
Loading…
Reference in a new issue