Author: fonzi | Posted on: 11/30/2010 4:40:44 PM | Views : 458

I have a web service that works perfectly in Windows XP but when I try to run it on a Windows 7 machine it doesn't work as Windows 7 security will not let me to stop and start it in code (ie in services.msc I want to programmatically perform the "start" and "stop" actions).
I can right-click on it in Windows and stop and start it as I please so surely there is a way in code I can impersonate the user who is logged on and use their Windows identity to stop or start the service?
Please help, thank you.





...

Go to the complete details ...