How to Enable or Disable Long File Paths in Windows 11
Windows sometimes has trouble with file paths that are very long — more than 260 characters. This happens when you save or open files deep inside many folders. It can cause errors and frustration.
Windows 11 has a feature called Win32 Long Paths. This feature lets apps use much longer file paths (up to about 32,000 characters) without problems. But you need to turn this feature on first.
Why enable long file paths? Because some apps need this feature to work properly. Without it, you might get error messages when trying to save or open files in deeply nested folders.
What happens when you enable it? Apps that support long paths will work better. You won’t hit the 260-character limit anymore.
Here’s an easy guide to help you enable long file paths in Windows 11.
Method 1: Enable Long Paths Using the Settings App
This is the easiest way. Follow these simple steps:
- 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 2: Enable Long Paths with Group Policy Editor
If you want another way, you can use the Group Policy Editor. This tool only works on Windows 11 Pro and Enterprise editions.
Why use this method? Some people prefer this method because it gives you more control.
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 3: Enable Long Paths Using Registry Editor
If you are comfortable editing system files, you can also enable long paths using the Registry Editor. This method is more advanced.
Important: 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:
- [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.
By enabling Win32 Long Paths, you can avoid errors caused by long file names and manage your files better on Windows 11!
Was this guide helpful?
Leave a Reply