How do I configure proxy settings for LOCAL SYSTEM?
Solution 1:
Figured it out myself:
It is actually the value in Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections\DefaultConnectionSettings
that is used.
Since that is not easily modified, you can modify the proxy settings for a user, export the registry key, modify the path in the exported file to HKEY_USERS\S-1-5-18
and reimport it.
Solution 2:
First, run cmd
as administrator to open a command prompt.
Command to copy proxy settings of current user to WinHttp:
netsh winhttp import proxy source =ie
To reset the proxy to default settings:
netsh winhttp reset proxy
To show proxy settings of current user:
netsh winhttp show proxy
Solution 3:
Another way, albeit much messier, is to use psexec to open a command prompt running as LOCAL SYSTEM, then from that open iexplore.exe, modify the settings appropriately.