ghacks Technology News

EFS, and why you shouldn’t ever use it!

Yesterday I wrote here about the BitLocker security file encryption system that was introduced with Windows Vista.  BitLocker is a full-disk encryption technology but I also alluded to problems with Microsoft’s other encryption technology, EFS (Encrypted File System).  EFS has been with us for over a decade now and has slowly been improved by Microsoft.  I believe that it’s an extremely good idea to encrypt your files and data, especially if you have a laptop, but certainly anything personal or financial on your main PCs if at all possible, or to at the very least make your PC secure with a strong password.

I would never recommend anybody ever use EFS however and here’s why.  I’m extremely good with backups, I tell people all the time to make sure that they have adequate backups of their files and documents and I practice what I preach.  I use Windows Live Mesh to synchronise my documents, music and pictures between my main desktop and my laptop.  My main desktop then backs everything up to a second internal hard disk and also an external NAS (Network Attached Storage) drive.  I then have a secondary NAS drive which I keep off-site which I bring back every month or so to update the backup on that.  This is the way I recommend everybody does backups; though USB hard disks are just as effective as NAS drives and much cheaper.

I’ve lost files that I’ve backed up with EFS however, not only on my own computer but also on the NAS drives.  In fact I’ve only used EFS twice in the last ten years on my own computers and on both occasions I’ve lost files and documents.  I therefore cannot recommend you ever encrypt your files with this Windows feature.

The problems occur because EFS will encrypt any file that resides on an NTFS formatted disk, the default formatting option for XP, Vista and Windows 7 and also for the vast majority of USB hard disks and some NAS drives.  Unfortunately, because of incompatibilities with some differing versions of EFS files can end up scrambled and unrecoverable.  This wouldn’t happen on a USB hard disk but I found it occur on my NAS box.  This means that if something goes wrong and you need to recover the backup from the drive, even the appropriate EFS key, that you would clearly have backed up and kept safe, won’t unlock the files.  They will simply be lost and gone forever.

There’s no way to know on what devices the EFS file scrambling will happen either.  With non-EFS supported devices, ie those that aren’t formatted with NTFS, Windows will ask if you “want to copy the files without encryption” and will decrypt them on the fly.  Unlike BitLocker however, which just encrypts the hard disk, EFS encrypted files remain encrypted when copied off the machine to another NTFS formatted disk.

There are other problems with EFS too and these include metadata.  The EFS system, for reasons I’ve never been able to ascertain, is incompatible with the metadata you add to certain file types, pictures and photographs especially.  Not only will it strip out the metadata from these files, it will modify the files in such a way as to prevent you from adding the metadata back in afterwards, effectively making the file useless to you if this is how you like to organise your photos and pictures.

All of this comes from my own personal experience and it shows how even technical experts can be caught out by hardware and software incompatibilities and faults in, seemingly secure Windows features.  I would not recommend you ever use EFS.  If you have a laptop or desktop machine with a TPM chip and a copy of Windows Ultimate or Enterprise, use BitLocker.  If not the excellent TrueCrypt is a free utility that comes highly recommended by security experts worldwide.

Enjoyed the article?: Then sign-up for our free newsletter or RSS feed to kick off your day with the latest technology news and tips, or share the article with your friends and contacts on Facebook or Twitter.

Related Articles:

Output Files And Folders To A Text Document
Clear Temporary Files during System Shutdown
Disk Catalog Software Visual CD
UltraShredder
Convert Img To Iso



About the Author:Mike Halsey is a Microsoft MVP for "Windows Expert". He is also the author of Troubleshooting Windows 7 Inside Out from Microsoft Press and the Windows 7 Power Users Guide, a how-to guide for non-technical Windows users on how to get the best out of Microsoft's new operating system, with step-by-step and quick guides. You can follow Mike on Facebook, Twitter or on his own website The Long Climb

Author: , Sunday September 11, 2011 -
Tags:, ,


Responses so far:

  1. GIddyUpGo says:

    Mike, Is there a way to remove or disable EPS on W7 Pro.? There are others then me that use this computer.

  2. Robert Palmar says:

    Wow.

    Although I have never chosen to use EFS,
    I certainly never will contemplate using it.

    You have made a strong case, Mike, for
    Microsoft to replace EFS in Windows 8.

  3. afrasim says:

    i have problem related to EFS, i have encrypted files without certificate for them, so i searched for solution, although there are plenty of softs which should solve this problem, but none of them helps. so if you have any idea, i’ll appreciate it.

  4. BobbySacks says:

    Can you describe the details of how to reproduce the error? Which versions of Windows have different versions of EFS, for example? Which NAS devices? How do you know it was EFS and not the NAS, such that the NAS is damaging other files in subtle ways that you haven’t detected yet? I’ve been using EFS for many years across all versions of Windows since 2001 and have yet to experience a corruption problem. Thanks.

Leave a Reply   Follow Ghacks   Subscribe To Comment Rss

Subscribe without commenting

© 2005-2012 Ghacks.net. All Rights Reserved. Privacy Policy - About Us