Skip to content

Instantly share code, notes, and snippets.

@rossarioking
rossarioking / WindowsUpdatesByPassWSUS.ps1
Last active March 28, 2025 20:26
PowerShell Script to Bypass Local WSUS Server and Pull Updates Straight from the Internet. #PowerShell
# Stop the Windows Update service
Stop-Service -Name wuauserv
# Remove the registry key
Remove-Item HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate -Recurse
# Start the Windows Update service
Start-Service -name wuauserv