79433951

Date: 2025-02-12 17:36:50
Score: 0.5
Natty:
Report link

In summary, to enable long paths, two ways:

  1. Ensure LongPathsEnabled is set to 1:

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem] "LongPathsEnabled"=dword:00000001

  2. I prefer this option 2: In PowerShell (as admin) just run this line:

    New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnabled" -Value 1 -PropertyType DWORD -Force

Unfortunately, you will have to reboot your computer. Reference (and further explanation): Microsoft documentation here.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: WalterAgile