diff --git a/docker/ci/config/windows-servercore-setup.ps1 b/docker/ci/config/windows-servercore-setup.ps1 index b1f3311a55..8e7120bc16 100644 --- a/docker/ci/config/windows-servercore-setup.ps1 +++ b/docker/ci/config/windows-servercore-setup.ps1 @@ -219,3 +219,6 @@ Remove-Item 'get-pip.py' -Force # Refresh env vars $env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User") + +# Enable Long Path +set-ItemProperty -Path HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem LongPathsEnabled -Type DWORD -Value 1 -Force