Skip to content
Follow
Windows

How to Enable or Disable Long File Paths in Windows 11

Richard
Written by
Richard
Jan 30, 2026 Updated Sep 15, 2026 3 min read
How to Enable or Disable Long File Paths in Windows 11
How to Enable or Disable Long File Paths in Windows 11

Long file paths in Windows 11 remove the traditional 260-character limit for file and folder names so paths can reach up to 32,000 characters. This Windows feature lets programs read deep folder structures without causing errors when you copy files buried inside nested folders.

Advertisement

You can turn this setting on or off using the Registry Editor or Group Policy Editor on your PC.

⚡ Quick Answer

Open Settings , navigate to System Advanced, and toggle “Enable long paths” to On. Alternatively, use Group Policy Editor or Registry Editor for more advanced control. This feature allows Windows to handle file paths exceeding the 260-character limit.

Advertisement

Method 1Enable Long Paths Using the Settings App

Turning on Windows 11 long file paths through the Settings app takes just a few clicks. This built-in option lets Windows 11 long file paths bypass the old 260-character limit so you can open and save files with very long folder names without getting errors.

  1. Click the Start button (Windows icon) at the bottom left of your screen.
  2. Click Settings . Or press the Win+I on your keyboard to open Settings quickly.
  3. In Settings, click System on the left side.
  4. On the right, find and click Advanced.
  5. Look for the Enable long paths option and switch it On.
  6. Close the Settings app when done.
Windows 11 System Advanced Settings
Windows 11 Settings: System > Advanced screen for WSL uninstall.

Enable long paths toggle in Windows 11
Enable long paths toggle in Windows 11

Method 2Enable Long Paths with Group Policy Editor

Windows 11 long file paths can be turned on using the Group Policy Editor if you use Windows Pro or Enterprise editions. This built-in tool lets you update system rules so your PC stops blocking file names and folder paths that go past the normal character limit.

Advertisement

Users may prefer the long file path method because long file paths give them more control. This increased control is important for managing complex projects or when dealing with deeply nested folder structures.

Here's how:

  1. Click the Start button and type Edit group policy, then press Enter.
  2. In the Group Policy Editor window, use the left sidebar to navigate to: Computer Configuration Administrative Templates System Filesystem
  3. On the right side, find Enable Win32 long paths and double-click it.
  4. Select Enabled to turn on long paths.
  5. Click OK to save your settings.
  6. Close Group Policy Editor.
Enable long paths setting in Group Policy Editor
Enable long paths setting in Group Policy Editor

Options to enable or disable long paths in Group Policy Editor
Options to enable or disable long paths in Group Policy Editor

Advertisement

Method 3Enable Long Paths Using Registry Editor

Registry Editor lets you turn on Windows 11 long file paths by making a quick change to your system database. This advanced method works on all versions of Windows 11 to remove the traditional character limit for files and deeply nested folders.

📝ImportantBefore you do this, back up your registry or create a system restore point to keep your PC safe. %%SC0%%

Before you do this, back up your registry or create a system restore point to keep your PC safe. %%SC0%%

Here's what to do:

  1. [Requires admin privileges] Open the Registry Editor: Press Windows key + R, type regedit, and press Enter.
  2. In Registry Editor, go to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem
  3. Right-click on the FileSystem folder in the left pane.
  4. Choose New DWORD (32-bit) Value.
  5. Name the new value LongPathsEnabled.
  6. Double-click LongPathsEnabled and set its value to 1 to turn on long paths.
  7. Click OK and close Registry Editor.
  8. Restart your computer for the change to take effect.
Enable long paths in Windows Registry
Enable long paths in Windows Registry

Advertisement

Summary

  • What are long paths? A feature that lets Windows handle file paths longer than 260 characters.
  • Easy options: Turn on this feature using Settings, Group Policy Editor, or Registry Editor.
  • App support: Only apps designed to use long paths will take advantage of this feature.
  • Backup first: Always back up your system before changing Registry settings.
  • Restart required: You might need to restart your PC for the changes to work.

Windows 11 long file paths remove the old 260-character limit so apps can open deeply nested files without errors. You can turn this feature on using the Settings app, Group Policy Editor, or Registry Editor depending on your version of Windows.

How to enable paths longer than 260 characters in 🪟 Windows 11?

In the Group Policy Editor, you can activate long Win32 paths via Computer Configuration – Administrative Templates – System – File System – NTFS.

Was this guide helpful?

Tags: #Windows 11
Was this helpful?
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.

Advertisement

📚 Related Tutorials

How to Enable or Disable System Restore in Windows 11
Windows How to Enable or Disable System Restore in Windows 11
How to Copy File and Folder Paths in Windows 11
Windows How to Copy File and Folder Paths in Windows 11
How to See System Restore Points in Windows 11
Windows How to See System Restore Points in Windows 11
How to Switch HKCU and HKLM Registry Keys in Windows 11
Windows How to Switch HKCU and HKLM Registry Keys in Windows 11

No comments yet — be the first to share your thoughts!

Leave a Comment

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