How to Enable or Disable Long File Paths in Windows 11
Long file path support in Windows 11 lets you bypass the default 260-character limit for file and folder names. This feature, officially known as the Win32 long path support, allows applications to work with file paths up to about 32,000 characters long.
Enabling long file paths is useful when you have files buried deep inside many folders. It helps prevent errors like “path too long” that can stop programs from accessing your files correctly.
You can turn this setting on or off using either the Registry Editor or the Group Policy Editor on your PC.
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.
Method 1Enable Long Paths Using the Settings App
You can easily turn on the Windows 11 long file paths feature right from the Settings app. This simple change lets Windows handle file paths that are longer than the usual limit. Just open Settings and look for the option to manage long paths.
- Click the Start button (Windows icon) at the bottom left of your screen.
- Click Settings. Or press the Windows key + I on your keyboard to open Settings quickly.
- In Settings, click System on the left side.
- On the right, find and click Advanced.
- Look for the Enable long paths option and switch it On.
- Close the Settings app when done.


Method 2Enable Long Paths with Group Policy Editor
If you have Windows 11 Pro or Enterprise, you can use the Group Policy Editor to enable long file paths. This tool gives you more control over how your system handles long file names and folder structures. It’s a good option for managing many files or very deep folder setups.
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:
- Click the Start button and type Edit group policy, then press Enter.
- In the Group Policy Editor window, use the left sidebar to navigate to: Computer Configuration > Administrative Templates > System > Filesystem
- On the right side, find Enable Win32 long paths and double-click it.
- Select Enabled to turn on long paths.
- Click OK to save your settings.
- Close Group Policy Editor.


Method 3Enable Long Paths Using Registry Editor
You can enable Windows 11 long file paths using the Registry Editor. This advanced method lets you change system settings. Before you start, back up your system or create a restore point to fix any issues.
Here’s what to do:
- [Requires admin privileges] Open the Registry Editor: Press Windows key + R, type
regedit, and press Enter. - In Registry Editor, go to:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem - Right-click on the FileSystem folder in the left pane.
- Choose New > DWORD (32-bit) Value.
- Name the new value
LongPathsEnabled. - Double-click
LongPathsEnabledand set its value to 1 to turn on long paths. - Click OK and close Registry Editor.
- Restart your computer for the change to take effect.

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 allows your computer to handle file and folder names longer than the standard 260-character limit. You can turn this setting on through the Settings app, Group Policy Editor, or Registry Editor; back up your system first. Only apps specifically built for Windows 11 long file paths will use this feature.
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?
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.
No comments yet — be the first to share your thoughts!