By default, the maximum path length limit in Windows is 260 characters. So if you see “Please enable NTFS long paths in your system.” error it means that the length of some paths that are processed by the Backupery application is more than 260. However, it is possible to remove the limitation on Windows 10 (v. 1607 or later). There are alternative ways to allow Backupery apps to access paths beyond the 260 characters limit:

Windows Home Users:

Filesystem Registry entry

    1. Press Win keys on your keyboard and type regedit then press Enter. Registry Editor will be opened.
    2. Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem.
    3. Create a new 32-bit DWORD value named LongPathsEnabled and set it to 1.
    4. Restart your Windows.

Alternatively, you can download, unzip, and double-click the following REG file, it will make the registry changes automatically. Do not forget to restart your computer after applying the file.

Windows Pro and Enterprise Users: 

Using Group Policy

    1. Press Win keys on your keyboard and type gpedit.msc then press Enter. Group Policy Editor will be opened.
    2. Go to Local Computer Policy -> Computer Configuration -> Administrative Templates -> System -> Filesystem, then enable the Enable Win32 long paths option.
    3. Restart your Windows.

Group Policy Registry entry

    1. Press Win keys on your keyboard and type regedit then press Enter. Registry Editor will be opened.
    2. Go to HKEY_LOCAL_MACHINE\System\CurrentControlSet\Policies.
    3. Create a new 32-bit DWORD value named LongPathsEnabled and set it to 1.
    4. Restart your Windows.

Filesystem Registry entry

    1. Press Win keys on your keyboard and type regedit then press Enter. Registry Editor will be opened.
    2. Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem.
    3. Create a new 32-bit DWORD value named LongPathsEnabled and set it to 1.
    4. Restart your Windows.

Alternatively, you can download, unzip, and double-click the following REG file, it will make the registry changes automatically. Do not forget to restart your computer after applying the file.

After restarting your Windows just run the backup again and it should work as expected.

16 comments

  1. Hi.

    Group Policy for windows server 2016 is
    Local Computer Policy -> Computer Configuration -> Administrative Templates -> System -> Filesystem -> Enable Win32 long paths.

    Regards

  2. What if the group policy is not available in the location you mentioned? I opened the path: Local Computer Policy -> Computer Configuration -> Administrative Templates -> System -> Filesystem ->
    But, there is no such policy there. There are 2 policies with different names and a folder called NTFS, wich does not include the policy either.
    Is there a way to “enable” or “create it?

  3. Can this be implemented on Win Server 2012 R2? Via the regedit entry? I’m reading that this is not available for 2012R2

    1. I’m afraid it doesn’t work on Win Server 2012 R2, Windows Server 2016, or Windows 10 at least are required.

      Please let me know if you have any questions.

  4. Hello I am using a translator, I have tried several methods all over the internet, it seems that none of them actually works, if there are many directories, windows will not allow you to transfer these files, you need to always shorten the path

    1. Hi Rafael,

      Which Windows version do you use? It looks like this works on Windows 10 v. 1607 or or Windows Server 2016/2019 only.

      1. Hi Denis,
        I’m in the same case as Rafael. Even after apply the Group Policy and Filesystem Registry, i can’t move/delete/create folder /files if the path is too long (more than 260 charct).
        I’m on windows server 2016.

        1. Hi Valentin,
          Have you tried to restart your machine after applying the settings? I’m asking since it seems the restart is really needed.

          1. Yes I did it, but even after restart the server it didn’t work. I am a little desperate because i don’t found any other solution to extend file path with windows explorer

          2. Just to double-check: you got the same the “Please enable NTFS long paths in your system.” error in the app? If yes, could you please send me the application log file so I could analyze it and find out what the problem is? If yes, then go to the Help tab in the app and press the “Open Log Directory” link. Just attach the file to the email and send it to me, please.​ If you don’t feel comfortable sending the logs at this moment, please let me know.

  5. Hello Denis,
    What app are you talking aubout ?
    Concerning the log file, i don’t think i can send it. I work for a company so i can’t send files to anybody.
    I hope you can understand my situation. Don’t take it against you

    1. Hi Valentin,

      The privacy policy concerns are completely understandable, so no worries here. Please refer to my comment below for more details about the long paths settings.

  6. Hi Denis,

    What app are you talking about ? I don’t find any log file to send you.
    I tried the GPO on a new windows server 2k16 (i thought maybe there were a conflict with an other rule) but it still not working.

    Regards

    1. Hi Valentin,

      I’m assuming that you are trying to use a Backupery application and it fails with the “Please enable NTFS long paths in your system.” error, right? I’m asking about this because not all applications can utilize the long paths capability. The application which attempts to use the long paths should be manifested, that means that the application has to have the following line in its manifest:

      <longPathAware>true</longPathAware>

      All the Backupery applications are manifested so they support the long paths. If we are talking about other applications, please make sure that they are manifested.
      Hope this helps. Please let me know if you have any questions.

Leave a Reply

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