Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker Desktop on Windows ignores de-selecting "Start when you log in" #2950

Closed
1 of 2 tasks
megadix opened this issue Nov 23, 2018 · 28 comments
Closed
1 of 2 tasks

Docker Desktop on Windows ignores de-selecting "Start when you log in" #2950

megadix opened this issue Nov 23, 2018 · 28 comments

Comments

@megadix
Copy link

@megadix megadix commented Nov 23, 2018

  • I have tried with the latest version of my channel (Stable or Edge)
  • I have uploaded Diagnostics
  • Diagnostics ID:

Expected behavior

  • de-select "Start Docker Desktop when you log in"
  • Docker Desktop should not start when I log in

Actual behavior

  • Docker Desktop starts when I log in

Information

  • Windows Version: Win 10 Professional 1803
  • Docker for Windows Version:
    • Version 2.0.0.0-win78 (28905)
    • Channel: stable
    • Build: c404a62

Steps to reproduce the behavior

  1. install Docker Desktop for Windows
  2. de-select "Start Docker Desktop when you log in"
  3. restart Windows

This also happens between updates: in past installations I was able to permanently de-select "Start Docker Desktop when you log in", but each new update reactivates it. This time it seems impossible to deactivate it permanently.

@giordyb
Copy link

@giordyb giordyb commented Nov 23, 2018

Same problem after updating from 1.x.
I was able to stop Docker for running automatically by deleting the key in Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run

@pmsousa
Copy link

@pmsousa pmsousa commented Nov 27, 2018

Same problem after updating from 1.x.
I was able to stop Docker for running automatically by deleting the key in Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run

Same here...

@DHclly
Copy link

@DHclly DHclly commented Nov 28, 2018

Same here...

docker version :

Version 2.0.0.0-win78 (28905)
Channel: stable
Build: c404a62

@hho
Copy link

@hho hho commented Nov 29, 2018

Same here.

Diagnostics ID: EADF1A9D-1F4C-4764-A42F-21197B72C658/20181129110319

@SkipSailors
Copy link

@SkipSailors SkipSailors commented Dec 3, 2018

I have this issue Diagnostics ID: E57B7065-56DE-4549-BD8D-2F6336C904F4/20181203120648

@edmorley
Copy link

@edmorley edmorley commented Dec 13, 2018

Same using the latest release:

Version 2.0.0.0-win82 (29268)
Channel: edge
Build: e69fe76

@rlogiacco
Copy link

@rlogiacco rlogiacco commented Dec 19, 2018

Same issue here, right now there's a workaround reported in the community forum

@bighe2016
Copy link

@bighe2016 bighe2016 commented Jan 10, 2019

Same here...,I use Task Manager to disable it.

image

@ghost
Copy link

@ghost ghost commented Jan 15, 2019

Checkbox is still non-functional as of:

Version 2.0.1.0 (30090)
Channel: edge
Build: c8b6ca6

@KingMario
Copy link

@KingMario KingMario commented Jan 17, 2019

Same here. Mac version edge channel

Version 2.0.1.0 (30090)
Channel: edge
Build: c8b6ca6

@mjordan79
Copy link

@mjordan79 mjordan79 commented Jan 25, 2019

I have the same problem, Docker Desktop CE version 2.0.0.2 (30215), Windows 10 version 1809 (build SO 17763.292) - x64
Channel: stable
Build: 0b030e1

I've uploaded my diagnostic data too, with ID: D645C4EF-4EAC-4578-A7E5-5945C21AF3E0/20190125015713

@rcarmo
Copy link

@rcarmo rcarmo commented Feb 5, 2019

Same for me (Windows 10, stable build, etc.)

@reureu
Copy link

@reureu reureu commented Feb 22, 2019

It seems that the culprit is the installation package for Windows.
Please see this forum entry.
The installation packages creates an obsolete "Docker for Windows" value in HKCU:\Software\Microsoft\Windows\CurrentVersion\Run.
This "Docker for Windows" value is no longer controlled by the "Start Docker Desktop when you log in" preference in the Settings panel.
This preference now controls the presence of the "Docker Desktop" registry value under the same key 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Run'

