How to create paths longer than 260 characters in Windows 10

Madeleine Dean By: Madeleine Dean
2 minute read

Home » News » 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

We answer: Where’s the Windows 10 Startup folder?

Matthew Adams By: Matthew Adams
3 minute read

Windows 10’s Task Manager utility includes a Startup tab. That is Windows 10’s default startup manager with which users can disable startup software. However, Task […]

Continue Reading

What to do if Windows was unable to format your pen drive

Aleksandar Ognjanovic By: Aleksandar Ognjanovic
4 minute read

USB flash drives (pen drives, flash sticks) almost completely moved disks out of the picture. They are fast, you can write anything you want whenever […]

Continue Reading

FIX: Oops there was a problem with dictation in Microsoft Office

Aleksandar Ognjanovic By: Aleksandar Ognjanovic
3 minute read

Using speech instead of typing has more than one advantage. Lots of users strongly prefer dictation and, even though it’s still unbrushed feature, it’s getting […]

Continue Reading