I'm also search the web for this, but I'm curious if anyone is aware of a Group policy that allows a user to install a service and only Install services or potential install it through Group policy. Thanks in advance
Asked
Active
Viewed 369 times
1 Answers
1
you need to use something like elevating privilege
WindowsIdentity identity = new WindowsIdentity(accessToken); WindowsImpersonationContext context = identity.Impersonate();
see thread: Elevating process privilege programmatically?
-
Thanks, you know I had not thought of doing something like this. – Jesse Mar 07 '11 at 21:11
-
So will elevating privileges allow me to install as a user without local admin or will I have to provide credentials to a administrator account? – Jesse Mar 07 '11 at 21:52