07 16 2023 testing (#895)

* Fix Security Updates not getting set

* Ndu Fix - Task Manager issue

* Ndu Fix 2

* Create edge.ps1

* Update edge.ps1

* Update edge.ps1

* Update edge.ps1

* Update edge.ps1

* Update edge.ps1

* Update edge.ps1

* Update inputXML.xaml

* Edge Removal Progress

* edge removal

* edge removal
This commit is contained in:
Chris Titus
2023-07-20 15:39:49 -05:00
committed by GitHub
parent d5047e9a8d
commit b2e3def511
5 changed files with 324 additions and 105 deletions

View File

@ -27,6 +27,9 @@ function Invoke-WPFUpdatessecurity {
Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" -Name "NoAutoRebootWithLoggedOnUsers" -Type DWord -Value 1
Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" -Name "AUPowerManagement" -Type DWord -Value 0
Write-Host "Disabled driver offering through Windows Update"
If (!(Test-Path "HKLM:\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings")) {
New-Item -Path "HKLM:\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings" -Force | Out-Null
}
Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings" -Name "BranchReadinessLevel" -Type DWord -Value 20
Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings" -Name "DeferFeatureUpdatesPeriodInDays" -Type DWord -Value 365
Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings" -Name "DeferQualityUpdatesPeriodInDays " -Type DWord -Value 4