0

I tried to decrypt a EFS file with the built-in cipher command: cipher -d "D:\sample.txt", and here's the output:

Listing C:\Windows\System32\
New files added to this directory will not be encrypted.

Listing D:\
New files added to this directory will not be encrypted.

E sample.txt

Here's the screenshot. After the command was executed, I rebooted my computer and found the target file is still protected by EFS. How can I get the cipher command to work? The system is Windows 10. Thanks!

Update: Here's what I got when run the command cipher "D:\*":

 Listing D:\
 New files added to this directory will not be encrypted.

E sample.txt
9
  • 1
    I assume you have the certificate used to encrypt the file installed on your system? I also assume you are using an edition of Windows 10 that even supports EFS. Edit your question and provide the relevant information necessary to answer your question. Your syntax also looks to be incorrect. *You are using -d which specifies a directory but you're attempting to decrypt a text file instead of the directory it's in. Your output clearly indicates the file, after you attempt to decrypt it, is still encrypted.
    – Ramhound
    Nov 30, 2018 at 3:12
  • Edit your question, and provide the text output of the following command, cipher "D:\*". I suggest you move sample.txt to a different directory though and provide the encryption status of that folder instead.
    – Ramhound
    Nov 30, 2018 at 3:17
  • @Ramhound Thanks for your quick repsonse! Windows 10 Pro version 1803. The target file was encrypted by myself, and the EFS certificate should have been saved locally.
    – E.Swaff
    Nov 30, 2018 at 3:19
  • I still want the information I requested.
    – Ramhound
    Nov 30, 2018 at 3:21
  • @Ramhound I've edited the question.
    – E.Swaff
    Nov 30, 2018 at 3:28

1 Answer 1

1

I tried to decrypt a EFS file with the built-in cipher command: cipher -d "D:\sample.txt"

Your syntax isn’t correct. The correct command is cipher /d /f "D:\sample.txt"

Cipher

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .