How to Reset VMware vCenter Server Appliance Root Password

Have you ever forgotten the root password on your VMware vCenter Server Appliance (VCSA) or let the password expire before changing it?

This is exactly what happened to me in one of my lab environments and in this post I’ll show how to quickly and easily reset the VCSA root password.

How to reset the vCenter Service Applicate Root password

    1. Connect to the host that the VMware VCSA is running on (https:\\HOST_IP_ADDRESS\ui) and open a console window.
    2. Reboot the VMware VCSA.
      VMware vCenter Service Applicante reboot
    3. As soon as the Photon splash screen appears, press e on your keyboard.
      Photon splash screen
    4. Add rw init=/bin/bash to the end of the first line.
      vcenter vcsa bin bash
    5. Press F10 to continue loading the Photon OS.
    6. At the command prompt, type passwd and press Enter. Then enter and confirm your new password.
    7. After confirming your new password type: umount / to unmount the root filesystem.
      vcenter vcsa umount
    8. Finally, reboot the VMware VCSA by typing: reboot -f
      vcenter vcsa reboot

After the VMware vCenter Server Appliance finishes loading, you should be able to login using the new root password you’ve set above.

Similar Posts

  • Easy ESXi 5.5 upgrade via command line

    ESXi 5.5 was just released general availability (GA) on Sunday (9/22) and I’m itching to upgrade the home lab to run the latest version with all it’s goodies. I wanted to try upgrading my hosts without having to go through the same process that I followed setting up ESXi on the NUC in the first place, injecting custom NIC drivers, etc.

    Enter the command line…

    1. Move all VM’s from the host and then put the host into Maintenance Mode.
    2. Go to the Configuration tab > Security Profile and Enable SSH under Services.
      ssh enabled
    3. Under Firewall, enable httpClient (outbound http).
      httpClient enable
    4. Open PuTTY (or other SSH client) and SSH into your host.
    5. Read More “Easy ESXi 5.5 upgrade via command line”

  • Edit Virtual Hardware 10 VM’s with vSphere 5.5 U2 client

    When ESXi 5.5 came out so did a new virtual hardware version, 10, as well. However the ability to edit virtual machines have have been upgraded to virtual hardware 10 was restricted to only the vSphere web client. In some cases people have put off upgrading to virtual hardware 10 either for dislike of the web client or knowing you cannot edit the VM in the event of the web client being down.

    That all changes today, VMware has just released vCenter 5.5 Update 2 today and one of the “resolved issues” in today’s release notes is the ability to now edit virtual machines with Virtual Hardware 10 using the vSphere thick (C#) client.

    edit virtual hardware 10

    Read More “Edit Virtual Hardware 10 VM’s with vSphere 5.5 U2 client”

  • VMware Recertification Policy

    VMware certified

    Starting today, March 10 2014, new VCP certifications must be re-certified within two years of it’s earned date. Anyone who currently has their VCP certification prior to March 10 2013 has until March 10, 2015 to re-certify.

    The new policy gives you three options to re-certify:

    1. Take the current exam for your existing VCP certification solution track. For example, if you are a VCP3, you could take the current VCP5-Data Center Virtualization (VCP5-DCV) exam.
    2. Earn a new VCP certification in a different solution track. For example, if you are a VCP-Cloud, you could recertify by earning VCP5-Desktop (VCP5-DT) certification.
    3. Advance to the next level by earning a VMware Certified Advanced Professional (VCAP) certification. For example, if you are a VCP5-DCV you could earn VCAP5-DCA certification.

    I can understand why they are doing this but I don’t agree with the changes. As per the announcement if you let your certification expire, “Your certification will be revoked,and you will no longer be entitled to use the certification logo or represent yourself as VMware certified“. Really? You mean everything that was done prior and after taking the exam means nothing?

    Read More “VMware Recertification Policy”

  • How to fix vRealize Orchestrator 6 appliance, weak ephemeral Diffie-Hellman key

    vrealize orchestrator chrome error

    I’ve recently deployed the vRealize Orchestrator appliance (6.0.2) and noticed right away that my default browser Firefox, would not load the Orchestrator appliance web panel. Firefox always complained about a weak Diffie-Hellman key.

    An error occurred during a connection to ip-address:8281. SSL received a weak ephemeral Diffie-Hellman key in Server Key Exchange handshake message. (Error code: ssl_error_weak_server_ephemeral_dh_key)

    At the time I simply ignored it and just tried Google Chrome which it worked fine. That was until the latest release also broke with the same type of error message:

    Server has a weak ephemeral Diffie-Hellman public key“.

    I now had a problem and contacted VMware support, below is the very easy fix to make vCO 6 work in both the latest version of Firefox and Chrome!

    Read More “How to fix vRealize Orchestrator 6 appliance, weak ephemeral Diffie-Hellman key”

  • VMware VCP exam coupons, save 50%!

    VMware

    Current VCPs save 25% off any VCP exam

    All current VMware Certified Professionals can save 25% on exams taken before January 1st, 2015 on the following VCP exams:

    VMware Certified Professional 5 – Data Center Virtualization

    • Exam Code: VCP550
    • Exam Code: VCP510

    VMware Certified Professional 5 – Desktop

    • Exam code: VCP510-DT
    • Exam code: VCPD510

    VMware Certified Professional – Cloud

    • Exam Code: VCPC550
    • Exam Code: VCPC510
    • Exam Code: VCPVCD510

    VMware Certified Professional – Network Virtualization

    • Exam Code: VCPN610

    Read More “VMware VCP exam coupons, save 50%!”

Leave a Reply

Your email address will not be published. Required fields are marked *