From dbfc4eee3a9b28a67846ce9415c7c7a20b90523b Mon Sep 17 00:00:00 2001 From: kyau Date: Sun, 23 Apr 2023 14:07:51 -0700 Subject: [PATCH 1/2] BugFix: Windows Update * Fix: Windows Update: Cumulative Updates --- Modules/defender.ps1 | 4 ---- user_settings.ps1 | 4 +++- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/Modules/defender.ps1 b/Modules/defender.ps1 index a15ff4d..5b2a37a 100644 --- a/Modules/defender.ps1 +++ b/Modules/defender.ps1 @@ -29,7 +29,6 @@ If (-NOT $WinDefender) { Show-Section -Section "Anti-Virus" -Desc "Removing Defender" - Remove-Reg -Path "HKLM:\Software\Policies\Microsoft\Windows\Windows Defender" -Recursive Remove-WService -Name "WdNisSvc" Remove-WService -Name "WinDefend" Remove-WService -Name "Sense" @@ -76,18 +75,15 @@ If (-NOT $WinDefender) { Add-Reg -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender\Real-Time Protection" -Name "DisableScanOnRealtimeEnable" -Type Dword -Value "1" Add-Reg -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender" -Name "DisableAntiSpyware" -Type Dword -Value "1" Add-Reg -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender" -Name "DisableAntiVirus" -Type Dword -Value "1" - #Add-Reg -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender\MpEngine" -Name "MpEnginePlus" -Type Dword -Value "0" Add-Reg -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender\MpEngine" -Name "MpEnablePus" -Type Dword -Value "0" Add-Reg -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender\Reporting" -Name "DisableEnhancedNotifications" -Type Dword -Value "1" Add-Reg -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender\Spynet" -Name "DisableBlockAtFirstSeen" -Type Dword -Value "1" Add-Reg -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender\Spynet" -Name "SpyNetReporting" -Type Dword -Value "0" Add-Reg -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender\Spynet" -Name "SubmitSamplesConsent" -Type Dword -Value "2" - #Add-Reg -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows Defender\Spynet" -Name "DontReportInfectionInformation" -Type Dword -Value "1" Add-Reg -Path "HKLM:\System\CurrentControlSet\Services\WdFilter" -Name "Start" -Type Dword -Value "4" Add-Reg -Path "HKLM:\System\CurrentControlSet\Services\WdNisDrv" -Name "Start" -Type Dword -Value "4" Add-Reg -Path "HKLM:\System\CurrentControlSet\Services\WdNisSvc" -Name "Start" -Type Dword -Value "4" Add-Reg -Path "HKLM:\System\CurrentControlSet\Services\WinDefend" -Name "Start" -Type Dword -Value "4" - #Add-Reg -Path "HKLM:\Software\Microsoft\Windows Defender\Features" -Name "TamperProtection" -Type Dword -Value "0" Remove-Reg -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Sense" -Recursive Add-Reg -Path "HKLM:\SOFTWARE\Policies\Microsoft\MRT" -Name "DontReportInfectionInformation" -Type Dword -Value "1" Add-Reg -Path "HKLM:\SOFTWARE\Policies\Microsoft\MRT" -Name "DontOfferThroughWUAU" -Type Dword -Value "1" diff --git a/user_settings.ps1 b/user_settings.ps1 index 1106f63..75b972d 100644 --- a/user_settings.ps1 +++ b/user_settings.ps1 @@ -43,13 +43,15 @@ function Add-Configuration { $script:WinDefender = $false # Keep Windows Security? ($true/$false) + # NOTE: Removal not recommended, breaks Windows Defender & Windows Update. $script:SecurityHealth = $true # Keep Microsoft 365 / OneDrive ($true/$false) $script:Microsoft365 = $true # Keep Microsoft Edge? ($true / $false) - # NOTE: Removal not recommended. + # NOTE: Removal not recommended, breaks search, widgets, etc. + # MSEdgeRedirect Recommended. $script:MicrosoftEdge = $true # Desktop / Lock Screen Wallpaper From 5955bd6fb2f77548526441f7cdf69e86f1c338db Mon Sep 17 00:00:00 2001 From: kyau Date: Sun, 23 Apr 2023 14:22:51 -0700 Subject: [PATCH 2/2] Windows 11 Build 22621.1555 * `README.md`: windows Build version updated * `README.md`: Version bump, prepping for release --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a2579d6..4a79b3d 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ -# Windows 11 Tweaks - Build 22621.1485 +# Windows 11 Tweaks - Build 22621.1555 ![LOGO](README_media/LOGO.png) -[![Contributor Covenant](https://img.shields.io/badge/contributor%20covenant-2.1-4baaaa.svg)](CODE_OF_CONDUCT.md)   [![Semantic Versioning](https://img.shields.io/badge/semantic%20versioning-1.2.4-333333.svg)](https://semver.org)   [![GitHub](https://img.shields.io/github/license/kyaulabs/win11tweak)](LICENSE)   [![Gitleaks](https://img.shields.io/badge/protected%20by-gitleaks-blue)](https://github.com/zricethezav/gitleaks)   [![CI](https://img.shields.io/github/actions/workflow/status/kyaulabs/win11tweak/psscriptanalyzer.yml)](https://github.com/kyaulabs/win11tweak/actions) +[![Contributor Covenant](https://img.shields.io/badge/contributor%20covenant-2.1-4baaaa.svg)](CODE_OF_CONDUCT.md)   [![Semantic Versioning](https://img.shields.io/badge/semantic%20versioning-1.2.5-333333.svg)](https://semver.org)   [![GitHub](https://img.shields.io/github/license/kyaulabs/win11tweak)](LICENSE)   [![Gitleaks](https://img.shields.io/badge/protected%20by-gitleaks-blue)](https://github.com/zricethezav/gitleaks)   [![CI](https://img.shields.io/github/actions/workflow/status/kyaulabs/win11tweak/psscriptanalyzer.yml)](https://github.com/kyaulabs/win11tweak/actions) ## Disclaimer