Skip to content

Instantly share code, notes, and snippets.

@tildebyte
Created November 1, 2022 22:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tildebyte/90c3840a6284e2dc6b56aa7134306531 to your computer and use it in GitHub Desktop.
Save tildebyte/90c3840a6284e2dc6b56aa7134306531 to your computer and use it in GitHub Desktop.
Enable long paths in Windows 11, 10

Make Windows accept File Paths over 260 characters Enable Win32 Long Paths through Regedit

To enable Win32 long paths through Regedit-

Open Regedit
Paste the path for the file system folder
Find the LongPathsEnabled DWORD file and double click on it
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.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem

Path for FileSystem

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

LongPathsEnabled

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

change value 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment