How to Turn On Long File Paths in Windows 11

Sometimes, Windows has trouble working with file paths that are really long — over 260 characters. This can cause problems when saving or opening files deep inside folders.

Windows 11 has a feature called Win32 Long Paths that lets apps use much longer file paths (up to about 32,000 characters) without issues. But you need to turn this feature on first.

Here’s an easy guide to help you enable long file paths in Windows 11.

Method 1: Enable Long Paths Using the Settings App

Follow these steps to turn on long paths from Windows Settings:

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

Enable long paths toggle in Windows 11

Method 2: Enable Long Paths with Group Policy Editor

If you want another way, you can use the Group Policy Editor. This tool is available on Windows 11 Pro and Enterprise editions.

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

Options to enable or disable long paths in Group Policy Editor

Method 3: Enable Long Paths Using Registry Editor

If you are comfortable editing system files, you can also enable long paths via the Registry Editor.

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

Here’s what to do:

  1. Open the Registry Editor:

    Press Windows key + R, type regedit, and press Enter.
  2. In Registry Editor, go to:

    HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlFileSystem
  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

Summary

  • Long Path Support: Lets Windows handle file paths longer than 260 characters.
  • Easy Options: Turn on this feature via 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!

Categories:

Tags:

Leave a Reply

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

Explore Topics

Exit mobile version