How to disable 8.3 file name creation on NTFS partitions

https://support.microsoft.com/en-us/help/121007/how-to-disable-8-3-file-name-creation-on-ntfs-partitions

Applies to: Windows 10 Pro released in July 2015Microsoft Windows Server 2003 Standard Edition (32-bit x86)Microsoft Windows Server 2003 Enterprise Edition (32-bit x86) More


Summary


The use of 8.3 file names and directories for all long file names and directories on NTFS partitions may decrease directory enumeration performance. An 8.3-compliant file name refers to MS-DOS file-naming conventions.These conventions restrict file names to eight characters and optional extensions to three characters.

This article describes a method of disabling 8.3 file name creation on all NTFS partitions. 

Note: Although disabling 8.3 file name creation increases file performance under Windows, some applications (16-bit, 32-bit, or 64-bit) may not be able to find files and directories that have long file names.

More Information


Windows Vista, Windows Server 2008, Windows 7, Windows Server 2008 R2, Windows 8, and Windows Server 2012

To disable 8.3 name creation on all NTFS partitions, type fsutil.exe behavior set disable8dot3 1 at an elevated command prompt, and then press Enter.

This operation takes effect immediately (no restart required).

Notes
 
When a volume is not specified, the operation updates the registry value:

  • 0 - Enable 8dot3 name creation on all volumes on the system
  • 1 - Disable 8dot3 name creation on all volumes on the system
  • 2 - Set 8dot3 name creation on a per volume basis
  • 3 - Disable 8dot3 name creation on all volumes except the system volume

When a volume is specified, the operation updates the individual volume's on disk flag. This operation is meaningful only if the registry value is set to 2.

  • 0 - Enable 8dot3 name creation on this volume
  • 1 - Disable 8dot3 name creation on this volume


For more information about FSUTIL.EXE 8dot3name, see the following TechNet article:

http://technet.microsoft.com/en-us/library/ff621566.aspx


For more information about the registry setting to disable 8.3 names, see the following TechNet article:

http://technet.microsoft.com/en-us/library/cc778996.aspx

Windows XP and Windows Server 2003

To disable 8.3 name creation on all NTFS partitions, type fsutil.exe behavior set disable8dot3 1 at a command prompt, and then press Enter. A restart may not be required, but it is recommended.

Windows 2000 and Windows NT

To disable 8.3 name creation on all NTFS partitions, follow these steps.

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:

322756 How to back up and restore the registry in Windows

  1. Start Regedt32.exe and locate the following registry key:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem

  2. Select the NtfsDisable8dot3NameCreation entry.


    Note By default, the value for this entry is set to 0.
  3. On the Edit menu, click DWORD. Type a value of 1 in the Data field.
  4. Click OK and then exit Regedt32.
  5. Exit Windows NT, and then shut down your computer.
  6. Restart your computer and Windows NT.

NOTE: The change to the NtfsDisable8dot3NameCreation registry entry affects only files, folders, and profiles that are created after the change. Files that already exist are not affected.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值