How to create paths longer than 260 characters in Windows 10

Madeleine Dean By: Madeleine Dean
2 minute read

Home » How to create paths longer than 260 characters in Windows 10

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:

Discussions

Next up

What to do if you cannot load the management console

Sovan Mandal avatar. By: Sovan Mandal
2 minute read

Trying to run the Trusted Platform Module (TPM) Management console in Windows 10 can often lead to the Cannot load management console error. This again […]

Continue Reading

These privacy lock software hide your Windows 7 files from prying eyes

Vladimir Popescu avatar. By: Vladimir Popescu
Less than a 1 minute read

Most of us don’t really worry about the data we save on our PCs or laptops and would not even consider protecting it. Not protecting […]

Continue Reading

This Christmas buying guide for TVs will make someone happy

Sovan Mandal avatar. By: Sovan Mandal
Less than a 1 minute read

Christmas is the time to buy gifts, whether be it for your loved ones or for use in your own home. Almost everything sells for […]

Continue Reading