Reply to thread

Re: "Run this program as an administrator" always grayed out



"developer_dan" <developer_dan.319rm3@no-mx.forums.net> wrote in message

news:developer_dan.319rm3@no-mx.forums.net...

>

> As an update to my previous comment ... I re-enabled UAC for now and the

> "Run this program as an administrator" option is back. Since the user

> account I am logged in as has administrative privileges, it follows that

> any .exe would run as administrator if UAC is disabled, but it doesn't

> seem like that should cause the Run-as-Admin feature to be disabled,

> since you would want this property to be associated with the file,

> regardless if UAC is turned on/off.



Well, that's not the case. If you disable UAC, then any file association

regarding UAC is off.


And on top of that, a user with Admin rights on Vista only has Standard user

rights in a lot situations, and their rights must be escalated.


http://technet2.microsoft.com/WindowsVista/en/library/


>

> Also, what added to the confusion is that Visual Studio informs me that

> it needs to be run as an Admin when I start it, even if I already

> checked Run-as-Admin. This seems like its own bug.


It's not a bug, that's just the way it is.

>

> Please note that I am NOT saying that the solution to my problem is to

> re-enable UAC, so I would still like any feedback on this topic. I'll

> see how long I can endure with UAC for now, but it has created enough

> problems in the past that I'm not optimistic.

>


The link talks about developers having to come into line on Vista.



http://blogs.zdnet.com/Ou/?p=785


http://msdn2.microsoft.com/en-us/library/aa905330.aspx


<http://technet2.microsoft.com/WindowsVista/en/library/00d04415-2b2f-422c-b70e-b18ff918c2811033.mspx?mfr=true>


I'll assume you have heard of the Vista UAC manifest.


http://channel9.msdn.com/Showpost.aspx?postid=211271


Back
Top