Docker Community Forums

Share and learn in the Docker community.

Installation of docker fails (after prior install)


(Planetf1) #1

I used to have docker running on my WIndows 10 system, but a few months back I removed docker, and hyper-v

I’ve just re-enabled hyper-v, and have an ubuntu vm working happily.

I went to reinstall docker but whatever I try it seems to hang on ‘removing files’

I’ve tried manually

  • checking/removing docker entries in the registry
  • removing docker directories under %APPDATA% %PROGRAMDATA% and c:\program*
  • trying both beta and production versions

The same behaviour each time.

Here’s the output log:

S:\downloads>[09:23:19.335] [InstallHandler] Not run as admin, relaunching with UAC prompt
[09:23:21.791] [InstallHandler] No d4w installation found
[09:23:21.793] [InstallHandler] Using embedded package
[09:23:21.891] [InstallWorkflow] Using package: res:d4w
[09:23:21.895] [InstallWorkflow] Downloading
[09:23:22.754] [InstallWorkflow] Exracting manifest
[09:23:22.849] [InstallWorkflow] Checking prerequisites
[09:23:22.888] [InstallWorkflow] Unpacking artifacts
[09:23:32.391] [InstallWorkflow] Deploying component LightweightInstaller.CreateGroupAction
[09:23:32.439] [InstallWorkflow] Deploying component LightweightInstaller.AddToGroupAction
[09:23:32.480] [InstallWorkflow] Deploying component LightweightInstaller.ServiceAction
[09:23:32.749] [InstallWorkflow] Deploying component LightweightInstaller.ShortcutAction
[09:23:32.776] [InstallWorkflow] Deploying component LightweightInstaller.ShortcutAction
[09:23:32.784] [InstallWorkflow] Component LightweightInstaller.ShortcutAction failed
Exception type: System.IO.FileNotFoundException, Exception message: The system cannot find the file specified. (Exception from HRESULT: 0x80070002), StackTrace:
at System.Runtime.InteropServices.ComTypes.IPersistFile.Save(String pszFileName, Boolean fRemember)
at LightweightInstaller.ShortcutAction.DoAsync(CancellationToken cancelToken)
at LightweightInstaller.InstallWorkflow.d__19.MoveNext()
[09:23:32.788] [InstallWorkflow] Installation failed
Exception type: System.IO.FileNotFoundException, Exception message: The system cannot find the file specified. (Exception from HRESULT: 0x80070002), StackTrace:
at System.Runtime.InteropServices.ComTypes.IPersistFile.Save(String pszFileName, Boolean fRemember)
at LightweightInstaller.ShortcutAction.DoAsync(CancellationToken cancelToken)
at LightweightInstaller.InstallWorkflow.d__19.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at LightweightInstaller.InstallWorkflow.d__18.MoveNext()

Any tips as to how to get installed?

NOTE: I AM using a Windows insider build so this COULD be caused by a bug in that stack