I've run into this exact same issue so many times with old laptop drives, it's incredibly annoying. Even though it's obviously plugged in via USB, Windows looks at the old partitions and panics. It's a hardcoded guardrail to stop people from accidentally nuking their C: drive, but it's dumb enough to block external drives too. Usually, this happens because Windows quietly mounted a pagefile or some background system process to that USB drive the moment you plugged it in.
Since you're already in diskpart, you can try forcing it by deleting the stubborn partitions one by one using an override command.
Try this real quick:
- Run CMD as admin > diskpart > list disk > select disk 1 (double-check that number!)
- Type list partition
- select partition X (pick the annoying system/recovery one)
- Run: delete partition override
That override tag is the secret sauce, it basically tells Windows to shut up and delete it anyway. Do that for the partitions, and then the main clean command should work.
If diskpart still throws that same Virtual Disk Service error even with the override command, it means Windows is actively using a pagefile on that drive. Go to Advanced System Settings > Performance > Virtual Memory, check if any paging file is assigned to Disk 1, set it to "No paging file", reboot, and try again. It'll work like a charm.