Maximum Path Length Limitation doesn't work with Windows server 2022

Josep JOVER 0 Reputation points
2024-10-10T09:55:35.9266667+00:00

Hi,

I installed a Windows Server 2022 Standard as a Virtual Machine in host with VMware 6.7.0

I updated the registry value HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem LongPathsEnabled (Type: REG_DWORD) to 1

I also updated the local computer policiy " Local Computer Policy > Computer Configuration > Administrative Templates > System > Filesystem" and enabled "NTFS long paths"

And it still doesn't work.

When I try to create a new folder from the file explorer Windows I obtain this issue.

problema Windows 2022 eng

What can I do to break the path 260 characters limitation?

Thanks for your help!

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,251 questions
0 comments No comments
{count} votes

5 answers

Sort by: Most helpful
  1. Zeyad Alezzi 5 Reputation points
    2024-10-10T10:02:17.8866667+00:00

    HI @Josep JOVER

    Follow this steps :-

    1-Restart the System

    2-Check User Permissions

    3-Verify VMware Configuration

    Check if there are any restrictions in the VMware settings or VM configuration that could affect path length or file system operations.

    4-Update VMware Tools

    Make sure that VMware Tools is up to date in your virtual machine, as this can sometimes resolve compatibility issues.

    5-System Updates

    Ensure that Windows Server 2022 is fully updated with the latest patches and updates from Microsoft.

    0 comments No comments

  2. Josep JOVER 0 Reputation points
    2024-10-10T12:26:23.75+00:00

    Hi @Zeyad Alezzi, thanks for your answer.

    1- I restarted the System
    2- I loggin with the user administrator
    3- I think the configuration of WMware is right. I joint it:

    VMware Win2022 config

    4- VMware tools are right updated

    VMware WIN2022

    5- System are also updated.

    wsus Win2022 config

    The only thing is that server have a test licenses for 180 days.
    I am waiting for the final license...

    It's a very annoying problem that I need to solve.

    Thanks again for your help!

    0 comments No comments

  3. Yanhong Liu 12,420 Reputation points Microsoft Vendor
    2024-10-14T02:15:43.64+00:00

    Hello

    Thank you for posting in Q&A forum.

    This error cause by folder path is too long, solution is for set registry LongPathsEnabled value to 1

    Maximum Path Length Limitation - Win32 apps | Microsoft Learn

    If you are sure LongPathsEnabled registry value is been set at Virtual Machine windows server 2022

    you can try to shorter this folder path to make it work.

    Best regards

    Yanhong

    =====================================

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

    0 comments No comments

  4. Josep JOVER 0 Reputation points
    2024-10-14T10:16:49.26+00:00

    Hi,

    I already change this setting with the same isue.

    problem Windows 2022 regedit

    It's really frustrating, we're about to buy 40 licenses for Windows Server 2022 and one of the main problems we're having right now seems to be the same with Windows Server 2022!

    Thanks anyway

    0 comments No comments

  5. Josep JOVER 0 Reputation points
    2024-10-14T10:17:27.9866667+00:00

    Hi,

    I already change this setting with the same isue.

    problem Windows 2022 regedit

    It's really frustrating, we're about to buy 40 licenses for Windows Server 2022 and one of the main problems we're having right now seems to be the same with Windows Server 2022!

    Thanks anyway


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.