Convert VMDK files to OVF

To convert the vmdk files to ovf we need to use the ovf tool which can be downloaded from below .

How To

1. Download and install OVF tool on the server

2. Open command prompt as administrator

3. Go to the OVF installation path

C:\Windows\system32>cd C:\Program Files\VMware\VMware OVF Tool

4. Run the command

ovftool  pathto.vmx   newfile.ovf

Example

C:\Program Files\VMware\VMware OVF Tool>

If you are getting Error: Failed to open OVF descriptor  it is because the path given is not correct .Provide Correct source and destination and start again .

Example.

C:\Program Files\VMware\VMware OVF Tool>ovftool C:\VM\virtualmachine.vmx C:\VM\virtualmachine.ovf

ovftool C:\VM\virtumamachine.vmx C:\VM\virtualmachine.ovf

Opening VMX source: C:\VM\virtualmachine.vmx

Opening OVF target: C:\VM\virtualmachine.ovf

Writing OVF package: C:\VM\virtualmachine.ovf

Progress: 14%

Once it  is completed with 100 % you  may use the ova for deployment purpose .