Chkdsk VHD

IT_Fanatic
IT_Fanatic used Ask the Experts™
on
How do I run chkdsk on VHD's? Is it safe to do so?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
Add the VHD to a virtual machine.

Running chkdsk could possibly cause more corruption, so I would make a copy first, before running any disc recovery procedure on the disk.

Author

Commented:
the VHD is a virtual machine. I dont understand what you need me to do.
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
Then run chkdsk in the VM, from within the OS!

I thought you just had a VHD on a cdrom!
CompTIA Network+

Prepare for the CompTIA Network+ exam by learning how to troubleshoot, configure, and manage both wired and wireless networks.

Author

Commented:
I have a windows 2008 standard r2 server (its an actual sever not VM). It hosts hyper-V with 3 VMS. So you are saying just log into the VM and go to my computer>right click>go to properties>system tools>chkdisk?

I tried that and it wants to force unmount it
VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017
Commented:
open a command prompt and type chkdsk c: /f, ask it to restart at chkdsk at next boot.

Author

Commented:
ok so I will just copy the vhd to another location for safe keeping then run chkdsk. If it goes wrong then just move the copy back to the old location. Is that correct?
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
Thatbis correct, always good practice to have a backup before any modifications are made.

Author

Commented:
Thank you as always

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial