Is it possible to run Docker containers without being logged in as a user on Windows? I have a few containers I am auto-deploying on a server, but I am currently stuck leaving a generic service account logged in so that the containers run and the docker daemon stays running.

My current setup works, but I feel like there must be a better way to deploy/run than to always have an account logged in.


  • Windows Server 2012 and 2016
  • No docker-desktop because of nested virtualization scenario requirement
  • Linux not an option due to business requirements
  • Did you create a Windows Scheduled task? In that service it is possible to click one 'user should not be logged on'. Does that work and would it be an option? – 030 Dec 25 '19 at 12:00
  • @030 The Windows Scheduled task still needed a user to login. The only way I've managed to get this to work is using Docker Windows, not the toolbox. The only thing I've found is a third party tool: coretechnologies.com/products/AlwaysUp/Apps/… – Wesley Rolnick Dec 26 '19 at 12:53
  • Could you post an answer? – 030 Dec 26 '19 at 12:56
  • 1
    @030: I haven't found a non-commercial solution yet. – Wesley Rolnick Dec 26 '19 at 13:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.