windows service
-
Hello, I have problem and I am wandering if someone can help me with a solution. I have a windows service that works well and when it is stopped by the user the server should disable the proxy settings. There are 2 great samples on codeproject that are working well on changing the proxy settings for IE. So I have moved a method named
DisableConnectionProxy
which works in sample code but does not work in the service. So I know for sure thatDisableConnectionProxy
method disables the proxy settings in IE, the same code does not work (it is executed but does not change the proxy settings) when it is part of the service.case SERVICE_CONTROL_STOP: DisableConnectionProxy("DefaultConnectionSettings")
I think that this might have something to do with the service interaction with the desktop. The service is running under the Local System Account. If anyone has a suggestion or can recommend me a good article I would appreciate it. Thanks.