Configure Case Sensitivity for File and Folder Names

Applies To: Windows Server 2008

Configuring case sensitivity

  • Using the Windows interface

  • Using the command prompt

To configure case sensitivity for file and folder names using the Windows interface

  1. Open Services for Network File System: click Start, point to Programs, point to Administrative Tools, and then click Services for Network File System (NFS).

  2. If necessary, connect to the computer you want to manage.

  3. Right-click Server for NFS, and then click Properties.

  4. Click the Filename Handling tab.

  5. Do one of the following:

    • To enable case-sensitive file and directory name lookups, select the Enable case sensitive lookups check box.

    • To disable case-sensitive file and directory name lookups, clear the Enable case sensitive lookups check box.

  6. Click Apply.

Important

These changes will not take effect until Server for NFS is restarted.
You also need to disable Windows kernel case-insensitivity in order for Server for NFS to support case-sensitive file names. You can disable Windows kernel case-insensitivity by clearing the following registry key to 0:
HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\kernel
DWORD “obcaseinsensitive”

Additional references

To configure case sensitivity for file and folder names using the command prompt

  1. Open the command prompt.

  2. To enable case sensitivity, type the following:

    nfsadmin server [ComputerName] config casesensitivelookups=yes

  3. To disable case sensitivity and optionally specify the case of file names returned by Server for NFS, at a command prompt, type the following:

    nfsadmin server [ComputerName] config casesensitivelookups=no [ntfscase={upper | lower | preserve}]

    Argument Description

    ComputerName

    The name of the computer you want to configure.

Important

These changes will not take effect until Server for NFS is restarted.

Note

The ntfscase option sets the case sensitivity for the NTFS file system. The default case sensitivity is preserve (preserve case).
To view the complete syntax for this command, at a command prompt, type:
nfsadmin server /?

Additional references