Skip to content

Instantly share code, notes, and snippets.

@rossarioking
rossarioking / WindowsUpdatesByPassWSUS.ps1
Last active May 27, 2024 03:04
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