Hello!
Windows Server, starting with Windows Server 2016 and Windows 10 Version 1607, supports long pathnames by default, which means that the maximum length of a path is no longer the traditional 260 characters.
To enable long paths, enable the "Enable Win32 Long Paths" option in Group Policy. You can access the Group Policy Editor by following these steps:
- Open the Run dialog box, type gpedit.msc and press Enter.
- Go to Computer Configuration > Administrative Templates > System > File System.
- Find the "Enable Win32 Long Path" option on the right pane, double-click it and set it to the "Enabled" state.
- Click the Apply and OK buttons, and then close the Group Policy Editor.
When long paths are enabled, you can create, copy, move, and rename file paths longer than 260 characters on your Windows Server.
https://learn.microsoft.com/zh-cn/windows/win32/fileio/maximum-file-path-limitation?tabs=registry
Best Regards,
Hania Lian
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.