I tested and restarting computer clears the list.
Can't remove virtual disks completely
I'm creating a lot of differencing disks for my project and deleting them after some time.
I use "detach vdisk" command, they disappear from disk management but they are not completely removed...
When i use "list vdisk" command there is a huge list with all the virtual disks ever attached:
I couldn't find a way to clear this and I have no idea if it will impact performance at some point. Does anyone know where all this info is stored and how to remove it?
Is there any way to completely remove a virtual disk so it won't show up in this list after?
7 additional answers
Sort by: Most helpful
-
Dave Patrick 426.1K Reputation points MVP
2020-10-26T10:35:12.09+00:00 Maybe this one helps.
https://norcliffe.com/2019/01/14/merging-and-deleting-a-differencing-disk-in-hyper-v/--please don't forget to Accept as answer if the reply is helpful--
-
gdlr 106 Reputation points
2020-10-26T11:34:17.343+00:00 Problem is I'm not using Hyper-V and I don't want to merge any disks. I just want to remove them completely.
And I noticed same thing happens even if I don't use differencing disks.
Maybe there is a cache for previous mounted disks or something that resets after some time . Maybe the purpose of it is to automatically assign the same drive letter when you attach the same disk again.
I cannot restart the server right now to check if it clears after restart but i will try tomorrow maybe. -
Dave Patrick 426.1K Reputation points MVP
2020-10-26T11:43:25.85+00:00 Yes, I'd definitely reboot to see if that clears up a cache.
--please don't forget to Accept as answer if the reply is helpful--