Buy the ARP T-Shirt! BIOS Optimization Guide Money Savers!
 

 01 August 2014
 N/A
  N/A
 Editorials
 Dr. Adrian Wong
 2.1
 Discuss here !
 9364
 
   
Desktop Graphics Card Comparison Guide Rev. 33.0
Covering 628 desktop graphics cards, this comprehensive comparison allows you ... Read here
BIOS Option Of The Week - Virtualization Technology
Since 1999, we have been developing the BIOS Optimization Guide, affectionately known... Read here
   
Buy The BOG Book Subscribe To The BOG! Latest Money Savers!
ED#179 : Why It's Really Time To Ditch (And Strip) The Short Filename Rev. 2.1
Digg! Reddit!Add to Reddit | Bookmark this article:

ED#179 : Why It's Really Time To Ditch (And Strip) The Short Filename

To be honest, it's long past time for us to ditch the short filename, or as it's known in geeky circles - the 8.3 filename format. Microsoft has kept it for compatibility reason, but that reason has long outstayed its welcome.

Microsoft first introduced the long filename (LFN) in Windows NT 3.5, but twenty years later, NTFS continues to generate a short filename for every file you write today. This degrades the file system's performance because it forces NTFS to create two file entries for each file, instead of just one. In addition, every time a file with a long filename is created in a directory, NTFS must look-up every short filenames in that directory in order to generate a new, unique short filename for the new file.

Needless to say, this creates a lot of extra work for NTFS, all because Microsoft wants to play safe and ensure that decrepit software from the 1990s can identify and read files with long filenames. Unless you are using old software from when Keanu Reeves and Sandra Bullock first broke out into stardom in Speed, you should disable the automatic generation of the 8.3 short filename.

Doing so will give a kick to the NTFS file system's performance. In addition, if you are using an SSD, disabling the generation of the 8.3 short filename would also help maintain the SSD's performance and lifespan by reducing the amount of writes to it.

There are two ways to do this, which we will examine below. After that, please make sure you go to the next page for instructions on how to strip the short filenames from your system.

How to add cloud storage services to Microsoft Office 2013

 

Using The Command Prompt

  1. Open up the Command Prompt in Administrator mode. You can do this by searching for "cmd" and right clicking on it and select "Run as administrator".

Running the Command Prompt in Administrator mode

  1. Type "fsutil.exe behavior set disable8dot3 1" and press Enter.

Disabling NTFS Short Filename

  1. If you do not see any error messages after you press Enter, then you have successfully disabled short file name creation in Microsoft Windows.

Disabling NTFS Short Filename

The change using this method takes immediate effect, and no restart is required. So this is the preferred method, if you are comfortable using the command prompt.

Should you select MBR or GPT when you install a new drive?

 

Using The Registry Editor

  1. Open the Registry Editor by typing "regedit" in the Start search box and clicking on regedit.exe as shown below, or going to drive:\Windows\regedit.exe.

Opening the Registry Editor

  1. In the Registry Editor, go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem and look for NtfsDisable8dot3NameCreation.

Disabling NTFS Short Filename

  1. By default, the NtfsDisable8dot3NameCreation value is set to 2 (enabled). Just double-click on theNtfsDisable8dot3NameCreation option to edit it. Then type 1 into the Value data box and click OK.

Disabling NTFS Short Filename

  1. You should see that NtfsDisable8dot3NameCreation's value is now 1 (disabled).

Disabling NTFS Short Filename

  1. Close the Registry Editor, and restart Windows for the changes to take effect.

Please note that this is only the first part. To obtain the full performance benefit of disabling the short filename format, you will need to strip your system of the old short filenames as well. Go on to the next page for the instructions...

The RAM Disk Guide

If you like this article, please share it! ->

Tech Explainer

For compatibility with old applications that can only understand the 8.3 short filename format, Microsoft Windows will automatically create a short filename for every file that does not conform to the short filename format.

This degrades the file system's performance because it forces NTFS to create two file entries for each file, instead of just one. In addition, every time a file with a long filename is created in a directory, NTFS must look-up every short filenames in that directory in order to generate a new, unique short filename for the new file.

Whether you are using fsutil (File System Utility) or editing the NtfsDisable8dot3NameCreation value in the registry manually, the options are exactly the same :

0 - NTFS creates short file names. This setting enables applications that cannot process long file names and computers that use differentcode pages to find the files.

1- NTFS does not create short file names. Although this setting increases file performance, applications that cannot process long file names, and computers that use different code pages, might not be able to find the files.

2 - NTFS sets the 8.3 naming convention creation on a per volume basis.

3 - NTFS disables 8dot3 name creation on all volumes except the system volume.

Please note though that if you are still using very old applications that only support the 8.3 short filename format, disabling the NTFS short name creation will prevent those applications from locating files and directories that use long file names.

 

Support Tech ARP!

If you like our work, you can help support out work by visiting our sponsors, participate in the Tech ARP Forums, or even donate to our fund. Any help you can render is greatly appreciated!

Page

How To Ditch (And Strip) The Short Filename

1

How To Disable The Creation Of Short Filenames
... Using The Command Prompt
... Using The Registry Editor

2

Why You Should Also Strip The Existing Short Filenames
How To Strip The Existing Short Filenames

Support us by buying from Amazon.com!

Grab a FREE 30-day trial of Amazon Prime for free shipping, instant access to 40,000 movies and TV episodes and the Kindle Owners' Lending Library!


 
   
Seagate FreeAgent GoFlex 1.5 TB Portable USB 3.0 Hard Disk Drive
Intel Future SSD Models Leaked! Rev. 2.0
Intel Desktop Chipset Roadmap @ June, 2008
Camcorder Buying Guide Parts 1 & 2
Zalman VF900-Cu Heatpipe Graphics Card Cooler Review
NVIDIA SLI Physics Technology Report
Linksys WRT54G Wireless-G Broadband Router Pictorial Review
OCZ PC2-6400 Gold DDR2 Memory Pictorial Review
1GB Mushkin PC3200 222 LII V2 Dual Pack Memory Modules Review
Modded Radeon 9800SE Vs. GeForce FX 5950 Ultra Comparison

 


Copyright © Tech ARP.com. All rights reserved.