Configuring EFS using Cipher.exe

In this exercise you will learn how to encrypt and decrypt files and folders using cipher.exe command-line utility on a Windows Server 2012 R2:

  1. Log on to Example-Server01 and create a new folder named Confidential_Docs in partition C.
  2. Double click and open Confidential_Docs and create a text document in it and name it Daily_Doc.txt.
  3. Double click Daily_Doc.txt and type something in it. Click File and then Save and then close the Notepad text editor.
  4. Open the Start screen and type cmd.exe and press Enter to open Windows command line.
  5. Type the following command and press Enter to encrypt the Confidential_Docs folder and all the content inside:
  6. Cipher.exe /E /S:C:\Confidential_Docs
  7. To decrypt the same folder, you will need to use the following command:
  8. Cipher.exe /D /S:C:\Confidential_Docs

If you are interested in security and you want more of these detailed step-by-step guides, you could have a look at my recently published ebook by clicking on the book cover below:


Leave a Reply

Your email address will not be published. Required fields are marked *