Setting "Start Docker Desktop when you sign in to your computer" programming side

I’m trying to automatize the installation of docker Desktop for an app that i distribute.
Using a python script, I download and install (as administrator) Docker Desktop, but I cannot set autoStart. I saw that the setting.json file in the AppData/Roaming/Docker folder has this setting, but if I change it, nothing changes inside Docker Desktop, even after restarting Docker Desktop.
I need to be able to automate the installation + autostart setting of Docker Desktop.