Can the Docker team please remove this erroneous "Docker for Windows" registry value from the installation package?

@faustool
Copy link

@faustool faustool commented Mar 25, 2019

Still not working at Version 2.0.0.3 (31259)
Channel: stable
Build: 8858db3

@GeorgeWL
Copy link

@GeorgeWL GeorgeWL commented Apr 2, 2019

how is this still an issue when it was reported all the way back in 2.0.0.0-win78 (28905) version?

@f-w
Copy link

@f-w f-w commented Apr 10, 2019

I second @reureu's conclusion - "Docker for Windows" reg key is the culprit
Problem still persists in Version 2.0.0.3 (31259) I installed yesterday.
image

@spacecat
Copy link

@spacecat spacecat commented Apr 12, 2019

/me don't like having bad value entries in Windows registry!

@abarberenaCPDS
Copy link

@abarberenaCPDS abarberenaCPDS commented May 2, 2019

I second @reureu's conclusion - "Docker for Windows" reg key is the culprit
Problem still persists in Version 2.0.0.3 (31259) I installed yesterday.

Thx! this seems to be the solution!

@paulo-bastos-nau-21
Copy link

@paulo-bastos-nau-21 paulo-bastos-nau-21 commented May 20, 2019

Same here...,I use Task Manager to disable it.

image

In a clean installation (new machine) Version 2.0.0.3 (31259) was installed an entry in startup (via taskmanger) remains after deselecting the start desktop on log in. If I select it again (after various shutdowns/restarts) a new entry in the startup tab of taskmanager appears.

Capture

@jaltmanQ
Copy link

@jaltmanQ jaltmanQ commented Aug 16, 2019

Still happening on the version I just upgraded to.

@mat007
Copy link
Member

@mat007 mat007 commented Aug 16, 2019

@jaltmanQ have you tried toggling the checkbox on and off again?

@jaltmanQ
Copy link

@jaltmanQ jaltmanQ commented Aug 22, 2019

@jaltmanQ have you tried toggling the checkbox on and off again?

I did try that without any luck. Disabling it through the TaskManager however did seem to finally stop it.

@arkhitekton
Copy link

@arkhitekton arkhitekton commented Oct 15, 2019

I have version 2.1.0.3 (38240) / stable. It was upgraded earlier today from a version that also exhibited this behavior.

I opened the registry editor and I do NOT have a "Docker for Windows" entry in HKCU/Software/Microsoft/Windows/CurrentVersion/Run, however I DO have "Docker Desktop," which runs the command "C:\Program Files\Docker\Docker\Docker Desktop.exe" (there are NO quotes around the value in the registry editor).

When I toggle the setting, and hit Refresh in the Registry editor, there are no changes - no new items appear, no items disappear, and no items' contents change.

While I understand there is a workaround, I think there is value in fixing the root cause instead of just patching it. So I'm going to leave it broken until you guys figure it out. If you need testing, I'm happy to oblige.

@braykov
Copy link

@braykov braykov commented Nov 29, 2019

It's still here in 2.1.0.5 :-(

@mat007
Copy link
Member

@mat007 mat007 commented Nov 29, 2019

I believe this has been fixed in Edge 2.1.2.0 released back in September.
If you’re on the Stable channel you will have to wait until the next Stable release which at the moment is planned for mid-December and will include this fix.
I’m very sorry about that.

@docker-desktop-robot
Copy link
Collaborator

@docker-desktop-robot docker-desktop-robot commented Feb 27, 2020

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale comment.
Stale issues will be closed after an additional 30d of inactivity.

Prevent issues from auto-closing with an /lifecycle frozen comment.

If this issue is safe to close now please do so.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows.
/lifecycle stale

@GeorgeWL
Copy link

@GeorgeWL GeorgeWL commented Feb 27, 2020

/remove-lifecycle stale

@docker-desktop-robot
Copy link
Collaborator

@docker-desktop-robot docker-desktop-robot commented Jul 3, 2020

Closed issues are locked after 30 days of inactivity.
This helps our team focus on active issues.

If you have found a problem that seems similar to this, please open a new issue.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows.
/lifecycle locked

@docker docker locked and limited conversation to collaborators Jul 3, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet