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 application is more than 260. However, it’s possible to remove this limitation to allow Backupery apps to access paths beyond the 260 characters limit. There are alternative ways to remove the limitations:

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 -> NTFS, then enable the Enable NTFS 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.

6 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.

Leave a Reply

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