Skip to content

Instantly share code, notes, and snippets.

@fragtion
Created August 19, 2023 02:14
Show Gist options
  • Save fragtion/56e1d50d19015612bd6327f9522679b4 to your computer and use it in GitHub Desktop.
Save fragtion/56e1d50d19015612bd6327f9522679b4 to your computer and use it in GitHub Desktop.
vmware-fix-physicaldrive-error
The operation on file \\.\PhysicalDrive failed ...
Fix:
1) Physical disk should be offline in the host OS.
2) Clear readonly attribute with diskpart
```
diskpart
list disk
select disk 5
attributes disk
attributes disk clear readonly
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment