General Turn On or Off Show Encrypted or Compressed NTFS files in Color in Windows 11

  • Thread starter Thread starter Brink
  • Start date Published: Start date Updated Updated:

ShowEncryptCompressedColor_banner.webp

This tutorial will show you how to turn on or off showing encrypted or compressed NTFS files in color for your account in Windows 10 and Windows 11.

The NTFS file system volumes support file and folder compression on an individual file basis. The file compression algorithm used by the NTFS file system is Lempel-Ziv compression. This is a lossless compression algorithm, which means that no data is lost when compressing and decompressing the file, as opposed to lossy compression algorithms such as JPEG, where some data is lost each time data compression and decompression occur.

The Encrypted File System, or EFS, provides an additional level of security for files and folders. It provides cryptographic protection of individual files on NTFS file system volumes using a public-key system.

You can turn on to show file name text of encrypted files and folders in green color and compressed files and folders in blue color.


Contents

  • Option One: Turn On or Off Show Encrypted or Compressed NTFS files in Color in Folder Options
  • Option Two: Turn On or Off Show Encrypted or Compressed NTFS files in Color using REG file
  • Option Three: Turn On or Off Show Encrypted or Compressed NTFS files in Color in Registry Editor


EXAMPLE: "Show encrypted or compressed NTFS files in color" turned on and off

ShowEncryptCompressedColor-ON.png


ShowEncryptCompressedColor-OFF.png





Option One

Turn On or Off Show Encrypted or Compressed NTFS files in Color in Folder Options


1 Open Folder Options.

2 Click/tap on the View tab. (see screenshot below)

3 Check (on) or uncheck (off - default) Show encrypted or compressed NTFS files in color for what you want.

4 Click/tap on OK.

Folder_Options_ShowEncryptCompressedColor.png





Option Two

Turn On or Off Show Encrypted or Compressed NTFS files in Color using REG file


This option will not work when Administrator protection is turned on.


1 Do step 2 (on) or step 3 (off) below for what you would like to do.

2 Turn On Show Encrypted or Compressed NTFS files in Color

A) Click/tap on the Download button below to download the file below, and go to step 4 below.​

Turn_ON_ShowEncryptCompressedColor.reg


(Contents of REG file for reference)
Code:
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"ShowEncryptCompressedColor"=dword:00000001

3 Turn Off Show Encrypted or Compressed NTFS files in Color

This is the default setting.


A) Click/tap on the Download button below to download the file below, and go to step 4 below.​

Turn_OFF_ShowEncryptCompressedColor.reg


(Contents of REG file for reference)
Code:
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"ShowEncryptCompressedColor"=dword:00000000

4 Save the .reg file to your desktop.

5 Double click/tap on the downloaded .reg file to merge it.

6 When prompted, click/tap on Run, Yes (UAC), Yes, and OK to approve the merge.

7 If File Explorer is open, then either refresh (F5) or close and reopen File Explorer to apply.

8 You can now delete the downloaded .reg file if you like.




Option Three

Turn On or Off Show Encrypted or Compressed NTFS files in Color in Registry Editor


1 Open Registry Editor (regedit.exe).

2 Navigate to the key location below in the left pane of Registry Editor. (see screenshot below step 3)

HKEY_USERS\<SID>\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced

Substitute <SID> in the key path above with the actual SID for the account you want to apply this to.

For example:
HKEY_USERS\S-1-5-21-2498639629-3946114050-4100787084-1001\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced


3 In the right pane of the Advanced key, double click/tap on the ShowEncryptCompressedColor DWORD to modify it. (see screenshot below)

ShowEncryptCompressedColor-1.webp

4 Enter 0 (off - default) or 1 (on) for what you want, and click/tap on OK. (see screenshot below)

ShowEncryptCompressedColor-2.webp

5 If File Explorer is open, then either refresh (F5) or close and reopen File Explorer to apply.

6 You can now close Registry Editor if you like.


That's it,
Shawn Brink


 

Attachments

Last edited:
Is there a way to change the color from green to any other color (such as red or purple)?
 

My Computers

System One System Two

  • OS
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Dell Latitude 5501
    CPU
    Intel I7
    Motherboard
    Dell
    Memory
    32GB
    Monitor(s) Displays
    Samsung CF390
    Screen Resolution
    1920 x 1080
    Hard Drives
    1TB Crucial BX500
    Internet Speed
    DSL
    Browser
    Chrome
    Antivirus
    Windows Defender
  • Operating System
    Windows 10 Pro
    Computer type
    PC/Desktop
    CPU
    AMD Ryzen 7 5700X
    Motherboard
    Gigabyte B450-DS3H WiFi
    Memory
    64GB
    Monitor(s) Displays
    Samsung CF390
    Screen Resolution
    1920 x 1080
    Hard Drives
    WD Black SN850X
    Browser
    Chrome
    Antivirus
    AVG
Tutorial updated to add option three. :alien:
 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    CyberPower CP1500PFCLCD
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Surface Laptop 7 Copilot+ PC
    CPU
    Snapdragon X Elite (12 core) 3.42 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Monitor(s) Displays
    15" HDR
    Screen Resolution
    2496 x 1664
    Hard Drives
    1 TB SSD
    Internet Speed
    Wi-Fi 7 and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender
Back
Top Bottom