Show Compressed File Color in Windows Registry
In Windows, NTFS compressed files and folders are highlighted with
blue text by default to distinguish them from standard uncompressed
items. This visual indicator is controlled directly by a specific DWORD
value within the Windows Registry named ShowCompColor.
Modifying this entry allows you to enable or disable the colored text
for both compressed (blue) and encrypted (green) files without
navigating through the File Explorer options menu.
The Registry Key and Value
The behavior is controlled by the following registry configuration:
- Registry Path:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced - Value Name:
ShowCompColor - Value Type:
REG_DWORD(32-bit Value) - Value Data:
1= Enabled (Compressed file names appear in blue, encrypted file names appear in green)0= Disabled (Compressed and encrypted file names appear in the default text color)
How to Modify the Setting in Regedit
Press
Windows Key + R, typeregedit, and press Enter to open the Registry Editor.Navigate to the following path:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\AdvancedIn the right pane, locate the
ShowCompColorentry. If it does not exist, right-click an empty space, select New > DWORD (32-bit) Value, and name itShowCompColor.Double-click
ShowCompColorto edit its value:- Set the Value data to
1to display compressed files in blue. - Set the Value data to
0to remove the color highlighting.
- Set the Value data to
Click OK to save the changes.
Applying the Changes
For the changes to take effect immediately, restart Windows Explorer:
- Press
Ctrl + Shift + Escto open the Task Manager. - Locate Windows Explorer in the Processes tab.
- Right-click it and select Restart.