Export (0) Print
Expand All

Configuring case sensitivity for file and folder names

Applies To: Windows Server 2003 R2

To configure case sensitivity for file and folder names using the Windows interface
  1. Open Microsoft Services for Network File System: click Start, point to Programs, point to Administrative Tools, and then click Microsoft Services for Network File System.

  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.

    ImportantImportant
    These changes will not take effect until Server for NFS is restarted. For information about how to stop and start Server for NFS, see Starting and stopping Server for NFS.

    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”

To configure case sensitivity for file and folder names using the command line
  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.

    ImportantImportant
    These changes will not take effect until Server for NFS is restarted. For information about how to stop and start Server for NFS, see Starting and stopping Server for NFS.

    noteNote
    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 /?

See Also

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft