This behavior applies to Windows 2003/XP and older (NT family). To reproduce:
- create folder "C:\Test1" with access rights for - and only for - user "User1",
- create folder "C:\Test2" with access rights for - and only for - user "User2".
Test1:
a) Try going into "C:\Test1": TC shows "Access denied" dialog, so press "As Administrator" button, enter user name "User1" and his password. You are inside "C:\Test1" now.
b) Now go back and try going into "C:\Test2": TC shows "Access denied" dialog, so press "As Administrator" button - nothing happens.
Test2 - only Windows 2000, under Windows XP works properly:
a) Restart TC (to forget password entered in Test 1).
b) Try going into "C:\Test1": TC shows "Access denied" dialog, so press "As Administrator" button, enter user name "User1" and invalid password. Now you are unable to go into neither "C:\Test1" nor "C:\Test2" anymore (without restarting TC).
It seems that solution to these problems is quite simple: if going into folder fails, TC should clear buffered user name and password and ask the user again.
Regards
Problem when accessing another user's folder
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50549
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Indeed you cann't currently open multiple tcmadmin commands with different credentials. You need to close and restart TC. There are some TC restarter tools which you can put on the button bar, e.g. this one:
http://www.totalcmd.net/plugring/tinnytcrestarter.html
http://www.totalcmd.net/plugring/tinnytcrestarter.html
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
BTW, when we kill tcmadmin.exe manually from task manager, TC doesn't notice this and all subsequent operations with tcmadmin fail.
Solution:
Solution:
Code: Select all
if WaitForSingleObject(ProcessInformation.hProcess,0) = WAIT_OBJECT_0 then
... process terminated ...
else
... process alive ...