Registry Tip : NT's Long File Name (LFN) support

  • Section(s): Miscellaneous
  • Published on Apr 20, 2004.
  • Last Modified on Apr 20, 2004.
  • Last Modified by Wayne Maples.
  • Rated 5 out of 5 based on 1 votes.
Enable long file name support in NT - background on LFN.
NT support long file names (LFNs) even under FAT. The File Allocation Tables are essentially unchanged; linked lists of 8.3 entries are still the core of the FAT file system. NT works around the 8.3 limitation by concatenating multiple 8.3 segments into a single long file name. For each thirteen chars in LFN, NT uses a single directory entry with a pointer to the next directory entry (for next 13 chars) if needed. When the LFN is completed, NT generates a short 8.3 compliant file name for use as an MS-DOS compatible "alias". To diable LFNs support in NT:

Hive: HKEY_LOCAL_MACHINE
Key: SYSTEM\CurrentControlSet\Control\FileSystem\
Name: Win31FileSystem
Type: REG_WORD
Value: 1 Disable Long Filename Support
Value: 0 Enable Long Filename Support

This could cause severe problems. Its probably one of those admin tweaks that one implements to save a few processing cycles but spend days working on odd symptoms due to the change. Not recommended.

About Wayne Maples

Share this article


Article not looking right or info is missing? Let us know so that we can fix it: .


Receive all the latest articles by email!

Receive Real-Time & Monthly WindowsNetworking.com article updates in your mailbox. Enter your email below!
Click for Real-Time sample & Monthly sample

Become a WindowsNetworking.com member!

Discuss your network issues with thousands of other network administrators. Click here to join!

Community Area

Log in | Register

Readers' Choice

Which is your preferred Network Inventory solution?