How to Enable Long Path Support in Windows 10

You can enable enable Long Path Support in Windows 10. Starting in version 1607 'Anniversary Update', the 260 character limitation for NTFS path length issue is resolved. That path length limitation has been present on Windows since very first versions.
By default Windows 10 has a maximum file path length of 260 characters. All Windows file systems have the concept of files and folders to access stored data. Path is a string value indicating where this data is stored. However, there is a 260 character limit for paths imposed by Windows, which includes a drive letter, a colon, a separating backslash, and a null terminator. This limitation is not for the NTFS file system, but for the legacy APIs that are used to access data. There are also workarounds, such as accessing Unicode (or "wide") versions of Windows API functions, and prefixing the path with \\?\.

At the end-user level, some users may have experienced an issue in the past where File Explorer will not allow access to a file or folder if the path is longer than 260 characters. Thinking about one of Windows' long-term concerns, Microsoft has finally added a feature that will ultimately address the long-term 260 character limitation issue.

This tutorial will show you how to enable the Long Path support for NTFS in Windows 10.

Enable Long Path Support in Windows 10

  1. Open command prompt as Administrator.
  2. Typereg add "HKLM\SYSTEM\CurrentControlSet\Control\FileSystem" /v LongPathsEnabled /t REG_DWORD /d 1 and hit Enter.
  3. Restart Windows 10.
  4. You have enabled the Long Path support in File Explorer.

From now File Explorer will be able to handle paths longer than 260 characters.  Keep in mind that the change won't affect all apps. While File Explorer comes with full support for long paths on NTFS, other apps may have issues unless their developers inlcude support for it.

If your Windows 10 include the gpedit.msc tool, you can use it instead. It is only available in Pro, Education and Enterprise versions of the operating system.

Enable Long Paths for File Explorer in Group Policy

  1. Press Win + R keys together on your keyboard and type: gpedit.msc. Hit Enter.Run Gpedit Msc
  2. Expand the left panel to Local Computer Policy > Computer Configuration > Administrative Templates > System > Filesystem.Enable Long Paths For File Explorer In Group Policy
  3. Double click option Enable Win32 long paths in the right panel.Enable Long Path Support in Windows 10
  4. Restart Windows 10.

Author: The MFTNEXT Team

The MSFTNEXT project is a small team of authors who love to engage with the latest technology and gadgets. Being passionate Windows bloggers, we are happy to help others fix their system issues.

Leave a Reply

Your email address will not be published. Required fields are marked *