Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > Override detected UAC elevation requirement?

Reply
Thread Tools Display Modes

Override detected UAC elevation requirement?

 
 
MaW
Guest
Posts: n/a

 
      06-21-2007
We all know Vista can detect that some applications need to be elevated to
work properly. City of Heroes and its updater are one such - Vista assumes
they'll be needing write access to the game folder in case of patches,
screenshots, or the game lock file (all of which go into the game folder, bad
coding I know but I can't do anything about that). The thing is, my City of
Heroes folder is on a drive and in a place and with settings so that anybody
can write to it, unrestricted. It shouldn't actually need administrative
privileges to run.

So is there any way I can tell Vista it's wrong, and not to run them as
administrator like it wants to?

With any luck, doing that will let me use custom keystroke assignments for
my mouse buttons without SetPoint also needing to run as an administrator
(which is a whole different kettle of suck).

The trouble with giving Vista some sort of user account security was always
going to be that because Windows never had it before, it would always be
horribly hacky. Unfortunately that prediction has turned out to be true.
 
Reply With Quote
 
 
 
 
Alun Harford
Guest
Posts: n/a

 
      06-21-2007
MaW wrote:
> We all know Vista can detect that some applications need to be elevated to
> work properly. City of Heroes and its updater are one such - Vista assumes
> they'll be needing write access to the game folder in case of patches,
> screenshots, or the game lock file (all of which go into the game folder, bad
> coding I know but I can't do anything about that). The thing is, my City of
> Heroes folder is on a drive and in a place and with settings so that anybody
> can write to it, unrestricted. It shouldn't actually need administrative
> privileges to run.
>
> So is there any way I can tell Vista it's wrong, and not to run them as
> administrator like it wants to?


My guess is that the application is properly coded, and informs Vista
that it needs to be running as administrator in order to work correctly.

Alun Harford
 
Reply With Quote
 
ls [sb]
Guest
Posts: n/a

 
      06-22-2007
probably by making a manifest that says what level it needs and placing it
next to the .exe.

guessing ...

make a text file with the following, and give it the same name as the .exe
but with .manifest appeneded (eg, "update.exe.manifest"), and place it next
to the .exe. now try runnig the .exe

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
<requestedPrivileges>
<requestedExecutionLevel level="asInvoker" uiAccess="false"/>
</requestedPrivileges>
</security>
</trustInfo>
</assembly>

but if the .exe tells the system it needs admin, then the above won't help.

--

"MaW" <> wrote in message
news:F986737E-36E3-477B-B611-...
> We all know Vista can detect that some applications need to be elevated to
> work properly. City of Heroes and its updater are one such - Vista assumes
> they'll be needing write access to the game folder in case of patches,
> screenshots, or the game lock file (all of which go into the game folder,
> bad
> coding I know but I can't do anything about that). The thing is, my City
> of
> Heroes folder is on a drive and in a place and with settings so that
> anybody
> can write to it, unrestricted. It shouldn't actually need administrative
> privileges to run.
>
> So is there any way I can tell Vista it's wrong, and not to run them as
> administrator like it wants to?
>
> With any luck, doing that will let me use custom keystroke assignments for
> my mouse buttons without SetPoint also needing to run as an administrator
> (which is a whole different kettle of suck).
>
> The trouble with giving Vista some sort of user account security was
> always
> going to be that because Windows never had it before, it would always be
> horribly hacky. Unfortunately that prediction has turned out to be true.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I override my father's admin password?? achapman10@gmail.com Windows Vista Administration 12 07-17-2009 10:04 PM
E-mail text override mode Dale Boyd Windows Vista Mail 4 11-09-2007 02:48 PM
Override feature scaling of vista hiskeyd Windows Vista Performance 2 02-05-2007 01:57 AM
OVERRIDE on monitor ocatechin Windows Vista Installation 7 07-30-2006 11:50 PM
more requirement q's.. sry dale Windows Vista General Discussion 0 06-11-2006 05:01 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59