Total Commander cannot copy wincmd.key to Totalcommander hom
Moderators: Hacker, petermad, Stefan2, white
Total Commander cannot copy wincmd.key to Totalcommander hom
Installed the new Windows 7 (7600.16385.090713-1255_x86fre_client_en-us_Retail_Ultimate-GRMCULFRER_EN_DVD) and installed Total Commander 7.5 Beta 7 under c:\Program Files\totalcmd it was not possible to copy the wincmd.key file into the totalcmd directory, even though Windows 7 UAC asked to copy as Administrator. It was possible to copy the file marking it with right mouse - copy and paste it to the destination directory (UAC asked also to copy as Administrator).
- ghisler(Author)
- Site Admin
- Posts: 50479
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
No problem here. What are the permissions of the folder "Total Commander" for yourself and for user "Administrator"?
Btw, I have only the RC1, the final version isn't available for MSDN customers yet.
Btw, I have only the RC1, the final version isn't available for MSDN customers yet.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Permissions:
Trustedinstaller - Special - This folder, subfolders and files
System - Full control - This folder, subfolders and files
Administrators (Group) - Full control - This folder, subfolders and files
Users (Group) - Read & Execute
CREATOR OWNER - Special - subfolders and files only
Win7 was fresh installed, user created during setup has default permissions. File wincmd.key location to copy from is a network share, the win7 workstation is not member of a domain, only workgroup. I had this issue also on Beta and RC1 release. It is not possible to copy the wincmd.key file with totalcmd using copy (F5). After pressing F5 a window pops up with Message "Access denied on file c:\program Files\totalcmd\WINCMD.KEY! Questions: Akip, Retry, Abort, Rename, As Administrator, All As Administrator. Only normal mark, copy & paste using windows explorer works (UAC still asks for permission ...).[/img]
Trustedinstaller - Special - This folder, subfolders and files
System - Full control - This folder, subfolders and files
Administrators (Group) - Full control - This folder, subfolders and files
Users (Group) - Read & Execute
CREATOR OWNER - Special - subfolders and files only
Win7 was fresh installed, user created during setup has default permissions. File wincmd.key location to copy from is a network share, the win7 workstation is not member of a domain, only workgroup. I had this issue also on Beta and RC1 release. It is not possible to copy the wincmd.key file with totalcmd using copy (F5). After pressing F5 a window pops up with Message "Access denied on file c:\program Files\totalcmd\WINCMD.KEY! Questions: Akip, Retry, Abort, Rename, As Administrator, All As Administrator. Only normal mark, copy & paste using windows explorer works (UAC still asks for permission ...).[/img]
- ghisler(Author)
- Site Admin
- Posts: 50479
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
That explains it: TC starts tcmadmin.exe with admin rights to copy the file to the "forbidden" directory. The problem is that network shares are user-specific, so the admin does NOT have access to it. Tcmadmin uses CopyFileEx to copy the file, which fails with "access denied" both when it cannot read the source and when it cannot write to the target.File wincmd.key location to copy from is a network share
So what you need to do is copy the file to a writable directory first, and then move it from there to the "forbidden" directory.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com