How to restart Docker Desktop autom. on windows

Hello all!

Sorry first but I’m not familiar with Docker yet and couldn’t find anything suitable on the net.

How can I restart DockerDesktop automatically on Windows 10 pro. I tried with the task scheduler but a stop/wait/start com.docker.service does not have the same effect as the restart button in the Docker Desktop GUI.

Is it possible to do this with a batch file and what should it look like?

Thanks in advance.
Ben
——————————————
Docker Desktop 4.6.1
Docker 20.10.13
Windows 10 Pro 19044.1620
On Intel Silver N6005