paul
paul

Reputation: 13516

My .Net app needs local admin rights to run. Why?

I wrote a WinForms app using .Net and C#. The app accesses DirectoryServices and SQL databases.

The new Win7 workplaces are not allowed to have local admin users and this app will not run.

How can I identify the actions in the app which need local admin rights?

SOLUTION The problem was caused by trying to write to the event log. This was just a nice-to-have so it's gone now. Thanks for the help!

Upvotes: 1

Views: 504

Answers (2)

paul
paul

Reputation: 13516

SOLUTION The problem was caused by trying to write to the event log. This was just a nice-to-have so it's gone now. Thanks for the help!

Upvotes: 1

SLaks
SLaks

Reputation: 887285

Run the app as a limited user, and check the call stacks of the exceptions you get.

Upvotes: 4

Related Questions