HTFC Forums

H.T.F.C.

How To Fix Computers





Go Back   HTFC Forums > Software Newsgroups > Windows Vista

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1  
Old 06-21-2007, 06:22 PM
MaW
 
Posts: n/a
Default Override detected UAC elevation requirement?

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
Sponsored Links
  #2  
Old 06-21-2007, 09:48 PM
Alun Harford
 
Posts: n/a
Default Re: Override detected UAC elevation requirement?

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
  #3  
Old 06-22-2007, 02:21 AM
ls [sb]
 
Posts: n/a
Default Re: Override detected UAC elevation requirement?

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" <MaW@discussions.microsoft.com> wrote in message
news:F986737E-36E3-477B-B611-5B127306DB5C@microsoft.com...
> 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
Sponsored Links
Reply


Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
SHIFT Key Does Not Override the Automatic Logon Setting jeff@posting.address.comn Windows Vista 1 06-13-2007 07:42 PM
How do I OVERRIDE aspect ratio? MGropp@luntz.com Microsoft Office 3 05-30-2007 06:12 PM
Maintaining images for volume license with Activation requirement clh Windows Vista Installation 1 05-09-2007 05:10 PM
Disabling the logon requirement and cleaning up user accounts Alanpp Windows XP Basics 1 05-06-2007 06:29 AM
Requested operation require elevation Elias Khoury Windows Vista 3 03-28-2007 03:05 PM


All times are GMT. The time now is 07:23 AM.


Powered by vBulletin® Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
© 2004 - 2007 Web-S-Sense Pty. Ltd. Usenet and forums posts © their respective authors.
Ad Management by RedTyger