Technology Questions

Go Back   Technology Questions > Software Questions > Operating System Questions > Vista Community > Windows Vista

Windows Vista Discuss the different versions of Windows Vista, Fuji, or Vienna

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 06-21-2007, 10:30 AM
MaW
Newsgroup Contributor
 
Posts: n/a
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

 
Old 06-21-2007, 10:30 AM
  #2 (permalink)  
Old 06-21-2007, 02:00 PM
Alun Harford
Newsgroup Contributor
 
Posts: n/a
Re: Override detected UAC elevation requirement?

MaW wrote:[color=blue]
> 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?[/color]

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #3 (permalink)  
Old 06-21-2007, 06:30 PM
ls [sb]
Newsgroup Contributor
 
Posts: n/a
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...[color=blue]
> 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.[/color]

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools

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 Off
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to avoid "The requested operation requires elevation" OzAndrew Windows Vista 5 06-20-2007 10:00 PM
How do I OVERRIDE aspect ratio? MGropp@luntz.com Microsoft Office 3 05-30-2007 10:20 AM
Requested operation require elevation Elias Khoury Windows Vista 3 03-28-2007 06:15 AM
ELEVATION Dave Boomhauer Windows Vista 5 02-21-2007 02:00 PM
Installing Java in RTM Requires UAC Elevation, Just FYI. Kevin John Panzke Windows Vista 15 01-02-2007 07:46 AM


New To Technology Questions? Do You Need Help with Your Computer or Device? Do You Need Help with this site?

All times are GMT -8. The time now is 11:49 AM.


2003 - 2009 All Rights Reserved. Technology Questions

Search Engine Friendly URLs by vBSEO 3.3.0