TC & XP: Fails to copy encrypted files with default sett

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
848
Junior Member
Junior Member
Posts: 21
Joined: 2003-08-10, 19:33 UTC
Location: The Netherlands

TC & XP: Fails to copy encrypted files with default sett

Post by *848 »

Both Total Commander 6.03a and TC 6.5 have a problem with copying (and moving) encrypted files from a local drive, to a removable or network drive. This is not a problem directly caused by TC. It’s the way XP deals with the encryption of files. If the file is copied (or moved) from one logical drive to another, it will work with TC and also with MS's Explorer as long as these partitions reside on local fixed drives. Encrypted files stay encrypted. When copying encrypted files from logical, local drive to a removable or network drive using MS's Explorer, XP notifies that the encryption will be lost and asks if the user what to do. (See message 1) When doing the same with TC, TC shows a warning, asking to remove the write protection (See message 2). Clicking the OK button will cancel the copying of the files.

A workaround for this problem is changing the way TC handles copying files to “Use copy+paste via Explorer”. According to TC, this option should be used only in case of problems. Also this option does not have the same features like the TC copy function. Since TC 6.5 is aware of encrypted files, it seems logical that TC knows how to copy them too. This is not the case however.. Is this a know problem and will it work in one of the next releases? Anybody know another workaround other than I just described?



Message 1: The file "filename" cannot be copied or moved without losing its encryption. You can choose to ignore this error and continue, or cancel.

Message 2: Error: Cannot write "drive"\"dir name"\"filename"! Please remove the write protection!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Have you tried the compatibility mode? This uses CopyFileEx, which should be able to handle encrypted files.
Author of Total Commander
https://www.ghisler.com
User avatar
Herr Mann
Power Member
Power Member
Posts: 574
Joined: 2004-05-30, 17:11 UTC
Location: Niedersachsen, Deutschland

Post by *Herr Mann »

to 848

If you can german, here is a german thread - http://ghisler.ch/board/viewtopic.php?t=5752

Read http://www.microsoft.com/resources/documentation/Windows/2000/server/reskit/en-us/Default.asp?url=/resources/documentation/Windows/2000/server/reskit/en-us/regentry/91578.asp
or
http://www.winfaq.de/faq_html/tip1571.htm in german

I have change my registry entries:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\Explorer]
"NoEncryptOnMove"=dword:00000001

HKEY_CURRENT_USER\ Software\ Microsoft\ Windows\ CurrentVersion\ Policies\ Explorer
delete the "NoEncryptOnMove" entry
848
Junior Member
Junior Member
Posts: 21
Joined: 2003-08-10, 19:33 UTC
Location: The Netherlands

Post by *848 »

Thanks for the fast replies. This is my first post and I'm amazed about the short time it took to get useful replies!

@ Ghisler, switching on compatibility mode for * does not solve the problem. The message "Error: Cannot write "drive"\"dir name"\"filename"! Please remove the write protection! " still appears. Too bad you don't have an EFS partition and therefore not able to reproduce this error..

@Herr Mann, Reading and writing German is not something I do everyday, but from what I understand of it, your solution looks like a working one. If you have the rights to edit the registry.. My company's security policy won't allow me to do so. Another thing that holds me back is that I have to (let somebody) do this on about 50 other notebooks. So, I hope that it will be possible to copy EFS files with TC without altering the registry settings.
Post Reply