Last active
          March 28, 2025 20:26 
        
      - 
      
 - 
        
Save rossarioking/d2351c07a4f869cb596bbe67e1dc7fcc to your computer and use it in GitHub Desktop.  
    PowerShell Script to Bypass Local WSUS Server and Pull Updates Straight from the Internet. #PowerShell
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | # 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 | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
            
Be careful with this method, as it can remove GPO-related restrictions like automatic updates scheduling, or disabled automatic updates. A more fine-grained approach would be: