# Installation of Docker failed

**URL:** <https://forums.docker.com/t/installation-of-docker-failed/37874>\
**Category:** Docker Desktop\
**Tags:** docker, windows\
**Created:** [September 9, 2017, 1:03am UTC](https://forums.docker.com/t/installation-of-docker-failed/37874 "2017-09-09T01:03:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jiewpeng](https://avatars.discourse-cdn.com/v4/letter/j/c77e96/32.png) [@jiewpeng](https://forums.docker.com/u/jiewpeng)\
**Post date:** [September 9, 2017, 1:03am UTC](https://forums.docker.com/t/installation-of-docker-failed/37874/1 "2017-09-09T01:03:43Z")

</div>

Installation of Docker for Windows 17.06.3-ce-win27 failed after a Docker update failed to install. I can no longer install Docker for Windows.

I am using Windows 10 Pro Version 1703 Build 15063.540.

This is the error I get when I try to install Docker:

> Access to the path ‘C:\Program Files\Docker\Docker\Docker.Watchguard.exe’ is denied.  
> at [System.IO](http://System.IO).\_\_Error.WinIOError(Int32 errorCode, String maybeFullPath)  
> at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY\_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)  
> at System.IO.FileStream…ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)  
> at LightweightInstaller.UnpackArtifactsStep.d\_\_23.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\_\_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()

I have tried removing Docker.Watchguard.exe but it doesn’t work; it will always re-appear in the folder after I delete it.

---

<div class="post-metadata">

**Author:** ![pmario](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/pmario/32/1238_2.png) [@pmario](https://forums.docker.com/u/pmario)\
**Post date:** [September 23, 2017, 1:46pm UTC](https://forums.docker.com/t/installation-of-docker-failed/37874/2 "2017-09-23T13:46:36Z")

</div>

Did you try to uninstall first and then re-install?

---

<div class="post-metadata">

**Author:** ![jiewpeng](https://avatars.discourse-cdn.com/v4/letter/j/c77e96/32.png) [@jiewpeng](https://forums.docker.com/u/jiewpeng)\
**Post date:** [September 24, 2017, 12:03am UTC](https://forums.docker.com/t/installation-of-docker-failed/37874/3 "2017-09-24T00:03:55Z")

</div>

Docker was already uninstalled somehow, maybe the auto-update uninstalled Docker before trying to install the new version but failed at the installation stage.

In any case, this issue was somehow resolved on its own. After a few days, Docker could somehow be installed again.

---

<div class="post-metadata">

**Author:** ![aman2019](https://avatars.discourse-cdn.com/v4/letter/a/82dd89/32.png) [@aman2019](https://forums.docker.com/u/aman2019)\
**Post date:** [November 21, 2019, 1:36pm UTC](https://forums.docker.com/t/installation-of-docker-failed/37874/4 "2019-11-21T13:36:07Z")

</div>

搞定了吗？我也遇到这种问题。。搞了半天也搞不明白哪里出问题了
