Avatar of IT_Fanatic
IT_Fanatic
 asked on

Chkdsk VHD

How do I run chkdsk on VHD's? Is it safe to do so?
VirtualizationWindows Server 2008

Avatar of undefined
Last Comment
IT_Fanatic

8/22/2022 - Mon
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

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.
IT_Fanatic

ASKER
the VHD is a virtual machine. I dont understand what you need me to do.
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

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

I thought you just had a VHD on a cdrom!
Your help has saved me hundreds of hours of internet surfing.
fblack61
IT_Fanatic

ASKER
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
ASKER CERTIFIED SOLUTION
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
IT_Fanatic

ASKER
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 PRO / EE Fellow/British Beekeeper)

Thatbis correct, always good practice to have a backup before any modifications are made.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
IT_Fanatic

ASKER
Thank you as always