Page 1 of 1

[Feature Request] Add Windows Login dialog to access `As User` additionally to `As Administrator`

Posted: 2024-11-13, 12:39 UTC
by andry81
If try to access a directory inside the `Users` TC automatically suggest to access as a Administrator.
The side effect of this method is a timeout after that you have to access again and find the subdirectory again.

Is there a chance to add the Window Login dialog to access as a user (may be selected automatically based on the directory main credentials)?

Re: [Feature Request] Add Windows Login dialog to access `As User` additionally to `As Administrator`

Posted: 2024-11-13, 13:52 UTC
by ghisler(Author)
I'm already supporting "As user" when a user without administrator privileges tries to run an elevated command. Why would this be useful for admin users, who already have all the rights?

Re: [Feature Request] Add Windows Login dialog to access `As User` additionally to `As Administrator`

Posted: 2024-11-13, 14:36 UTC
by Dalai
2andry81
The timeout can be customized:

Code: Select all

AdminTimeout=180
Determines after how many seconds of inactivity tcmadmin.exe (used for copy/delete etc. as admin) is terminated. Special values:
0: no timeout
-1: disable copy as admin completely
PS: Directories don't have credentials, but users do.

Re: [Feature Request] Add Windows Login dialog to access `As User` additionally to `As Administrator`

Posted: 2024-11-13, 23:16 UTC
by andry81
Dalai wrote: 2024-11-13, 14:36 UTC 2andry81
The timeout can be customized:
Then add a checkbox to the dialog with button `As administrator`: `No timeout` or something like that.

Re: [Feature Request] Add Windows Login dialog to access `As User` additionally to `As Administrator`

Posted: 2024-11-14, 00:04 UTC
by andry81
ghisler(Author) wrote: 2024-11-13, 13:52 UTC I'm already supporting "As user" when a user without administrator privileges tries to run an elevated command. Why would this be useful for admin users, who already have all the rights?
Administrator might not has all rights. For example, TrustedInstaller user is more powerful :D

Re: [Feature Request] Add Windows Login dialog to access `As User` additionally to `As Administrator`

Posted: 2024-11-14, 00:09 UTC
by Dalai
2andry81
TC can't provide all available options via the GUI - it's very rare that programs can do that, usually such programs don't have a lot of options. Besides, the timeout option does what it's supposed to after setting it once.

Re: [Feature Request] Add Windows Login dialog to access `As User` additionally to `As Administrator`

Posted: 2024-11-14, 16:08 UTC
by andry81
Dalai wrote: 2024-11-14, 00:09 UTC 2andry81
TC can't provide all available options via the GUI - it's very rare that programs can do that, usually such programs don't have a lot of options. Besides, the timeout option does what it's supposed to after setting it once.
I don't like to change a global setting to imply a local.

Re: [Feature Request] Add Windows Login dialog to access `As User` additionally to `As Administrator`

Posted: 2024-11-15, 08:52 UTC
by ghisler(Author)
What you could do is run Total Commander itself as a different user. Use a button with the following command:
Command: **%COMMANDER_EXE%
Parameters: /S %P %T