new1234.jpg
Home > VMware > VMware: Cannot remove a License Key from VMware vCenter Server

VMware: Cannot remove a License Key from VMware vCenter Server

Last week I upgraded a vCenter Server from version 5.1 to 5.5, I also added a 4th hosts to the cluster, so I need to upgrade the host license keys. But after upgrade I couldn’t remove the license files in vCenter Licensing section:

image

 

Solution:

To connect to the ADAM database:

  1. Log in to the vCenter Server.
  2. To open ADSI Edit, click Start > Run, type adsiedit.msc, and press Enter.
  3. Right-click ADSI Edit and click Connect to.
  4. In the Connection point section, click Select or type a Distinguished Name or Naming Context.
  5. Enter dc=virtualcenter, dc=vmware, dc=int
  6. In the Computer section, click Select or type a domain or server: (Server | Domain [:port]).
  7. Enter localhost
  8. Click OK.
  9. Drill down to DC=virtualcenter,DC=vmware,DC=int, OU=Licensing, OU=LicenseEntities.You see the CN="license key" containers.
  10. Right-click the container that shows the the serial number of the key that is negative within the vCenter Server Licensing page.
  11. Click Delete.

image

 

Result:

When you restart he vSphere client and navigate to the Licensing page the old license keys are removed and you can re-assign license keys to the hosts

image

 

More information: VMware

sanderdaems

Sander Daems is founder and author of this blog and working as a Lead (Sr.) Consultant by UNICA ICT Solutions. Sander has over 15 years experience in IT, primary focus: virtualization and modern worksplace.

More Posts - Website

Follow Me:
TwitterLinkedIn

  1. AOPS Gator
    May 13th, 2015  (Quote) at 14:37  (Quote) | #1

    So how do this get done with the vCenter Appliance 5.5 (VCSA), as that is a linux-based system?

  2. AOPS Gator
    May 13th, 2015  (Quote) at 14:47  (Quote) | #2

    @AOPS Gator
    Too fast on the draw, found the answer: http://kb.vmware.com/kb/2054008

  3. May 15th, 2015  (Quote) at 11:10  (Quote) | #3

    AOPS Gator :

    @AOPS Gator
    Too fast on the draw, found the answer: http://kb.vmware.com/kb/2054008

    Thanks for the update AOPS Gator!

  4. Neppet
    July 29th, 2015  (Quote) at 09:14  (Quote) | #4

    I’m trying this method to remove vCenter license, but after I reboot the server in the last step, deleted container reappers and license is still there. What should I do?

  5. February 25th, 2016  (Quote) at 08:31  (Quote) | #5

    @Neppet
    Hello! Had you resolved the issue with vCenter license? I have the same problem – deleted container reappers and license is still there.

  1. No trackbacks yet.