Encrypt your Thumb Drive at Work and Use it at Home -- PART ONE

AID: 1297
  • Status: Published

17600 points

  • By
  • TypeTips/Tricks
  • Posted on2009-08-09 at 17:43:18
Awards
  • Community Pick
  • Experts Exchange Approved
  • Editor's Choice

USB "Thumb Drives" are convenient and cheap.  They are great for making quick backups and for transferring data from one place to another.  But if you lose a portable flash disk, anything it contains is easily read by whoever finds it.  It turns out to be pretty easy to use Windows EFS (Encrypting File System) to encrypt thumb drive data, but it's not so obvious how to make it possible to read from that drive on another computer.

This two-part article describes the steps needed to use EFS to store encrypted data on a thumb drive at work and still be able to use that data on another computer at home.  I can dump an entire project directory onto the drive on Friday and use it at home with no fear that if I were to lose the drive, say, at an airport, my client's proprietary source code would be at risk.

Overview
You need to have the thumb drive formatted using NTFS.  To do that, you need to change a setting in the Device Manager first.  Once you've reformatted the drive to NTFS and set up an encrypted directory (covered here in PART ONE), you need to export a Certificate from one computer and import it on the other computer (covered in PART TWO).  If you know how to do all of this, then you're done. If not, read on.

Precautions:
We will be formatting your thumb drive.  You want to be very careful to ensure that you are formatting the thumb drive and not some other drive.  I suggest that you set the volume label to, for instance, My4GThumDrv.  I also suggest that at this point you copy anything you want to save to a hard disk and delete all of the files and directories from the thumb drive.

If, while following these steps, you get to a point where you are not sure if you are working with the right drive, then stop! and find a way to be sure before proceeding.  If you have deleted the data as suggested, then one way to be sure you have the right drive is to see that it is currently empty of files.

How to Enable Encryption on the Thumb Drive

1

Change Device Settings

You can do this through Control Panel / Device Manager, but the easiest way is via the Windows Explorer.  Locate the drive under "My Computer."  Right-click it and choose Properties.  

Click the Hardware tab.  
Locate your thumb drive in the list.  
Select it and click the [Properties] button.

        First, be sure you have the right drive: Click the Volumes tab
        and click the [Populate] button.  You should see the volume label
        and the drive letter.

Now, click the Policies tab.

Fig1.JPG
  • 69 KB
  • "Polices" properties for the thumb drive
"Polices" properties for the thumb drive

Most thumb drives are formatted with the FAT or FAT32 filesystem.  You need to change the "Write caching and Safe Removal" option in order to be able to reformat it to NTFS.  Click the Optimize for performance option as shown.  OK the change.


2

Format the Drive, DESTROYING all Data On It

If the drive contains any data you want to preserve, copy that data to a hard disk.  This step will delete everything that is on the thumb drive.

In the Windows Explorer, locate your thumb drive (under "My Computer")  Right-click it and select Format.  

Fig2.JPG
  • 16 KB
  • Format to use NTFS filesystem
Format to use NTFS filesystem


Having changed the Policy in Step 1, you will now have the option of choosing the NTFS filesystem.  Make it so.  

Verify (one last time!) that the volume label indicates that you are working with the correct drive, and click the [Start] button to begin formatting.


3

Set Up an Encrypted Folder

In the Windows Explorer, locate the newly-formatted drive.  Select it.  Right-click in the file area and choose New > Folder Set the folder name to Private Data.

Now Right-click the "Private Data" folder and select Properties

Fig3.JPG
  • 41 KB
  • Enable encryption for a folder
Enable encryption for a folder


Put a checkmark in the Encrypt contents to secure data checkbox.
OK the change.  The Explorer will now show that folder name ("Private Data") in green to indicate that it is an encrypted folder.  All filenames in that folder (and all subfolders) will also be displayed in green letters.


Congratulations!  You now have a folder on your thumb drive that will always be encrypted.  You can drop files into that folder and only you (or whoever knows your Windows login name and password on this computer) will be able to read them.  Other users will get a "Permission denied" popup error.  File preview (i.e. image thumbnails, etc.) will show only a default/blank icon.  

Notes:
  • File and folder names remain visible to anyone, so you might want to keep that in mind.  Also, only the files in the "Private Data" folder and its subfolders will be encrypted; e.g., files in the root directory are not encrypted in this scenario.

  • Many employers have strict policies about copying data from corporate sources -- with or without an encrypted transport mechanism.  I suggest that you check your company's policies before taking any data from an office computer and putting it onto a portable device.


How to Make the Drive Readable At Home
When you plug in the USB drive at work, you will be able to access the Private Data folder.  But if you take it home, or try to use it on any other computer, the contents of that folder cannot be used.  

For the step-by-step on making that data visible on anther computer, as well as the summary notes relevant to this article...

                                      See PART TWO  

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
If you liked this article and want to see more from this author,  please click the Yes button near the:
      Was this article helpful?
