Skip to content

hyperv: Unable to remove machine directory: ....vmcx: The process cannot access the file because it is being used by another process. #7300

Closed
@tstromberg

Description

@tstromberg

I have the same problem and tried this:

> minikube stop
*
X Unable to stop VM: open C:\Users\Csongor Halmai\.minikube\machines\minikube\config.json: The system cannot find the file specified.
*
* minikube is exiting due to an error. If the above message is not useful, open an issue:
  - https://github.com/kubernetes/minikube/issues/new/choose

and then

> minikube delete
* Removing C:\Users\Csongor Halmai\.minikube\machines\minikube ...
*
X Unable to remove machine directory: remove C:\Users\Csongor Halmai\.minikube\machines\minikube\minikube\Snapshots\0113C205-19E6-4E44-9903-D0AA9C750A39.vmcx: The process cannot access the file because it is being used by another process.
*
* minikube is exiting due to an error. If the above message is not useful, open an issue:
  - https://github.com/kubernetes/minikube/issues/new/choose

This seems to be show-stopper for me. :(

> minikube version
minikube version: v1.9.0
commit: 48fefd43444d2f8852f527c78f0141b377b1e42a

Originally posted by @halmai in #4286 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    co/hypervHyperV related issuesgood first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.kind/supportCategorizes issue or PR as a support question.needs-solution-messageIssues where where offering a solution for an error would be helpfultriage/needs-informationIndicates an issue needs more information in order to work on it.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions