You are here

Why RunAsAdmin=force not working?

4 posts / 0 new
Last post
domecc
Offline
Last seen: 14 years 2 weeks ago
Joined: 2009-03-09 10:28
Why RunAsAdmin=force not working?

I'm making Unloker Portable Launch with PortableApps.comLauncher_2.0. I've configured RunAsAdmin=force in the AppInfo\Launcher\UnlockerPortable.ini.

When I click the UnlockerPortable in PortableApps.com Platform, the launcher let me run as admin, but it's not working. Unless I right click the UnlockerPortable and select Run as Admin, it work.

What's wrong? Why RunAsAdmin=force not working?

domecc
Offline
Last seen: 14 years 2 weeks ago
Joined: 2009-03-09 10:28
My system is windows 7, and

My system is windows 7, and run PortableApps.com Platform as normal (not run as admin).

domecc
Offline
Last seen: 14 years 2 weeks ago
Joined: 2009-03-09 10:28
IRC Live Support Chat log

[10:06] #gluxon# What do you mean by, it's not working?
[10:10] #domecc# If I right click the UnlockerPortable and select Run as Admin, it work. If I just click the UnlockerPortable and select UAC's Yes, it's not working.
[10:20] #gluxon# That's because the admin privs aren't passed when you use UAC's Yes button.
[10:20] #gluxon# You give admin privs to UnlockerPortable.exe
[10:21] #gluxon# However, when you right click, run as admin, you give UnlockerPortable.exe and all sub-processes admin privs.
[10:21] #sar3th# then it's a bug in PAL
[10:21] #sar3th# cos it does not pass its elevated permissions on to the subprocess
[10:22] #gluxon# No, it's a bug in just plain Windows.
[10:22] #gluxon# Actually, it could be a bug in NSIS.
[10:22] #domecc# En. Thanks very much!

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 9 years 3 months ago
Joined: 2007-04-15 21:08
Not the case

That definitely should not be the case; with apps like Speccy it has worked fine. I'm not sure what the issue is in this case. I think it's most likely to be some issue with some other option in the configuration; could you please post all of your launcher configuration?

If you just want Unlocker Portable, wraithdu made a launcher for it, last updated at the start of this year. It will probably do what you want.

I am a Christian and a developer and moderator here.

“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1

Log in or register to post comments