Windows Shortcut Run as Administrator not working

Bugs and issues.
Post Reply
Message
Author
bladewolf55
Posts: 3
Joined: 06.07.2020, 22:42
Contact:

Windows Shortcut Run as Administrator not working

#1 Post by bladewolf55 » 06.07.2020, 22:52

Steps to Reproduce

1. Find an executable or batch file
2. Create a shortcut from the executable
3. In the shortcut's Properties > Shortcut > Advanced, check Run as administrator and save.
4. Double-click the shortcut to open the application

Expected Behavior: prompted by User Account Control to allow the operation
Actual Behavior: the application runs as non-administrator

More Information
The same shortcut works as expected when opened from Windows File Explorer.

The behavior is the same whe run using default settings and no plugins.

System Information
Version: FreeCommander XE 2020 Build 822 64-bit donor
OS: Windows 10 Pro Version 2004 (issue occurred in previous Windows 10 version as well)

User avatar
Dreamer
Site Admin
Posts: 3957
Joined: 19.08.2007, 21:40

Re: Windows Shortcut Run as Administrator not working

#2 Post by Dreamer » 07.07.2020, 18:58

Can't reproduce with 810a 32-bit public, 822 64-bit donor, also with default settings, Windows 10 2004 64-bit.

Plaw
Posts: 5
Joined: 09.07.2020, 07:11

Re: Windows Shortcut Run as Administrator not working

#3 Post by Plaw » 09.07.2020, 07:14

Confirmed - this has been a problem for a long time in my case

User avatar
Dreamer
Site Admin
Posts: 3957
Joined: 19.08.2007, 21:40

Re: Windows Shortcut Run as Administrator not working

#4 Post by Dreamer » 09.07.2020, 18:45

I'm using a portable version, try to install/unpack portable version to other folder than "Program Files".

https://freecommander.com/en/faq-freeco ... l-portable

sherpa25
Posts: 7
Joined: 08.09.2019, 02:57

Re: Windows Shortcut Run as Administrator not working

#5 Post by sherpa25 » 10.07.2020, 04:14

Dreamer wrote:
09.07.2020, 18:45
I'm using a portable version, try to install/unpack portable version to other folder than "Program Files".

https://freecommander.com/en/faq-freeco ... l-portable
May I ask what's the difference w/ the portable version, why would it work there instead? Also, what's the consequence of installing FC in "Program files"?

Plaw
Posts: 5
Joined: 09.07.2020, 07:11

Re: Windows Shortcut Run as Administrator not working

#6 Post by Plaw » 10.07.2020, 05:55

I have tried the portable version - same problem. I could not even get that shortcut to show the administrator sign despite setting it in the properties in at least two places

Version numbers:
Windows 10 1903
Free Commander XE 2020 Build 810a 32-bit public

I have 3 programs I have written in Delphi, including a payroll package, and none of these have this problem

Plaw
Posts: 5
Joined: 09.07.2020, 07:11

Re: Windows Shortcut Run as Administrator not working

#7 Post by Plaw » 26.07.2020, 05:15

Problem resolved - revert to version 790A

bladewolf55
Posts: 3
Joined: 06.07.2020, 22:42
Contact:

Re: Windows Shortcut Run as Administrator not working

#8 Post by bladewolf55 » 28.07.2020, 21:28

The problem remains running FC x64 build 824 using default settings, no plugins.

"C:\Program Files\FreeCommander XE\FreeCommander.exe" /N /NewIni=FreeCommanderTest.ini /NoPlugins /Lng=English

I don't doubt this was working in a previous version, e.g. 790A, because I knew it had changed. But reverting to an older version doesn't resolve the problem for me as I don't want to go backward.

For now, the workaround is right-click and choose Run as Administrator.

bladewolf55
Posts: 3
Joined: 06.07.2020, 22:42
Contact:

Re: Windows Shortcut Run as Administrator not working

#9 Post by bladewolf55 » 31.07.2020, 19:40

@Dreamer:

Behavior is the same using FC Portable version x64 825 installed to my Downloads folder. A shortcut or file set to Run as Administrator does not.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests