Mario Nebbia 326 Reputation points

Is the registry setting [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem] LongPathsEnabled supported in Windows Server 2019? Is it supposed to work? Regards marius

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management, data storage, applications, and communications.
2,656 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Candy Luo 12,496 Reputation points

    Hi ,

    By setting the registry key LongPathsEnabled to 1, most of the common Win32 file and directory functions will be able to use file paths exceeding 260 characters.

    However, with the option enabled, Explorer still fails to use long file paths. Explorer is not long filepath aware. This is a by design behavior, as there are a lot of legacy APIs and DLLs which win32 applications depend on.

    As a workaround, you can try to create the folder using PowerShell.

    Best Regards,



    If the Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.
    0 comments No comments