locked
How can I search for files encrypted with Encrypting File System (EFS)? RRS feed

  • Question

  • My backup software is reporting that some of my files are encrypted with the Windows 7 encrypted file system (EFS), but to my knowlege, I haven't encrypted any folders or files. Is there a way to locate encrypted files (maybe using the Windows Explorer)?

    Thanks!

    Tuesday, July 12, 2011 11:18 PM

Answers

  • Run the following command from an elevated command prompt:

    cipher /u /n

    See also http://technet.microsoft.com/en-us/library/bb490878.aspx

    Here is a PowerShell command to accomplish the same thing, but it is slower than Cipher.

    get-childitem c:\ -Recurse -Force -ErrorAction SilentlyContinue | Where-Object {$_.Attributes -ge "Encrypted"} | format-list fullname, attributes

    • Marked as answer by Sachelis Wednesday, July 13, 2011 4:19 AM
    Wednesday, July 13, 2011 3:45 AM

All replies

  • Run the following command from an elevated command prompt:

    cipher /u /n

    See also http://technet.microsoft.com/en-us/library/bb490878.aspx

    Here is a PowerShell command to accomplish the same thing, but it is slower than Cipher.

    get-childitem c:\ -Recurse -Force -ErrorAction SilentlyContinue | Where-Object {$_.Attributes -ge "Encrypted"} | format-list fullname, attributes

    • Marked as answer by Sachelis Wednesday, July 13, 2011 4:19 AM
    Wednesday, July 13, 2011 3:45 AM
  • Fantastic. Thank you thank you!
    Wednesday, July 13, 2011 4:19 AM
  • as an admin i want to search all efs files and folder over the network before migrating them to the new domain. how i can achieve that?
    Tuesday, January 5, 2016 8:28 PM