From f9077fa8efb2995e174c0ee443798fc26d3c7306 Mon Sep 17 00:00:00 2001 From: Peter Zhu Date: Wed, 30 Aug 2023 19:30:03 -0400 Subject: [PATCH] Remove windows docker speedup command as it is only available in non-container (#3944) Signed-off-by: Peter Zhu --- docker/ci/config/windows-servercore-setup.ps1 | 3 --- 1 file changed, 3 deletions(-) diff --git a/docker/ci/config/windows-servercore-setup.ps1 b/docker/ci/config/windows-servercore-setup.ps1 index 73c64f561a..259d0e3bee 100644 --- a/docker/ci/config/windows-servercore-setup.ps1 +++ b/docker/ci/config/windows-servercore-setup.ps1 @@ -224,9 +224,6 @@ Remove-Item 'get-pip.py' -Force # Refresh env vars $env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User") -# Speed up docker -Set-MpPreference -DisableRealtimeMonitoring $true - # Enable Long Path set-ItemProperty -Path HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem LongPathsEnabled -Type DWORD -Value 1 -Force