Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

fsutil - The request is not supported after setCaseSensitiveInfo

I am trying to make a folder on Windows 10 case sensitive.

I found this link that shows what you should do: basically it should be very easy:

fsutil.exe file setCaseSensitiveInfo -destination here- enable

Unfortunately I keep getting this error:

Error: The request is not supported.

Does anybody know how to fix this?

like image 242
eliav ozeri Avatar asked Jun 13 '18 14:06

eliav ozeri


People also ask

Is Windows 10 file system case sensitive?

Standard behavior: Windows file system treats file and directory names as case-insensitive.

What is Fsutil?

fsutil objectid. Manages object identifiers, which are used by the Windows operating system to track objects such as files and directories. fsutil quota. Manages disk quotas on NTFS volumes to provide more precise control of network-based storage.

Is Windows 11 case sensitive?

Microsoft introduced with Windows 11 case-sensitive validation of the NPS certificate (Windows 10 supported nonsensitive notation).

How do I turn on case sensitivity in Windows?

Type the following command to enable NTFS to treat the folder's content as case sensitive and press Enter: fsutil.exe file SetCaseSensitiveInfo C:\folder\path enable In the command, remember to include the path to the folder you want to enable case sensitivity.


2 Answers

The command you need to run is:

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux

It will take several seconds to run, and will prompt you to restart your computer (which you can decline).

like image 69
Keith Turkowski Avatar answered Nov 16 '22 01:11

Keith Turkowski


Firstly run the below command on Windows PowerShell opened in administrator mode:

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux

It takes few seconds and will prompt you to restart your computer. After restarting, open the command prompt in administrator mode and run:

fsutil.exe file SetCaseSensitiveInfo YourDestinationFolder enable

Example:

fsutil.exe file SetCaseSensitiveInfo C:\Users\gmudepa\Documents\GitHub\linux enable
like image 28
Govindu M Avatar answered Nov 16 '22 00:11

Govindu M