Re: MFC App unable to run in Vista with UAC enabled



In article news:<m2vj2415r6clu7h2pnrh97cqetlrqmqenc@xxxxxxx>, Bob Moore
wrote:
Every so often LID thought that we had done something that made us
look a bit like an installer... and bang. Silly me just expected an
elevation dialog, but it seems life's not that simple.

If LID causes problems for you then you should probably give your app a
Vista-style manifest. That'll tell Vista that your app doesn't regard
itself as legacy and LID won't bother you (or shouldn't, anyway).

I don't want to be seen to be propping up the polished turd
that is Vista.

That's the nicest thing I've seen written about Vista all week!

UAC is actually not a bad idea (minimal privilege has always been a
good idea), its just the current implementation that sucks.

The important thing to realize is that you don't need UAC to run with
minimal privilege. I'm running Win2k here, as a "User" (not even a
"Power User") and apart from occasional trips to the Admin account to
set up stuff I can't do as a user (and for which "Run As" isn't
adequate) everything works very well. It's even less trouble in XP,
where "Run as" almost always does the trick.

*Some* of the implementation of UAC works OK, but some of the things it
does are incomprehensibly obstruse and others are just bizarre. It's
usable as a tool to enable unsophisticated users to (mostly) work their
PCs once you've forced them into a limited user account, but in a
corporate environment where there are windows-savvy sysadmins to do the
Administrator thing those sysadmins should set up the software and nail
down the security and then normal users should be running limited
accounts with UAC *OFF*.

Cheers,
Daniel.


.



Relevant Pages

  • Re: writing to registry in vista from guest account
    ... After the installation I create new user/guest account and runs the ... Is there a way to write to a HKLM key which was created in admin ... are not user-admin accounts with UAC ... and how Virtualization works on Vista with UAC. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: How to access denied folders
    ... drive and all folders and subfolders. ... Try disabling UAC and see if this ... This is my first experience with Vista. ... Your out of the box user/admin account or any subsequent user/admin accounts are not user/admin accounts that have full admin access to everything, because those user/admin accounts don't inherit full admin rights from the built-in Administrator account like it does on XP, even with UAC disabled. ...
    (microsoft.public.windows.vista.installation_setup)
  • Re: MFC App unable to run in Vista with UAC enabled
    ... all the DOCUMENTATION says to contact the sysadmin. ... That'll tell Vista that your app doesn't regard ... "Power User") and apart from occasional trips to the Admin account to ... *Some* of the implementation of UAC works OK, but some of the things it ...
    (microsoft.public.vc.mfc)
  • Vista "complaints"
    ... Recent misconceptions about Vista and UAC posted to the Focus-Apple group, ... administrator, and combined with the many configuration options Vista ... that Win XP gave her the ability to add permissions to her normal ...
    (Focus-Microsoft)
  • Re: Need to understand permissions and ownership
    ... I am the only user and have only one administrator account with my name. ... There are also some other folders such as: ... The vista help files are so fragmented and confusing that they are ...
    (microsoft.public.windows.vista.general)