label that is just below and to the right of this text.   Thanks!
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

    Asked On
    2009-08-09 at 17:43:18ID1297
    Tags

    encrypt thumb drive

    ,

    EFS

    ,

    Encrypting File System

    ,

    USB Drive

    ,

    thumb drive

    ,

    NTFS

    Topic

    Microsoft Operating Systems

    Views
    6496

    Comments

    Expert Comment

    by: aikimark on 2009-08-10 at 10:18:43ID: 2636

    @WS

    This article is about encrypting thumb drive content.  It doesn't address any company policy about thumb drive use.  In fact, an unlocked USB port allows for ANY content to be copied, whether that content was encrypted or not.  If you want to write an article about creating employer policies about USB port or thumb drive use then go for it.  Otherwise, I disagree with your concerns about this article's possible content missuse.

    If the article addressed ways of circumventing a locked USB port, then I would have a problem with that, since it falls into the cracker/hacker realm.

    If Dan, or anyone, wants to write an article on how to lock down USB ports, then I would encourage such an article.

    Expert Comment

    by: WaterStreet on 2009-08-12 at 08:15:56ID: 2682

    I think this pair of articles addresses something important to know and does it in a way that clearly and concisely addresses the questions a user would have in mind.  In short, it takes the mystery out of something that is important to know and makes it available for general use.  And, it gives a little, but needed, extra education about certificates.  Even I understand it now.  It got my vote above.

    Expert Comment

    by: mwvisa1 on 2009-09-10 at 00:54:44ID: 3367

    Very nice, Dan!

    Voted yes above.

    Expert Comment

    by: LarcenIII on 2009-10-22 at 08:19:50ID: 4657

    I prefer Trucrypt myself.

    Expert Comment

    by: HaimD on 2010-12-24 at 08:16:47ID: 22407

    I get this error after I try to Apply "Encrypt contents to secure data."  Clicking ignore, Retry, etc. does not turn my folder "green" as you indicate.

    Why?  This would be useful otherwise.

    pix-error.JPG
    • 15 KB
    • Error when applying
    Error when applying

      Author Comment

      by: DanRollins on 2010-12-24 at 14:02:17ID: 22410

      It is related to a policy setting on you computer.  This TechNet link appears to explain the problem.  See also, this link.

      Expert Comment

      by: HaimD on 2010-12-25 at 09:35:57ID: 22424

      Thanks Dan.
      I read "in general" how to fix this, but I could not find directions on exactly what to do and how to do.  I don't understand what "certificates" this message is talking about and where they are.  
      I know computers just a bit, but this one escapes me...
      Any further pointing in the right direction would be gladly accepted.  

      Author Comment

      by: DanRollins on 2010-12-25 at 15:19:10ID: 22429

      I really can't solve that particular problem in the article comments here.  I recommend that you ask a question at Experts-Exchange.com :-)

      Add your Comment

      Please Sign up or Log in to comment on this article.

      Loading Advertisement...

      Top Microsoft OS Experts

      1. arnold

        81,323

        Master

        5,500 points yesterday

        Profile
        Rank: Genius
      2. Run5k

        37,362

        0 points yesterday

        Profile
        Rank: Sage
      3. demazter

        26,456

        400 points yesterday

        Profile
        Rank: Genius
      4. ve3ofa

        19,467

        2,000 points yesterday

        Profile
        Rank: Genius
      5. nobus

        18,208

        0 points yesterday

        Profile
        Rank: Savant
      6. cwstad2

        14,600

        1,500 points yesterday

        Profile
        Rank: Master
      7. ded9

        14,234

        2,000 points yesterday

        Profile
        Rank: Genius
      8. thinkpads_user

        13,527

        0 points yesterday

        Profile
        Rank: Genius
      9. jordannet

        11,800

        0 points yesterday

        Profile
        Rank: Wizard
      10. hanccocka

        11,064

        0 points yesterday

        Profile
        Rank: Genius
      11. e_aravind

        10,500

        0 points yesterday

        Profile
        Rank: Genius
      12. RobSampson

        10,268

        0 points yesterday

        Profile
        Rank: Genius
      13. dariusg

        9,195

        0 points yesterday

        Profile
        Rank: Genius
      14. leew

        9,188

        0 points yesterday

        Profile
        Rank: Savant
      15. helpfinder

        8,450

        0 points yesterday

        Profile
      16. bucks

        8,000

        2,000 points yesterday

        Profile
      17. Merete

        7,684

        0 points yesterday

        Profile
        Rank: Genius
      18. aarontomosky

        7,430

        0 points yesterday

        Profile
        Rank: Genius
      19. Neilsr

        7,380

        0 points yesterday

        Profile
        Rank: Genius
      20. samnasser

        7,300

        0 points yesterday

        Profile
      21. kevinhsieh

        7,075

        0 points yesterday

        Profile
        Rank: Genius
      22. GrokkMe

        7,000

        0 points yesterday

        Profile
      23. Bartender_1

        6,800

        0 points yesterday

        Profile
        Rank: Sage
      24. Exchange_Geek

        6,800

        0 points yesterday

        Profile
        Rank: Sage
      25. jcimarron

        6,600

        0 points yesterday

        Profile
        Rank: Genius

      Hall Of Fame