Windows 8 and 8.1 Forums

Tools to handle Shortname removal?

  1. #1

    Sunnyvale, CA USA
    Posts : 283
    Windows 8.1 Pro with Media Center (64-bit)

    Tools to handle Shortname removal?

    I just read

    Windows 8 File System Performance and Reliability Enhancements in NTFS.
    Neal Christiansen. Principal Development Lead. Microsoft:

    and particularly noticed this:

    Click image for larger version

    So I ran the commands to check these things on my system.

    The commands look like this:

    >fsutil 8dot3name
    ---- 8DOT3NAME Commands Supported ----
    query   Query the current setting for the shortname behaviour on the system
    scan    Scan for impacted registry entries
    set     Change the setting that controls the shortname behavior on the system
    strip   Remove the shortnames for all files within a directory
    I disabled 8dot3names on all but boot drives and removed them with the strip option.
    This seemed to go well, but I don't recommend using it on USB Flash drives - it takes forever.

    I left them on the system drive C: and looked over the report, which dominates with Office shortnames. Here is a sample of the scan output (I removed the Hive key display to make it fit):

    C:\PROGRA~1\MICROS~1\Office14\WINWORD.EXE /Automation 
    C:\PROGRA~1\MICROS~1\Office14\EXCEL.EXE /automation 
    C:\PROGRA~1\MICROS~1\Office14\GRAPH.EXE /automation
    There are so many I don't want to remove them manually and even a registry search and replace would take some time:

    >fsutil 8dot3name scan /l E:\Temp\fsutil-8dot3-C.log /s C:
    Scanning registry...
    Total affected registry keys:                1236
    Scanning 8dot3 names...
    Total files and directories scanned:       373526
    Total 8dot3 names found:                   234863
    Total 8dot3 names stripped:                     0
    Does anyone know of an automated tool that will search for these registry settings and replace the shortnames with the long name?

      My System SpecsSystem Spec

  2. #2

    Sunnyvale, CA USA
    Posts : 283
    Windows 8.1 Pro with Media Center (64-bit)

    By the way, I don't recommend anyone randomly strip these file names from their system, especially if they have Office tools.

    Many of the registry entries relate to uninstall features and various internal hooks. So it looks pretty dangerous to do it on your system drive.

    Be sure to check the registry entries that are affected by doing a trial run first before the commit (with the scan parameter).
    But if you have a lot of data files like I do (I have lots of audio samples) - removing about 500,000 files from your MFT will probably be a nice thing.

    It probably would not hurt to disable future File Shortname creation, but don't quote me on that.

    As with any radical change to the NTFS system, make sure you know what you are doing and have a good partition and registry backup.
      My System SpecsSystem Spec

  3. #3

    Sunnyvale, CA USA
    Posts : 283
    Windows 8.1 Pro with Media Center (64-bit)

    If I run the command 'fsutil 8dot3name scan /s C:' I will get a list of all the short (8.3) file names that will have a registry impact if I delete (strip) them in the NTFS directory of the drive.

    Doing so shows me over 1000 such registry conflicts, the vast majority are due to Microsoft Office 2010.

    Today I tried an experiment, I set up the C: drive to disable 8dot3 file name creation and uninstalled Office.

    When I ran the scan I then saw 479 registry conflicts with one program being the major issue, so I uninstalled that one, too.

    The next scan showed 238 registry conflicts with many programs involved, but within the range of something that could be handled with a registry search and replace function.

    So I re-installed Office 2010 (64-bit) in Windows 8 (64-bit) with 8dot3 file name creation off on drive C: as well as that other program.

    After the re-installs (and subsequent Windows Updates for 36 Office updates) I did the re-scan.

    To my amazement, frustration and bewilderment, the number of conflicts was back up over 1000 - so the Windows Installer must somehow override the short filename setting!
      My System SpecsSystem Spec

Tools to handle Shortname removal?
Related Threads
Probably most people run with High DPI monitors at 120 and above. This is a must if you have large widescreen monitors. Running at 'Normal (96dpi)' is not an option anymore as everything is to small to read on a widescreen monitor. Most web sites still use low resolution graphics for much of...
Hi there. I'd advise people NOT to buy Nero 2014 for their video editing program -- While it has lots of nice features I'm amazed that it does NOT enable you to add Subtitles. It's amazing when Free programs like Handbrake do and a professional so called polished program omits this really basic...
I tried watching a YouTube video at 1440p and 2160p. Every time I try either of those qualities, flash player crashes. Can my gpu just not handle that high resolution? I've never had any problems with video until I've tried to stream 4k quality. I can do 1080p fine. All my specs are on my...
"Error Handle" message on bootup in BSOD Crashes and Debugging
I've been running win 8 for a few weeks now, with no issues to speak of, except: I get this annoying little pop up window each time I boot. All it says is "Error Handle." Doesn't seem to be causing a problem, but I can't figure out how to get rid of it. Anyone else have this issue, and what...
Source A Guy
How does Win8 handle WINSXS in General Support
My biggest complaint about Win7 is how the WINSXS folder is handled. Basically it simply gets bigger and bigger, and there is no way to reduce it's size. Is there any information about how Win8 handles this? Does it do any better? IS there a way to clean up WINSXS in Win8?
Join AD Domain with shortname? in Network & Sharing
Yes, have been joining machines to AD domains for 10 years, 2K , XP, Vista, 7, have always used the short domain name to join. Have been joining machines to NT domains & before that OS/2 LAN Server since ~1991. (ie for example, domain is CONTOSO.COM then you can join the domain CONTOSO and it...
Eight Forums Android App Eight Forums IOS App Follow us on Facebook