Wednesday, December 8, 2010

How to set Proxy settings for SYSTEM account?

Sometimes you need to run a service under SYSTEM user account, and sometimes this service needs to access the internet, and sometimes, your network admin will require you to go through a proxy to access the internet.

easier to do this:

- set the proxy setting for your user
- export HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections\DefaultConnectionSettings
- re import in HKEY_USERS\S-1-5-18\Software\Microsoft\Windows\CurrentVersion\....