|
-
January 31st, 2011, 02:44 PM
#1
Goddamn Vista User Account Control
Hello kind people,
Can someone in the know explain this to my tiny brain please.
I am using Vis Studio 2005 and have written a simple nooby iTunes interface program. Not that it's relevant, but it's in C# and uses the iTunes COM interface.
It's fine. It works. It dumps out a few tracks from my iTunes library. Whoop-di-doo!
However...
...being the hardened corporate IT person that I am, I always run my home PC in standard-user mode. I always have. Stood me in good stead, so it has. And I still do (even in Vista).
Now. When I try to run the said program (above), *PAAARP*...this program requires elevation. And then I have to enter my administrator account credentials...(which then loads the administrators iTunes library. Nice one...thanks for that Microsoft, very useful).
So I find myself thinking...well what, in the name of all that is holy, does my program need admin privilege for? It doesnt bloody do anything. I've written a hundred programs before without this issue.
After dicking around with many an option, I got nowhere. So I decided to find out what in my app was causing the admin elevation requirement. So I turned off User Account Control altogether in the hope that, when I ran as a standard user, I would get some access denied message, or exception I could work with.....
...but no. The bugger worked just fine. No hint of a problem.
So, if this program can access all that it needs to (and bear in mind everything is locked down here), why does it ask me for admin password when UAC is switched on? Does anyone know?
Ahhh...it's good to get that off my troubled chest.
Sq!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|