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.

 

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s