When you encrypt a file or folder with EFS in Windows 11/10, its icon will have a lock overlay at the top right corner to indicate that it’s an EFS encrypted file or folder on NTFS drives and is protected from unwanted access. When you compress files and folders on an NTFS drive, they will have a double blue arrows icon overlay at the top right corner to indicate that they are compressed. NTFS file system compression can save disk space, compressing data can adversely affect performance. When you execute a command to search, find and list all EFS encrypted and compressed files on Windows 11/10, you can specify if the result will output within the command line interface or be exported to .txt file, which you can read with any text editor, like Notepad.
Find & list EFS Encrypted files & folders on Windows 11/10
1) To find and output list within the command-line interface
Press Windows key + R and type CMD in the dialog box, hit Enter to launch a command prompt. In the prompt, type the following command and hit Enter: Depending on the volume of encrypted files, Windows will now take some time to crawl all NTFS local drives for all encrypted files belonging to the currently logged on user, and will output a list in the command prompt. If you do not have any encrypted files, the output will be the same as shown above.
2) To find and export list to a .txt file
Open command prompt In the prompt, type the following command and hit Enter: When the scan command completes, the list will be exported to your desktop in a file named EncryptedFilesList.txt. You can double-click the file to view the list.
Search & list Compressed files & folders on Windows 11/10
1) To find and output list within the command line interface
Press Windows key + R and type CMD in the dialog box, hit Enter to launch a command prompt.
In the prompt, type the following command and hit Enter:
Replace
2) To find and export list to a .txt file
Use this option if you have a long list of compressed files and folders to review in a text file.
Open command prompt
In the prompt, type the following command and hit Enter:
Replace