diff --git a/tools/internal_ci/helper_scripts/prepare_build_windows.bat b/tools/internal_ci/helper_scripts/prepare_build_windows.bat index 6bb907634a5..2a4ab062eec 100644 --- a/tools/internal_ci/helper_scripts/prepare_build_windows.bat +++ b/tools/internal_ci/helper_scripts/prepare_build_windows.bat @@ -39,6 +39,10 @@ netsh interface ip set dns "Local Area Connection 8" static 169.254.169.254 prim netsh interface ip add dnsservers "Local Area Connection 8" 8.8.8.8 index=2 netsh interface ip add dnsservers "Local Area Connection 8" 8.8.4.4 index=3 +@rem Uninstall protoc so that it doesn't clash with C++ distribtests. +@rem (on grpc-win2016 kokoro workers it can result in GOOGLE_PROTOBUF_MIN_PROTOC_VERSION violation) +choco uninstall protoc -y --limit-output + @rem Install nasm (required for boringssl assembly optimized build as boringssl no long supports yasm) @rem Downloading from GCS should be very reliables when on a GCP VM. mkdir C:\nasm