Powered by ZigaForm version 4.0

Overlength pathnames on Windows 10 / Windows Server 2016

With Windows 10 exists since the Anniversary update (Version 1607) the theoretical possibility to cancel the limit for the standard 260 character limit.

In the registry can be found below HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ Filesystem a DWORD (32-bit) named LongPathsEnabled.

Under a standard installation this is with the value 0 deposited. Change this to 1 to activate the option.

The same change can also be implemented with a GPO, with the same setting in the background.

The practical benefit

Unfortunately, this does not affect the entire system as expected.

Some applications may benefit from this setting (eg PowerShell). For other standard Windows programs, such as the "explorer.exe" or the "cmd.exe", this setting does not apply. Thus, this character limit can also within the use of migRaven not be bypassed.

risks

The removal of this limit is always at your own risk.
Windows uses a #define constant named MAX_PATH to specify the size of character arrays to store path / file names.

Increasing this limit can result in a buffer overflow on a path that works like this
which can usually lead to a crash of the application.

Permanent link to this post: https://help.migraven.com/ueberlange-pfadnamen-unter-windows-10-windows-server-2016/