Skip to content

Maximum Path Length Limitation — by Microsoft Learn

advancedpageLink only (©)Windows 10 1607 and later

Explains the 260-character MAX_PATH limit and how to opt in to long paths on Windows 10 1607 and later. Both a registry value (LongPathsEnabled=1) and a manifest declaration in the app are required, so it does not affect every program. The \\?\ prefix is the alternative for extended-length paths. Editing the registry carries risk.

Quick steps

  1. Set HKLM\SYSTEM\CurrentControlSet\Control\FileSystem LongPathsEnabled to 1, or use Group Policy Enable Win32 long paths
  2. App must declare longPathAware in its manifest

Paraphrased from the source. Menus can differ by version, so check the original for full details.

Read the full article on learn.microsoft.com

Source: Maximum Path Length Limitation by Microsoft Learn. Licence: Link only (©).

Source reviewed
2026-11-02
Link checked
2026-11-02
Tested hands-on
Not by Oddbyte.Me

long pathsregistrygroup policywindows

More in Windows