How to remove virtual drive windows 10

I"m creating many differencing disks for my job and deleting them after some time.

You watching: How to remove virtual drive windows 10

I use "detach vdisk" command also, they disappear from disk management however they are not entirely removed...

When i usage "list vdisk" command also there is a substantial list with all the virtual disks ever before attached:

*

I couldn"t find a way to clear this and I have actually no principle if it will affect performance at some allude. Does anyone understand where all this details is stored and also how to rerelocate it?

Is tright here any type of means to totally rerelocate a online disk so it will not display up in this list after?


windows-10-generalwindows-server
b5c13e178e1511c9164ec57698195da7.png (61.3 KiB)
Comment
Comment Sexactly how 0
Comment
10 |1000 characters required personalities left personalities gone beyond
▼ Toggle Comment visibility. Current Visibility: Visible to all customers

Attachments: Up to 10 attachments (consisting of images) have the right to be used via a maximum of 3.0 MiB each and also 30.0 MiB total.


8 Answers


*

Click to vote 1 Vote" 1 Click to down vote
gdlr-8380 answered · Oct 26, 2020 at 07:46 PM

I tested and refounding computer system gets rid of the list.


Comment
Comment · Sexactly how 2 · Share
Comment
10 |1000 characters needed personalities left characters surpassed
▼ Toggle Comment visibility. Current Visibility: Visible to all individuals

Attachments: Up to 10 attachments (including images) can be provided through a maximum of 3.0 MiB each and 30.0 MiB complete.


DSPatrick · Oct 26, 2020 at 08:36 PM

Glad to hear the concern is sorted.

--please do not forgain to Accept as answer if the reply is helpful--


0 Votes 0 ·
XiaoweiHe-MSFT · Oct 27, 2020 at 08:52 AM

Hi,

Thanks for your sharing. Then, please accept your deal with as a solution, so that others fulfill a similar concern can discover the solution quickly.

Thanks for your time!Best Regards,Anne


0 Votes 0 ·

Click to vote 1 Vote" 1 Click to dvery own vote
DSPatrick answered · Oct 25, 2020 at 11:15 PM

Can you remove them?https://classiccomputers.info/en-us/powershell/module/storage/remove-virtualdisk?view=win10-ps

--please don"t forget to Accept as answer if the reply is helpful--


Comment
Comment Show 0 · Share
Comment
10 |1000 characters needed characters left personalities exceeded
▼ Toggle Comment visibility. Current Visibility: Visible to all users

Attachments: Up to 10 attachments (consisting of images) have the right to be used with a maximum of 3.0 MiB each and 30.0 MiB complete.


*

Click to vote 2 Votes" 2 Click to down vote
mkobes answered · Oct 25, 2020 at 11:23 PM

Like the command you provided "detatch vdisk" says, you detach the vdisk. The actual file does not get removed and also does continue to be on the disk till you actualy rerelocate the file.

(If the reply was helpful please do not foracquire to accept it as the answer, give thanks to you)


Comment
Comment Sjust how 0 · Share
Comment
10 |1000 personalities essential characters left characters exceeded
▼ Toggle Comment visibility. Current Visibility: Visible to all individuals

Attachments: Up to 10 attachments (consisting of images) have the right to be supplied with a maximum of 3.0 MiB each and also 30.0 MiB complete.



Click to vote 1 Vote" 1 Click to down vote
XiaoweiHe-MSFT answered · Oct 26, 2020 at 06:08 AM

Hi,

As
mkobes discussed, once we use "detatch vdisk", it just stops the schosen online tough disk (VHD) from appearing as a regional hard disk drive on the hold computer, while the vdisk papers still exist, we need to delete the VHDXs in the detailed place manually.

See more: Embedded Videos Not Playing On Tumblr, Access 18 Best Answers & Solutions

https://classiccomputers.info/en-us/windows-server/administration/windows-commands/detach-vdisk

Thanks for your time!Best Regards,Anne

If the Answer is useful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our documentation to enable e-mail notifications if you desire to receive the related email notification for this thcheck out.


Comment
Comment Sjust how 0 · Share
Comment
10 |1000 personalities required characters left characters surpassed
▼ Toggle Comment visibility. Current Visibility: Visible to all customers

Attachments: Up to 10 attachments (including images) have the right to be provided via a maximum of 3.0 MiB each and also 30.0 MiB complete.


*

Click to vote 0 Votes" 0 Click to down vote
gdlr-8380 answered · Oct 26, 2020 at 08:23 AM

But I delete the file after ... I use Remove-Item from powershell.

The disk still stays listed tbelow. I have actually practically 3000 disks currently ...


DSPatrick I can not figure out how to usage Remove-VirtualDisk here. I tried following commands yet they do not job-related. Where deserve to I discover out the name or the friendly name of the virtual disks that present up in diskcomponent list?

Remove-VirtualDisk -FriendlyName "VDisk 2852"

Remove-VirtualDisk -Name "VDisk 2852"

Also, I have to point out that the disks are created on a digital machine that doesn"t run Hyper-V services. Can this be causing the problem?


Comment
Comment Sjust how 0 · Share
Comment
10 |1000 characters necessary characters left characters gone beyond
▼ Toggle Comment visibility. Current Visibility: Visible to all customers

Attachments: Up to 10 attachments (consisting of images) deserve to be provided through a maximum of 3.0 MiB each and also 30.0 MiB full.


Click to vote 0 Votes" 0 Click to dvery own vote
DSPatrick answered · Oct 26, 2020 at 10:35 AM

--please do not forgain to Accept as answer if the reply is helpful--


Comment
Comment Sexactly how 0 · Share
Comment
10 |1000 personalities necessary characters left personalities surpassed
▼ Toggle Comment visibility. Current Visibility: Visible to all individuals

Attachments: Up to 10 attachments (including images) deserve to be offered through a maximum of 3.0 MiB each and 30.0 MiB total.


Click to vote 0 Votes" 0 Click to dvery own vote
gdlr-8380 answered · Oct 26, 2020 at 11:34 AM

Problem is I"m not using Hyper-V and also I do not want to merge any disks. I just want to rerelocate them entirely.

And I noticed same thing happens even if I don"t usage differencing disks.

See more: Windows 10 Stuck Attempting Repairs, Startup Attempting Repair Loop : Windows10

Maybe tbelow is a cache for previous installed disks or somepoint that resets after some time . Maybe the purpose of it is to instantly asauthorize the very same drive letter when you connect the exact same disk again.I cannot restart the server ideal now to examine if it gets rid of after restart but i will certainly attempt tomorrow maybe.


Comment
Comment Show 0 · Share
Comment
10 |1000 personalities needed characters left characters surpassed
▼ Toggle Comment visibility. Current Visibility: Visible to all individuals

Attachments: Up to 10 attachments (including images) can be provided via a maximum of 3.0 MiB each and also 30.0 MiB complete.


Click to vote 0 Votes" 0 Click to dvery own vote
DSPatrick answered · Oct 26, 2020 at 11:43 AM

Yes, I"d certainly reboot to watch if that removes up a cache.

--please do not foracquire to Accept as answer if the reply is helpful--


Comment
Comment Sjust how 0 · Share
Comment
10 |1000 characters essential personalities left personalities exceeded
▼ Toggle Comment visibility. Current Visibility: Visible to all users

Attachments: Up to 10 attachments (consisting of images) have the right to be supplied via a maximum of 3.0 MiB each and also 30.0 MiB full.


question details


9 civilization are complying with this question.


Answers Subscribe to Answers Answers and Comments Subscribe to Comments and Answers

Related Questions


MDT Record "Anvarious other copy of this application is already running"