Build failures when running docker on June's windows executor

Recently, our builds which use windows executor and docker started to fail reporting the following

ERROR: error during connect: In the default daemon configuration on Windows, the docker client must be run with elevated privileges to connect.: Get “http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/info”: open //./pipe/docker_engine: The system cannot find the file specified.

Spin up environment:

machine-agent version 1.0.53829-0f8d96fb (image: "windows-server-2022-gui:2023.06.1", public ip: "", provider: "GCE")
task-agent version 1.0.190138-e9c5f609
Downloading task-agent: success after 1.4253874s.

Even if I used your windows executor example as config, it fails. The workaround I’ve found is to pin older windows image 2023.05.1 which is not long term solution.

Do I need to change any docker configuration?

Seems this has been later resolved in an updated version of the executor.