Can I safely change NtfsDisable8dot3NameCreation in registry


  1. Posts : 1,002
    XP Pro (x86) | 7 HP (x86) & (x64) | 7 Pro (x64)
       #1

    Can I safely change NtfsDisable8dot3NameCreation in registry


    Some of my file "full-path-names" are getting rather long (230 characters)
    - a bit too close for comfort to the absolute 260 (including drive, folders, separators, file-type, null char, 8.3 file name.

    I have always assumed there was no limit to (character-length) of nested folder etc ... but I have discovered I am wrong.

    Windows File Name Restrictions – Why a File Name Can be too Long
    Limits on the Length of File Names and Paths -- Table

    Microsoft Technet Registry value "NtfsDisable8dot3NameCreation"

    Can I safely disable creating 8.3 truncated file-names (stored along with the "normal" full-name) ?
    - from my reading, 8.3 is a hangover from 16bit programs

    In HKLM\SYSTEM\CurrentControlSet\Control\FileSystem (key)
    Value Name:- NtfsDisable8dot3NameCreation
    - what would be the safest "data" value without sabotaging my file system
    - the table of parameters in the Microsoft Technet "Descriptions" table is not as clear as I would like.
    - I am aware the 8.3 name is only 12-characters) ... but every "inch" counts.

    In the meantime I am trying to workout how to restructure our filing "system"
    - we use long integers as part of folders + file names to indicate series/changes to AutoCad files
    - long term I am considering creating an Excel file to open files using VBA (we still use Excel 2003)

    Would appreciate any advice :)

    -----------
    SPECS
    Win7 Home Premium 32 bit
    AutoCad 2006 32 bit
    Office 2003 (32 bit)
    Last edited by bawldiggle; 10 Apr 2015 at 18:12. Reason: corrections
      My Computer


  2. Posts : 5,642
    Windows 10 Pro (x64)
       #2

    By default that option is set for only creating 8.3 file names for system files on the system drive (C: )

    As for why you want to disable...turn it off. I have no idea why. It is not going to do anything for you.

    Anyways a better solution to your current file system, should probably look into version control that way you don't need to put version information in the file name itself.
      My Computer


  3. Posts : 1,002
    XP Pro (x86) | 7 HP (x86) & (x64) | 7 Pro (x64)
    Thread Starter
       #3

    Version information is how we locate files in WinExp
    - trawling through WinExp opening properties does not resolve my problem (as I see it)
    - we keep every drawing file based on a client-number + project-ID + versions integers
    - so if we need to back-track to a previous version we have the "older" files available

    Dropping 8.3 will release 12 characters for "full-names" until I can get our team together to discuss our filing protocols.
    - in the mean time by releasing 12 characters our filing system will not collapse, (I hope)

    The factory default setting is "2"
    - which is described as ...
    NTFS sets the 8.3 naming convention creation on a per volume basis.
    ... according to Microsoft Technet Registry value "NtfsDisable8dot3NameCreation"

    Can I safely change NtfsDisable8dot3NameCreation in registry-parameters.png

    I assume "per volume" means the drive to which it is applied (a cmd to set it)
    - as per "Sample Commands" (section) on NtfsDisable8dot3NameCreation"

    I am inclined to use "1" but am concerned about the affects on system files in "C:\"
    - my laptop has only one drive, two rigs have dual spinners and two other rigs are single spinners.

    All arrived at by my ignorance over the years.
    - and my trust in paid gurus who were fudging their "knowledge"

    If I use "3" on single drive machines I assume "3" will not apply because "C:\" is the system drive ...
    NTFS disables 8dot3 name creation on all volumes except the system volume.

    ... or am I chasing rainbows ? :)
      My Computer


  4. Posts : 5,642
    Windows 10 Pro (x64)
       #4

    bawldiggle said:
    Dropping 8.3 will release 12 characters for "full-names" until I can get our team together to discuss our filing protocols.
    - in the mean time by releasing 12 characters our filing system will not collapse, (I hope)
    No. It won't. You have the wrong idea. The 8.3 name that the system generates is just an Alias in the MFT it does not count toward the path length limitation.

    And that is why I recommend a version control system. The version control system like subversion handles the file history, allowing one to go back in time of the file without using different file names to tell them apart.
      My Computer


  5. Posts : 1,002
    XP Pro (x86) | 7 HP (x86) & (x64) | 7 Pro (x64)
    Thread Starter
       #5

    In this article the author states ...
    There is still another limit on the length of a file name that is often overlooked. There is usually a default option to provide an alternate name for a file using the old 8.3 naming system. When you create a new folder, Windows will reserve 12 characters for the alternate file name, leaving 244 characters for all containing folders. The creation of 8.3 names can be disabled but this can cause problems with very old 16-bit programs.
    The Microsoft article How to Disable Automatic Short File Name Generation does not clarify the effects of 8.3 on maximum characters in a full-name string.

    Maybe I am misinterpreting what I am reading.

    What is a file version system ?
    Does it require another program or is it just an ID/version protocol apart from the full-name-path ?

    Thank you for hanging in there with me :) We have to get our filing system sorted before it becomes a catastrophic issue.
    :)
      My Computer


  6. Posts : 1,002
    XP Pro (x86) | 7 HP (x86) & (x64) | 7 Pro (x64)
    Thread Starter
       #6

    A DuckDuckGo search https://duckduckgo.com/?q=subversion+file+system&kaa=p has given me a lot of links to follow up.
    - "Subversion" will require a lot of research on my part.

    The 8.3 settings are starting to make sense (I think ) Microsoft TechNet article Configuring Your File System
    - a side benefit of disabling 8.3 could increase opening speed of files.
    - not an issue with text files but maybe could help reducing delays while AutoCad files open. (maybe)

    This article implies maybe some risks if "NtfsDisable8dot3NameCreation" is changed. But the article states the default is "0" when it is "2" on 5 of my machines.
    No wonder I am confused
      My Computer


  7. Posts : 2,497
    Windows 7 Pro 64 bit
       #7

    8.3 filenames are a holdover from a bygone era but that doesn't mean they are no longer of any importance. The problem is that some relatively recent 32 bit applications (for reasons best known to the developers) still rely on these names and will fail if they are not present. If you set this option and later discover it creates a problem the situation is not so easily corrected. If you re-enable the setting new files will get 8.3 filenames, but it will not go back and create these names on files created when the setting was disabled.

    The setting can improve performance on a system that creates many files and is the default on new server operating systems. File servers tend to run only a small set of applications, usually provided by the OS. But on a workstation running a variety of applications the benefits tend to be lower and the risks higher.
      My Computer


  8. Posts : 1,002
    XP Pro (x86) | 7 HP (x86) & (x64) | 7 Pro (x64)
    Thread Starter
       #8

    @ LMiller7 :)

    Thank you for clarifying 8.3. I think it best I leave "NtfsDisable8dot3NameCreation" as is, the default.

    Next step for me is to do some "homework" on "Subversion" - might be helpful with our long folder & file names
    - it is not a problem yet ... !

    Thanks to all for your guidance :)
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 21:58.
Find Us