How to Make Windows 10 Accept File Paths Over 256 Characters

The Windows 10 default path length limitation (MAX_PATH) is 256 characters

you may use the NT-style name syntax “\\?\C:\users\very long path” to workaround this issue.

Windows 10 Pro or Enterprise
Ignore the MAX_PATH issue by overriding a group policy entry, gpedit.msc

Computer Configuration -> Admin Templates -> System -> FileSystem:
Enable Win32 long paths

Windows 10 Home
In the Registry Editor, use the left sidebar to navigate to the following key:

On the right, find a value named LongPathsEnabled and double-click it. If you don’t see the value listed, you’ll need to create it by right-clicking the FileSystem key, choosing New > DWORD (32-bit) Value, and then naming the new value LongPathsEnabled .

In the value’s properties window, change the value from 0 (default) to 1 (ignore) in the “Value data” box and then click OK.


Leave a Reply

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

You are commenting using your 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

%d bloggers like this: