Skip to content

Instantly share code, notes, and snippets.

@csamsel
Created February 1, 2025 22:14
Show Gist options
  • Save csamsel/fbd3f4de7774dbaa1ae4af4cc29c3729 to your computer and use it in GitHub Desktop.
Save csamsel/fbd3f4de7774dbaa1ae4af4cc29c3729 to your computer and use it in GitHub Desktop.
powershell to disable wpad - windows proxy autodiscovery
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
Install the latest PowerShell for new features and improvements! https://aka.ms/PSWindows
PS C:\Users\Christian> New-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\WinHttp' -Name DisableWpad -Value 1 -Force
DisableWpad : 1
PSPath : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Intern
et Settings\WinHttp
PSParentPath : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Intern
et Settings
PSChildName : WinHttp
PSDrive : HKLM
PSProvider : Microsoft.PowerShell.Core\Registry
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment