Chkdsk VHD

How do I run chkdsk on VHD's? Is it safe to do so?
IT_FanaticAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
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.
0
IT_FanaticAuthor Commented:
the VHD is a virtual machine. I dont understand what you need me to do.
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Then run chkdsk in the VM, from within the OS!

I thought you just had a VHD on a cdrom!
0
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

IT_FanaticAuthor 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
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
open a command prompt and type chkdsk c: /f, ask it to restart at chkdsk at next boot.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
IT_FanaticAuthor 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?
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Thatbis correct, always good practice to have a backup before any modifications are made.
0
IT_FanaticAuthor Commented:
Thank you as always
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Virtualization

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.