1

I am trying to make the folder case-sensitive on Windows 10 following one of the many tutorials using fsutil.exe: How to Enable or Disable Case Sensitive Attribute for Folders in Windows 10

First I executed command

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

It executed successfully and asked to reboot, which I did. Then I tried to make my target folder case-sensitive with command

fsutil.exe file setCaseSensitiveInfo <path/to/target/folder> enable

... but it responds with

setCaseSensitiveInfo is an invalid parameter.

whatever I do. I even tried different cases (heh) like SetCaseSensitiveInfo

Here I stuck because I can't google anything relatable and also fsutil documentation doesn't contain anything about setCaseSensitiveInfo for some reason. Any help?

My windows 10 version is 1607 btw

Kngh2
  • 113
  • 2
  • You enabled WSL and now are trying to make Windows itself case-sensitive (which won't work)? What's the connection? Why are you inventing parameters for fsutil? – harrymc Jun 03 '21 at 09:17
  • @harrymc: The connection is that this feature was [originally added for WSL purposes](https://devblogs.microsoft.com/commandline/per-directory-case-sensitivity-and-wsl/), and while it can be used for any directory (including non-WSL ones), it only becomes *available* if WSL is installed. – u1686_grawity Jun 03 '21 at 09:31
  • Please follow the link I provided. – Kngh2 Jun 03 '21 at 09:31
  • This is a WSL kludge, do not expect it to work for Windows tools. – harrymc Jun 03 '21 at 10:28
  • 1607 was released in 2015. Why do you use such an old and unsupported version? – phuclv Jun 03 '21 at 12:15
  • @phuclv 1607 is still supported as part of LTSC, all the way up to 2026(!) – MMM Jun 04 '21 at 09:40
  • @MMM yes, but only if the OP is using the enterprise LTSC version. You don't get that on normal enterprise or home versions – phuclv Jun 04 '21 at 09:51
  • @phuclv that's what I figured when he mentioned his company's policy in a comment on user1686's answer – MMM Jun 04 '21 at 10:45
  • @user1686: I'll believe it when I see it. I have seen Windows applications that "normalized" file names by setting them to lower or upper case. Several decades of applications assuming case doesn't matter are not going to be erased by one kludge. – harrymc Jun 04 '21 at 10:50
  • @phuclv well, my company simply doesn't want to buy new updates. Unfortunately, this case problem doesn't significant enough. I'm trying to find some workaround, but so far no good – Kngh2 Jun 04 '21 at 12:12
  • @Kngh2 Windows 10 updates are free forever. But I do understand that the IT department in many companies are just too preservative or lazy to evaluate new software versions – phuclv Jun 04 '21 at 12:30

1 Answers1

2

Your Windows 10 version is too old. This feature was added in version 1803 (RS4).

u1686_grawity
  • 426,297
  • 64
  • 894
  • 966