Registry long path - conrad-blucher-institute/semaphore GitHub Wiki

Here is a PS command to enable long paths on a windows machine. This is useful for the CPU build of TensorFlow which will not work without long paths being enabled on the machine.

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