Skip to content

Update-Updates-Tab#3833

Merged
ChrisTitusTech merged 34 commits intoChrisTitusTech:mainfrom
GabiNun:Update-Updates-Tab
Jan 8, 2026
Merged

Update-Updates-Tab#3833
ChrisTitusTech merged 34 commits intoChrisTitusTech:mainfrom
GabiNun:Update-Updates-Tab

Conversation

@GabiNun
Copy link
Contributor

@GabiNun GabiNun commented Dec 19, 2025

This keeps the same functionality while improving the code quality.

  • removed Out-Null since it was unnecessary
  • removed many unnecessary -ErrorAction SilentlyContinue usages and added global error suppression via $ErrorActionPreference = 'SilentlyContinue'
  • changes are difficult to spot inline, so it is probably better to open the file in a new tab and compare

I also removed comments that were placed next to Write-Host. For example:

removed: # Reset WaaSMedicSvc registry settings to defaults
kept: Write-Host "Restoring WaaSMedicSvc settings..."

Additional changes:

  • removed the message box from Invoke-WPFUpdatessecurity.ps1 since other files do not use one and it is unnecessary
  • removed disabling the uhssvc service because it does not exist
  • removed DLL renaming since it breaks Microsoft Store app installations (Windows Store and Winget Stop Working after Disabling All Updates Button is pressed #3859)
  • removed the “Additional registry settings” section because it attempts to modify a service that is being disabled
  • removed gpupdate /force since the user would have to restart there computer anyway
  • removed deleting GroupPolicy and GroupPolicyUser folder since it would undo other group policy changes
  • adjusted the default settings logic to remove policies instead of reconfiguring them
  • I also greatly improved the time it takes to run these tweaks by about 30 seconds

fixes #3881

@GabiNun GabiNun changed the title Update updates tab Update-Updates-Tab Dec 19, 2025
Copy link
Owner

@ChrisTitusTech ChrisTitusTech left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks much cleaner, but I need to testing this on stream as Microsoft has a way of re-enabling Windows Update using a variety of methods and not sure this will be enough.

@GabiNun
Copy link
Contributor Author

GabiNun commented Jan 7, 2026

@ChrisTitusTech well it didn't remove many of your methods mostly the renaming of dlls but i tested it and it works but you testing it also is a good idea and it also fixes alot of bugs

@ChrisTitusTech ChrisTitusTech merged commit 79ee9db into ChrisTitusTech:main Jan 8, 2026
1 check passed
@GabiNun GabiNun deleted the Update-Updates-Tab branch January 8, 2026 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

User Profiles disappears after reverting to Default Windows Update Configuration

3 participants