Case Sensitve NTFS Folder

case-sensitiveiis-7ntfswindows-server-2008-r2

I am migrating a Linux/Apache/PHP website to a server running Windows Server 2008 R2/IIS 7.0.

I have everything working except one minor issue. The file system on the Linux box is case-sensitive and many of the files will have duplicate filenames on Windows.

How would I go about making the folder C:\Website\Site1 case-sensitive so that I can store all the files on the original server there?

If I have to turn on case-sensitivity for the entire server, so be it. There is nothing else running on it.

Best Answer

You can't enable case sensitivity for a single folder or volume on Windows, but you can do it for the whole system.

You need to change the value of the Registry key

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\kernel\obcaseinsensitive

from 1 to 0 and reboot the system.