How to Enable or Disable Win32 Long Paths on Windows 10

Do you know that you can only have 260 characters in a path on Windows 10? If you are having issues with this limitation and searching for a way to enable Win32 Long Paths, this is the guide for you.

It is by default in Windows that you cannot access a path that is longer than 260 characters. That includes path and file name. You may see The file name(s) would be too long for the destination folder type of error messages. Now for a normal user, it is not a problem. But for some people who name their files with longer names, it will be a problem. The only solution for them is to enable Win32 Long Paths in Windows 11/10.

How to Enable Win32 Long Paths in Windows 11/10

There are two ways we can use to enable or disable Win32 long paths in Windows 11/10.

    1. Through Regedit
    2. Through Local Group Policy Editor, which does not suit Windows 10 Home users

Let’s see how we can enable or disable through them.

Enable Win32 Long Paths through Regedit

To enable Win32 long paths through Regedit-

  1. Open Regedit
  2. Paste the path for the file system folder
  3. Find the LongPathsEnabled DWORD file and double click on it
  4. Change to value from 0 to 1 and click OK

Let’s get into the details of the process.

Click on the Start Menu and type RegEdit. You will see Registry Editor in the results. Open it.

In the Registry Editor windows paste the following path to the FileSystem folder in the address bar and press Enter.


Path for file system regedit

In the FileSystem folder, find the LongPathsEnabled and double-click on it.

How to Enable Win32 Long Paths in Windows 11/10

You will see a small DWORD window. Change the value from 0 to 1 and click on OK to save the changes.

change values in DWORD

It will enable long paths on your PC. If you want to disable it, you can change the value from 0 to 1 anytime.

Read: Source Path Too Long? Use SuperDelete to delete files with such errors.

Enable Win32 Long Paths through Local Group Policy Editor

To enable Win32 Long Paths through gpedit or Local Group Policy Editor,

  1. Search for gpedit and open it from the Start Menu or Run box
  2. Click on the Filesystem folder on the sidebar
  3. In the files of Filesystem, double-click on Enable Win32 long paths
  4. Check the radio button beside Enabled
  5. Click on OK to save the changes

Click on the Start Menu and search for gpedit.msc and open it from the search results.

In the Local Group Policy Editor window, go to:

System Configuration > Administrative Templates > System > Filesystem.

In the components of the Filesystem folder, double click on Enable Win32 long paths to open it.

Enable Win32 Long paths gpedit

Then, in the Enable Win32 long paths window, check the radio button beside Enabled to enable long paths and click on OK at the bottom of the window to save the changes.

Enabling Win32 long paths will allow manifested win32 applications and Windows Store applications to access paths beyond the normal 260 character limit per node on file systems that support it. Enabling this setting will cause the long paths to be accessible within the process.

Enable long paths through gpedit

It will enable long paths on your PC. You can disable the long paths anytime by checking the radio button beside Disabled.

TIP: Long Path Fixer tool will fix Path Too Long errors.

Long paths enabled

Source link


MORRIS is an impassioned technology writer. He always inspires technologists with his innovative thinking and practical approach. A go-to personality for every Technical problem, no doubt, the chief problem-solver!

Leave a Reply