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

  • How to update VMware ESXi 6.7 to 6.7 Update 1

    To go along with the newly released VMware vCenter 6.7 Update 1 release, comes VMware ESXi 6.7 Update 1 as well.

    As you might expect with an Update 1 release there are a number of patches, fixes and new additions with ESXi 6.7 U1. If you haven’t already seen, check out the release notes here.

    Below are two ways to easily upgrade your ESXi 6.0-6.7 hosts to ESXi 6.7 U1 using the command line or by using VMware Update Manager.
    Read More “How to update VMware ESXi 6.7 to 6.7 Update 1”

  • 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”

  • VCP5 Exam: Passed

    Pass

    This morning I took the VCP510 exam and passed it on my first go at it!

    Overall I felt the exam was a nice challenge, while I can’t go into details of the exam, per the NDA. I will say I was surprised at the number of multiple answer questions and the VPC510 was certainly more “real-world” based and not so much memorizing config maximums.

    That said, I’ll do as others have done and list what I used in my preparation for the VCP510 exam…

    Read More “VCP5 Exam: Passed”

  • Become a VMware Certified Associate for FREE!

    During the San Francisco VMworld 2013, VMware announced the start of their new VMware Certified Associate certifications.

    There’s no training class requirement for the new exams although VMware offers a free self-paced e-learning course which is recommended to help you prepare for the exams. The exams normally run $120.00 but VMware is currently running a $60.00 discount for those who take the exam in 2013. NTPRO.nl has an additional coupon code (VCA13ICS) to take the remaining $60.00 off making the exam FREE!

    VCA Exam for free

    The VCA13ICS coupon code expires on October 30, 2013!

    Update:
    Global Knowledge also has a coupon code (VCA13GKN) which does not expire until January 31, 2014. Limit one free exam per individual!

  • My VMware View Windows 7 Optimization Guide

    These are the few steps I do when creating a new "Golden" image. Luckily I don’t have to do these steps all the time as I’ll create the "Golden" image when there is a new upgrade such as when we went from View 4.6 to View 5.0.1. I like to have a new fresh machine using new virtual hardware from the start. You could certainly just upgrade the virtual hardware on the "Golden" image, I just prefer to start clean.

    At any rate, here’s my list. Hopefully someone might find it somewhat useful and maybe even others can improve upon it.

    Preparing a new virtual machine

    1. Create New Virtual Machine – FILE > NEW > VIRTUAL MACHINE (CTRL+N)
    2. Under Configuration select CUSTOM.
    3. Select a Name, Folder, Host, Cluster, and Storage.
    4. Under Guest Operating System select Windows and then Windows 7 32bit under the Version drop down.
    5. Select which Network (VLAN) and under Adapter select VMXNET 3.
    6. Configure disk size to 30GB THIN provisioned.

    Read More “My VMware View Windows 7 Optimization Guide”

  • VMware extends VCP550D exam deadline again, provides VCP6 discount

    VMware Education

    VMware has just announced good news for many VCP’s and procrastinators alike by extending the VMware VCP550D Delta Exam from March 10, 2015 to May 8, 2015!

    It seems VMware had some issues with the myLean system over this last weekend as well as some partners of VMware expressed concern that the initial deadline (Nov 30, 2014) and first extension (March 10, 2015) was not enough notice and asked for another extension so they (the partners) could schedule time to have their VCP’s re-certified.

    If you haven’t taken the VCP550D exam yet, I’m compiled a list of topics to study in my VMware delta exam passed post.

    Read More “VMware extends VCP550D exam deadline again, provides VCP6 discount”

Leave a Reply

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