VMware Communities
ploge
Contributor
Contributor

Issues reverting a teamed vm snapshot in command line in ws 6.0.3

In VMware workstation 5.5 I executed the following batch file to revert, and then run serveral images that are part of a team. This clearly work in the past for me.

set Teamvm="D:\PV04.vmtm"
set vm1="D:\PV04 FT-SE-Server\Windows Server 2003 Standard Edition.vmx"
set vm2="D:\PV04 Terminal-Server\Windows Server 2003 Standard Edition.vmx"
set vm3="D:\PV04 Terminal-Client\Windows XP Professional.vmx"
set snap="START"
cd c:\Program Files\VMware\VMware Workstation
vmrun revertToSnapshot %vm1% %snap%
vmrun revertToSnapshot %vm2% %snap%
vmrun revertToSnapshot %vm3% %snap%
vmware.exe -X %Teamvm%

In 6.0.3, when i try to run the same batch file to revert the snapshots of the images, i get the following error after the "vmrun revertToSnapshot %vm1% %snap%" is executed:

"Error Command Failed. The virtual machine belongs to a team."

Does anyone have any suggestions as to best approach to revert each of these vms that are part of the team in command-line?

-


Version: VMware Workstation 6.0.3

Host OS: Windows XP SP2

Guest OS1: Windows Server 2003 R2 SP2

Guest OS2: Windows XP SP2

Guest OS3: Windows XP SP2

0 Kudos
3 Replies
Andreas_Johanss
Contributor
Contributor

I would like to bump this thread since I have the same issue. I'm using the VIX API to revert VMs running on Workstation 6.0.2 build-59824, but I can't do that when they are in a team. Is this a known bug?

Kind Regards

Andreas

0 Kudos
Andreas_Johanss
Contributor
Contributor

My limited tests show that this is indeed a bug in the 6.0.x versions. It seems to be have been fixed in version 6.5.

Kind Regards

Andreas

0 Kudos
admin
Immortal
Immortal

Yes, the issue had been fixed in Workstation 6.5 and later. Sorry for any trouble it caused you.

0 Kudos