Proxy: Unterschied zwischen den Versionen

Aus Wiki-WebPerfect
Wechseln zu: Navigation, Suche
Zeile 6: Zeile 6:
  
 
== Proxy (GET) ==
 
== Proxy (GET) ==
'''WinINet User:''' <source lang="powershell">Get-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" | fl *Auto*, *Proxy* <source>
+
'''WinINet User:''' <source lang="powershell">Get-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" | fl *Auto*, *Proxy* </source>
'''WinINet Machine:''' <source lang="powershell">Get-ItemProperty -Path "HKLM:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" | fl *Auto*, *Proxy* <source>
+
'''WinINet Machine:''' <source lang="powershell">Get-ItemProperty -Path "HKLM:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" | fl *Auto*, *Proxy* </source>
'''WinHTTP User:''' <source lang="powershell">((Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Connections" -Name "WinHttpSettings") | ForEach{ [char]$_ }) -join "" -replace ([char]0) <source>
+
'''WinHTTP User:''' <source lang="powershell">((Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Connections" -Name "WinHttpSettings") | ForEach{ [char]$_ }) -join "" -replace ([char]0) </source>
'''WinHTTP Machine:''' <source lang="powershell">((Get-ItemPropertyValue -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Connections" -Name "WinHttpSettings") | ForEach{ [char]$_ }) -join "" -replace ([char]0) <source>
+
'''WinHTTP Machine:''' <source lang="powershell">((Get-ItemPropertyValue -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Connections" -Name "WinHttpSettings") | ForEach{ [char]$_ }) -join "" -replace ([char]0) </source>
 
 
 
Proxy (Remove)
 
Proxy (Remove)
'''WinHTTP:''' <source lang="powershell">netsh winhttp reset proxy <source>
+
'''WinHTTP:''' <source lang="powershell">netsh winhttp reset proxy </source>
  
  
  
 
[[Kategorie:Windows]]
 
[[Kategorie:Windows]]

Version vom 5. November 2020, 14:56 Uhr

Set WinHTTP Proxy with a bypass list

netsh winhttp set proxy proxy-server="<your_proxy:port>" bypass-list="<*your_bypass.ch>"



Proxy (GET)

WinINet User:
Get-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" | fl *Auto*, *Proxy*
WinINet Machine:
Get-ItemProperty -Path "HKLM:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" | fl *Auto*, *Proxy*
WinHTTP User:
((Get-ItemPropertyValue -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Connections" -Name "WinHttpSettings") | ForEach{ [char]$_ }) -join "" -replace ([char]0)
WinHTTP Machine:
((Get-ItemPropertyValue -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Connections" -Name "WinHttpSettings") | ForEach{ [char]$_ }) -join "" -replace ([char]0)

Proxy (Remove)

WinHTTP:
netsh winhttp reset proxy