Windows 10: Case sensitive file and folder names

By default Windows processes treat the file system as case-insensitive. As such they do not differentiate between files or folders based on case. For example, filenames FILE.txt and file.txt are viewed as the same file, even where their content and all other information is different.

In normal operation this does not cause an issue, however problems may occur where files or folders came from a file system that supports case sensitivity such as Linux or UNIX, or where the computer is using the Windows Subsystem for Linux (a compatibility layer for natively running Linux binary executables on Windows).

To make it easier to deal with case sensitivity when handling this type of file or folder. The Windows 10 April 2018 Update (version 1803) introduced a new flag, configurable on a per-directory basis. When enabled, all Windows processes will respect the case sensitivity of the folder and its files, so they view FILE.txt and file.txt as different files.

This setting only applies to the selected folders and associated files. Not the entire file system. Additionally, the settings is not inherited by any sub-folders created in a case sensitive directory.
This can affect user entered file and folder location in some native Windows processes, including Managed Antivirus Exclusions. If the location does not precisely match the case file and folder case. The Windows process will be unable to query these locations.

Managed Antivirus Exclusion Case Sensitive File Location Example

The following example uses the eicar anti-malware test file:

Case Sensitive File Location


Managed Antivirus Exclusion



Test file ignored (excluded)


Test file quarantined

Check Folder Case Sensitivity

To check whether a folder is case sensitive, run the following from a command prompt:

fsutil.exe file queryCaseSensitiveInfo <path>

For examplecommand and response:

C:\ >fsutil.exe file queryCaseSensitiveInfo C:\case_sensitivity

Case sensitive attribute on directory C:\case_sensitivity is disabled.

What do you want to do?

Please note that we are not responsible for the content of external sites.