HomeVirtualizationVMwareView Composer Fault: Virtual Machine with input specifications already exists

View Composer Fault: Virtual Machine with input specifications already exists

Problem:

@View Administrator this error will appear: Error During provisioning: View Composer Fault: Virtual Machine with input specification already exists.

Error During provisioning: View Composer Fault: Virtual Machine with input specification already exists

You’ll also see this from the Desktop Pool:

View Administrator

After several tests with View Administrator (creating and deleting pools and VMs) and attempting to create a new Desktop Pool, the previous error will indicate that some of the machines already exists, this might happen when a delete operation is not completed by View Administrator and you wish to create new ones with the same name.

If you go and check the ADAM database to try to remove the VMs, you will find out the VMs are not present. Check my previous Post.

Environment

  • Windows Server 2012R2
  • Horizon View 6

Solution:

TO REMOVE A SINGLE VM:

@View Composer Server

- Advertisement -

1. Open Command Prompt.

2. Locate SviConfig at:

  • 32-bit servers: Install_drive\Program Files\VMware\VMware View Composer
  • 64-bit servers: Install_drive\Program Files (x86)\VMware\VMware View Composer

3. Remove the machine with the following command:

SviConfig -operation=RemoveSviClone -VmName=VMname -AdminUser=TheLocalAdminUser -AdminPassword=TheLocalAdminPassword -ServerUrl=TheViewComposerServerURL

P8 Image3

Where:

- Advertisement -
  • VMname is the name of the virtual machine to remove.
  • TheLocalAdminUser is the name of the user who is part of the local administrator group. The default value is Administrator.
  • TheLocalAdminPassword is the password of the administrator used to connect to the View Composer server.
  • TheViewComposerServerUrl is the View Composer server URL. The default value is https://localhost:18443/SviService/v2_0.
  • For VMware View Manager 5.1 and later, TheViewComposerServerUrl is the View Composer server URL. The default value is https://localhost:18443/SviService/v3_0.
  • For VMware View Manager 6.0, TheViewComposerServerUrl is the View Composer server URL. The default value is https://localhost:18443/SviService/v3_5.

For Example:

C:\Program Files (x86)\VMware\VMware View Composer>SviConfig -operation=RemoveSviClone -VmName=VM002 -AdminUser=Administrator -AdminPassword=123456 -ServerUrl=https://localhost:18443/SviService/v3_5

In the previous example I wanted to delete the virtual machine named VM002, user/password are Administrator/123456 and VMware View Manager 6.0 is used.

TO REMOVE A VM’s BATCH:

This will be the ideal scenario; several machines will get stuck with old given names.

1. Create two files using notepad

2. Copy all the virtual machines names to a "desktops.txt" file, you can use Excel to generate the names and then copy them to the txt file to easily complete this task.

P8 image4

3. In other txt file copy this line, then save it as a .bat.

FOR /F %%A in (desktops.txt) DO sviconfig -operation=removesviclone -vmname=%%A -adminuser=administrator -adminpassword=!123456 -ServerUrl=https://localhost:18443/SviService/v3_5

Note: Those two files (.txt and .bat) must be allocated inside the VMware View Composer folder, with SviConfig file.

P8 image6

4. Then execute the .bat file by double-clicking on it and wait until it finishes. All the VMs from the .txt file will be deleted.

Juan Mulford
Juan Mulford
I have been active in IT for over fourteen years now. I am a solutions architect, working with storage, virtualization, and VDI solutions. For the past ten years, I have been living and working in Taiwan.

Leave a Reply

- Advertisement -

Popular Articles

mulcas.com-Raspberry-Pi

Raspberry Pi OS in a Virtual Machine with VMware

4
Although the Raspberry Pi OS is designed and optimized for the Raspberry Pi module, it is possible to test and use it without its hardware, with VMware. This solution can be useful if you are a developer (or just a curious guy) and don't have a Raspberry Pi module with you
Unable to delete inaccessible datastore

Unable to delete an "inaccessible" datastore

7
I was switching my storage array, so I migrated the VMs from that old datastore/storage to a new datastore/storage. The old datastore was shared by 3 ESXi hosts, no cluster. After migrating the VMs and unmount/delete the datastore, it was still presented in two of the ESXi hosts and was marked as inaccessible.
This is not a valid source path / URL

This is not a valid source path / URL - SourceTree and Gitlab

0
I have been working on a project with a friend who set up a repository in Gitlab but even though I was able to view all projects on it, I couldn’t really join the repository. I was using SourceTree and Gitlab.
mulcas.com-VMware-OVF-Tool

How to export a Virtual Machine using the VMware OVF Tool

9
The VMware OVF Tool is implemented by VMware for easily importing and exporting virtual machines in Open Virtualization Format (OVF) standard format. Here, I want to show you how to download and install it, and then how to use it from a Windows machine.
Couldn't load private key - Putty key format too new

Couldn't load private key - Putty key format too new

5
couldn't load private key - Putty key format too new.” This issue happens when you use PuTTygen to generate or convert to a ppk key. Here is how to fix it. 
- Advertisement -

Recent Comments