How to create paths longer than 260 characters in Windows 10

Madalina Dinita
by Madalina Dinita
Former Managing Editor
Affiliate Disclosure
Share this article:

The Windows file system imposes limits when it comes tfilenames: there are restrictions regarding the type of characters you can use and how long the paths can be. The current maximum path length is 260 characters, but it appears Microsoft has changed that in its Windows 10 build 14352.

More precisely, users can resort to a registry hack to remove the 260 character limit in path lenghts. This feature won’t work for every application, but this could soon be fixed when Microsoft rolls out the Anniversary Update. Microsoft’s explains the process enabling this feature:

Enabling NTFS long paths will allow manifested win32 applications and Windows Store applications to access paths beyond the normal 260 char limit per node. Enabling this setting will cause the long paths to be accessible within the process.

The removal of the 260 character limit is very useful especially for corporations. When engineers do a site migration, they often can’t copy everything simply because certain paths are too long.

There are two ways to enable long character paths in Windows 10: use the Group Policy Editor or edit the registry.

How to enable long paths under the Group Policy Editor:

  1. Type gpedit.msc > select the Group Policy Editor
  2. Go to > Local Computer Policy > Computer Configuration > Administrative Templates > System > Filesystem > NTFS.
  3. Double-click on Enable NTFS long paths
  4. Set it to enabled > click OK.

How to enable long paths using the registry:

  1.  Type regedit.exe and click on Run Command
  2. Go to: HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Group Policy Objects\{48981759-12F2-42A6-A048
  3. 028B3973495F}Machine\System\CurrentControlSet\Policies
  4. If the key LongPathsEnabled exists > select it.
  5. If the LongPathsEnabled key doesn’t exist> right-click on Policies> select New > select Dword (32-bit) Value.
  6. Name it LongPathsEnabled.
  7. To activate this feature, set the value to 1.

If you ever encounter an error message informing you that the folder path contains invalid characters, you can use our step-by-step guide  to solve this problem.

RELATED STORIES YOU NEED TO CHECK OUT:

Was this page helpful?
Thanks for letting us know! You can also help us by leaving a review on MyWOT or Trustpillot.
Get the most from your tech with our daily tips
Tell us why!
  • “Long path tool” is very helpful for this problem. You can solve this problem like copy, delete, long path files by using this tool.

  • Try long path tool is very useful for situations where it shows cannot delete file or folder, cannot read from source file or disk. It works seamlessly to give effective result.