Tag Archives: Windows

Enabling Long Path Names on Windows

Here is how you enable long path names on Windows (I tested this on Window 10.0.16299.1268):

  1. Run:
    regedit.exe
  2. Open the key:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem
  3. Set LongPathsEnabled to 1:
    RegistryEditorLongPathsEnabled
  4. Reboot

Then, if you are a git user, you will need to run:

git config --system core.longpaths true

This usually requires admin rights.

That’s it.