Windows 10: Microsoft Removes 260 Characters Path Length Limit in Windows 10 RS

Page 1 of 3 123 LastLast
  1. Cluster Head's Avatar
    Posts : 1,563
    Windows 10 Pro x64 RS 10586.586
       28 May 2016 #1

    Microsoft Removes 260 Characters Path Length Limit in Windows 10 RS

    Microsoft Removes 260 Characters Path Length Limit in Windows 10 Redstone
    New policy integrated into the latest preview build

    Click image for larger version. 

Name:	microsoft-removes-260-characters-path-length-limit-in-windows-10-redstone-504596-2.jpg 
Views:	8 
Size:	79.9 KB 
ID:	82076

    Windows 10 build 14352, a preview version of the upcoming Anniversary Update (also known as Redstone), comes with an eagerly-awaited change that Microsoft hasn’t yet announced publicly.

    The 260 characters path length limit in Windows can be removed with the help of a new policy, thus allowing you to run operations with files regardless of their path or file name. While this new rule is not enabled by default, admins that turn it on by following these instructions.

    Launch the Local Group Policy Editor by clicking the Start menu and typing “gpedit.msc” and then navigate to the following path:

    HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Group Policy Objects\{48981759-12F2-42A6-A048-028B3973495F}Machine\System\CurrentControlSet\Policies

    Look for an entry called “LongPathsEnabled” and if it does not exist, simply right-click Policies, select New DWORD (32-bit), name it “LongPathsEnabled” (without the quotes), enter value 1 and you’re good to go.
    Read more:

    Last edited by Brink; 01 Aug 2016 at 09:44.
      My ComputerSystem Spec

  2. Ztruker's Avatar
    Posts : 6,259
    Windows 10 Pro X64 17134.191
       28 May 2016 #1

    Bet they miss a few places the change needs to be applied :)
      My ComputersSystem Spec

  3.    28 May 2016 #2

    Also, this doesn't necessarily automatically make 3rd party software compatible. Some software may do their own checking and fail even though the OS may accept it.
      My ComputerSystem Spec

  4. Brink's Avatar
    Posts : 32,336
    64-bit Windows 10 Pro build 18242
       28 May 2016 #3

    The news article above has the wrong registry location for the policy. See:
    Last edited by Brink; 29 May 2016 at 00:24.
      My ComputersSystem Spec

  5. lehnerus2000's Avatar
    Posts : 1,761
    W7 Ultimate SP1 (64 bit), LM 18.3 MATE (64 bit), W10 Home 1703 (64 bit), W10 Pro 1703 (64 bit) VM
       31 Jul 2016 #4

    This was one of the requests/suggestions that I joined the "petition" for (on

    I missed this story when it was published (in May).

    Has anyone tried this?
    Has anyone noticed any issues?
      My ComputerSystem Spec

  6.    31 Jul 2016 #5

    You should be aware that any well written legacy apps will likely still complain about long paths, since they are likely checking the path length themselves. And until they are fixed, probably won't allow them.

    Also, of course FAT32 LFN's will still be limited.
      My ComputerSystem Spec

  7.    01 Aug 2016 #6

    FYI this setting doesn't do what you guys think it does...

    Applications need to have <longPathAware>true</longPathAware> in their app.manifest before it's able to take advantage of this setting and at present there are no apps that have done this - other than Windows Store apps.

    E.g. Explorer and every other last application will still have a 260 character limit even after you enable the setting.

    You will need to force older applications to use this setting by enabling an option to force windows to load external manifests from the application folder overriding the manifest that's compiled into the executable:

    1. Click Start, click Run, type regedit, and then click OK.
    2. Locate and then click the following registry subkey: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide
    3. On the Edit menu, point to New, and then click DWORD Value.
    4. Type PreferExternalManifest, and then press ENTER.
    5. Right-click PreferExternalManifest, and then click Modify.
    6. In the Edit DWORD Value dialog box, click Decimal under Base.
    7. In the Value data box, type 1, and then click OK.
    8. On the File menu, click Exit to close Registry Editor.
    9. Reboot.

    Then in the application folder:
    1. In the same folder as the executable, create a file with the same name: photoshop.exe.manifest or notepad.exe.manifest etc...
    2. Paste the following XML: Long Path Aware sample manifest · GitHub
    3. Save and exit the file.
    4. Try running the application.

    The problem with overriding the manifest that's been compiled into the executable is that you might omit critical dependencies or other configuration that the application requires from its internal manifest... You might need to use a PE editor to find the manifest inside the executable, copy the XML into the external.exe.manifest that you created then add <longPathAware>true</longPathAware> instead before it'll work properly...
    Last edited by dmex; 01 Aug 2016 at 00:56.
      My ComputerSystem Spec

  8.    01 Aug 2016 #7

    Hi folks

    Thanks for the info -- the only applications I need for these long file names are PLEX media server, Logitech media server and Bose Sound Touch -- all of which can handle these. VLC should also but as this is a server I doubt if I will be using it as a local desktop computer --the idea in any case is to run it headless.

    If the fix works for those apps I'll be happy.

    I'll mess around in a VM first though -- losing 16 / 17 TB of data won't be much fun !!!!!! I do have backups but I don't want to spend a week restoring / rebuilding. !!!!

      My ComputerSystem Spec

  9.    01 Aug 2016 #8

    Will the Command Box continue to display the long filenames in truncated-8-letters-long form?

    If the OS retains the two sets of filenames, then all this is, is cosmetics.
      My ComputerSystem Spec

  10. Posts : 477
    Win10 x64 Pro -2 desktops, 1 laptop
       02 Aug 2016 #9

    It would be nice if a "Warning" option (logging or otherwise notifying when a previously too long name is created) were available with this feature, but I suspect that's too much to wish for.

    The only time I've run into the length limitation has been when copying files from a directory with a short path name to a directory with a long path name. It would be worth knowing that the copy to target directory was complete but that some programs may not be able to read that directory.
      My ComputerSystem Spec

Page 1 of 3 123 LastLast

Related Threads
show length of .flv files in explorer in Performance & Maintenance
It only shows the length of mp4, mpg, and wmv files.
Windows 10 Redstone will not include the old tray calendar Read more: Microsoft Removes Old Calendar Style in Windows 10 Redstone
Some earlier automatic Windows 10 updates removed all my earlier restore points and set the protection settings of the C: disk off. The recent Windows 10 update (Jan 29) again removed all my earlier restore points. This time the protection setting...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 19:08.
Find Us