dockur / windows

Windows inside a Docker container.
MIT License
28.65k stars 1.97k forks source link

[Question]: How do i run something at windows startup ? #817

Closed vosdim-supportsquare closed 4 days ago

vosdim-supportsquare commented 4 weeks ago

Is your question not already answered in the FAQ?

Is this a general question and not a technical issue?

Question

I'm running this container on gke with a pvc to persist the storage. I would like it that every time windows starts, it would also start a small springboot application. I have tried using the task scheduler as i would do in a normal windows instance, but that does not seem to work. This program should run at windows start, so not when the user logs in. Any advice on how to do this ? Kind regards

kroese commented 3 weeks ago

There is no reason why the Task scheduler would not work, this is just a normal Windows installation. See https://www.howtogeek.com/208224/how-to-add-a-program-to-startup-in-windows/ for a couple of other methods to run a program at startup.