When I started the virtual machine under VMware I received a message saying that the vmx file is corrupt. How to solve this problem?
-
Thanks for your effort. It's look like you are trying to provide solution instead of a question. If that's the case, could you help to edit the post with stackoverflow.com/help/self-answer this guidance?– PrisonerSep 13, 2017 at 9:42
-
You have right, I described how to solve the problem because I had such. Thanks for your suggestion. So how I can now select option "Answer your own question"? I don't see that.– elcudroSep 14, 2017 at 7:58
-
That button only available for new question. Maybe you can edit your question to "question" only, and put the solution as answer. However, it seems you cannot mark your answer as answer immediately, but I forgot how many days it need to wait. You will see it when you post the answer.– PrisonerSep 14, 2017 at 8:03
1 Answer
Simple and fast way to fix a corrupted vmx file.
We need to use vmware-vdiskmanager.exe for that purpose. It is installed together with vmware.exe in professional version. The Insalator is available at: VMware Workstation Pro. We can use a 30 day trial.
Once VMware Workstation Professional is installed.
Execute step by step:
- Open the command line (cmd.exe) as administrator
- Navigate to the local installation of your VMware (mine is the default C:\Program Files (x86)\VMware\VMware Workstation)
- Type the following command >> vmware-vdiskmanager.exe –R “the fully qualified path to your corrupt vmdk”
- Hit Enter
- Run VMware.exe
- Navigate to File > New Virtual Machine
Check Custom (advanced) option
Select appropriate hardware compatibility
Click button next
Click button next
Point locations and enter virtual machin name the same as was corrupted file vmx.
Click the button NEXT all the time (we can set parameters of the machine). When we arrive at the wizard to the below picture, we need to set disk as use an existing virtal disk.
Click button next, select an existing corrupted disk and in the next step click button Finish. Now we can run our virtual machine.
-
hey,I keep getting access denied,this app cannot run in this computer error..you have any idea on this??Please help– kenDec 2, 2017 at 13:19
-
Sorry, but if I
Point locations and enter virtual machin name the same as was corrupted file vmx.Vmware rightly warn be because the wmx file already exists!– realteboJul 10, 2018 at 19:59 -
running vmware-vdiskmanager.exe gave me an error
Diskname or some other argument is missing.However i just continued creating a new VM using existing VMDK and it just worked fine Aug 26, 2019 at 9:33





