Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Can I safely change NtfsDisable8dot3NameCreation in registry

10 Apr 2015   #1
bawldiggle

XP/7x32 & x64/8x64/8.1x64
 
 
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)



My System SpecsSystem Spec
.
10 Apr 2015   #2
logicearth

Windows 10 Pro (x64)
 
 

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 System SpecsSystem Spec
10 Apr 2015   #3
bawldiggle

XP/7x32 & x64/8x64/8.1x64
 
 

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 ...
Quote:
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 System SpecsSystem Spec
.

10 Apr 2015   #4
logicearth

Windows 10 Pro (x64)
 
 

Quote   Quote: Originally Posted by bawldiggle View Post
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 System SpecsSystem Spec
11 Apr 2015   #5
bawldiggle

XP/7x32 & x64/8x64/8.1x64
 
 

In this article the author states ...
Quote:
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 System SpecsSystem Spec
11 Apr 2015   #6
bawldiggle

XP/7x32 & x64/8x64/8.1x64
 
 

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 System SpecsSystem Spec
11 Apr 2015   #7
LMiller7

Windows 7 Pro 64 bit
 
 

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 System SpecsSystem Spec
12 Apr 2015   #8
bawldiggle

XP/7x32 & x64/8x64/8.1x64
 
 

@ 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 System SpecsSystem Spec
Reply

 Can I safely change NtfsDisable8dot3NameCreation in registry




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
GPU TdrDelay registry change
I use a 3d program called Blender. There are 2 different ways to render in their cycles render engine. One of those ways is within the viewport. This allows you change materials and lighting on the fly and visually see the changes occuring on the fly. The other way is just a standard render,...
Graphic Cards
Undo registry change
My name's andy... and I messed up (whew, weight off shoulders) I'm ashamed to admit this but it is what it is and I need to correct it. I was having an issue with sharing folders on one of my windows desktops, particularly "There are no more endpoints available from the endpoint mapper". So I...
Backup and Restore
Need help with permissions change in registry
Trying to remove all of Acronis True Image 2011...used Revo, Acronis cleanup utility, and manual search of registry. It's recommended that before installing ATIH2013...I should clean as much as I can of ATIH2011 from my PC. Have removed scores of Acronis entries...but I have three left I...
Backup and Restore
Cannot delete certain Registry Key; Cannot change Owner of Registry Ke
In order to get rid of the *.zip folder view in WinExplorer on a64bit WIn7 system I tried to delete (according to some tutorials) the Registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Classes\CLSID\{E88DCCE0-B7B3-11d1-A9F0-00AA0060FA31} Unfortuantely this is NOT possible immediately....
General Discussion
Do a registry change to power down usb devices after safely remove?
hello, is it very highly recommended to do a registry change - USB Port Remains Active for Disabled or Safely Removed USB Device to power down usb devices like external hard drives after clicking safely remove on windows 7? Any problems with external hard drives while on that amended...
Hardware & Devices
How can I safely change my folder color?
Hey guys pleas tell me how can I safely change my folder color?? because this yellow is tiring already... But in the meantime I would still like to keep the "live folder". I previously mentioned that I have a not so good experience with folder icon changing (with IconPackager), but the problem...
Customization


Our Sites

Site Links

About Us

Find 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 05:08.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App