1

We have a service that runs on a Windows 2008 server under the identity of the builtin Network Service user.

The service needs to communicate with the Internet.

In our network we need to set the Proxy Server in the LAN Settings of IE, for this to work.

No problem doing it for the logged in user, but how do I do it for the Network Service user?

2
  • Does your proxy ask for authentication ? if so, you need to set exception, so your proxy won't ask for an account from this server ip Feb 3, 2010 at 14:54
  • Why not using a standard AD account to execute the service ? Feb 3, 2010 at 14:54

1 Answer 1

1

The "NT AUTHORITY\NetworkService" account (well-known SID S-1-5-20) has its own HKEY_USERS subkey (HKEY_USERS\S-1-5-20) where its per-user settings are stored. You could specify your proxy settings in its registry (HKEY_USERS\S-1-5-20\Software\Microsoft\Windows\CurrentVersion\Internet Settings). I'm not aware of a place in the GUI that you can do this, but setting this via the registry isn't too difficult (here's a nice introduction to the registry values associated with proxy settings).

2
  • Thanks for the answer, I have tried this and restarted the service, but still get the same error. Does the machine need to be restarted? or maybe the problem lies elsewhere. Feb 2, 2010 at 14:51
  • @ShirazBhaiji Since you eventually accepted this answer, does that mean that it resolved the issue? Apr 17, 2018 at 3:58

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .