Indestructible com.docker.db.exe
问题描述:
我在Windows 10 Pro上运行Docker。当我启动Docker时,它告诉我有一个更新,所以我告诉它安装并重新启动(Docker和机器)然后去吃午餐。Indestructible com.docker.db.exe
当我凸轮E回更新失败,出现以下错误:
Access to the path 'C:\Program Files\Docker\Docker\resources\com.docker.db.exe' is denied.
at 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.<DoAsync>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.<HandleD4WPackage>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.<ProcessAsync>d__18.MoveNext()
我追踪的问题到com.docker.db.exe文件在一个陌生的状态。即使作为管理员,我也无法删除该文件或查看谁拥有该文件或任何安全设置。
我用FindLockingProcess.psm1在电源外壳但报道
PermissionDenied: (C:\Program File...m.docker.db.exe:String) [Test-Path], UnauthorizedAccessException
所以,我想解锁和发送的文件锁定,解锁它我能够删除的文件 - 显然 - 它重新出现在锁定状态!
我已经执行了磁盘扫描 - 没有问题
重新启动 - 同样的问题。
我只是不能删除这个文件,码头不会重新安装,所以无法工作!
其唯一的com.docker.db.exe就是问题所在,它能够删除所有其他文件。
任何想法?
答
我设法删除文件。不知道发生了什么事。
要删除我重新启动进入安全模式的文件 - 点击重新启动时按空格键。
这使我可以删除文件,它不会再出现。
启动到正常模式并安装了Docker。