Hello Ralph Burton,
Welcome to Microsoft Q&A!
Don't worry, you did a great job diagnosing the problem. And you are right in your guess: the Virtual Machine probably thinks the USB hard drive is still attached, even though it's not showing up in the settings. This is a classic Hyper-V quirk that trips up everyone, not just beginners! And we can likely fix this without rebuilding the VM from scratch. There are two ways to go about this:
Solution 1 - Edit the VM's configuration file:
- Turn off the VM completely in Hyper-V Manager
- Right-click on VM_01 (your virtual machine) > Settings
- Navigate to Hardware/Management > Configuration file
- Save the path to your VM
.xmlfile > open with File Explorer - Right-click the
.xmlfile > Open with > Notepad - Inside the file, there are several blocks formatted
<driveX> … </driveX>(Xis a number) - Ctrl + F >
<passthrough>> delete the whole block with that highlighted phrase. Example:- If there's a block
<drive2> … <passthrough> … </drive2> - You select from
<drive2>to</drive2>and press Delete
- If there's a block
- Click File > Save > Go back to Hyper-V Manager > Start VM_01
Solution 2 - Remove the ghost pass-through disk
- Disable Checkpoints in Hyper-V Manager (as you previously tried) and shut down VM
- In Settings > check SCSI Controller and IDE Controller for any extra hard disk entries.
- Open PowerShell as Administrator > Run
Get-VM "VM_01" | Get-VMHardDiskDrive - If you see
PhysicalHardDiskorPhysicalDrive#> note the location details e.g.(0,1) - Run
Remove-VMHardDiskDrive -VMName "VM_01" -ControllerType SCSI -ControllerNumber 0 -ControllerLocation 1- Replace
0and1with the actual location details you noted fromRun Get-VMcommand.
- Replace
- In Settings > Firmware, ensure your main VHDX is at the top of the boot order.
- If it’s missing, go to SCSI Controller > Hard Drive > Add
- Select your existing VHDX > Apply changes > start the VM.
Additional suggestion to prevent this in the future: If you are still content with using USB for passing through, always Safely Remove the USB from the VM before you shut it down and take it offline on the host machine.
The above suggestions should get you back up and running quickly. If the issue persists or new errors appear, please consider sharing a screenshot of the PowerShell output from step 2 or the exact boot error. This will help us better understand the situation and provide a more accurate solution. If there is anything not clear or you need help doing the repair install, please do not hesitate to let me know!
If the answer is helpful, please click "Accept Answer" and kindly upvote it to assist others who might face similar issues. If you have extra questions, please click "Comment".
Note: To enable e-mail notifications, follow the steps in our documentation!