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

  • VMware releases patch for glibc vulnerability on ESXi 5.5

    VMware ESXi550-201602401-SG

    You may remember not to long ago, the GHOST vulnerability found in glibc, a GNU C library. Well a new glibc vulnerability (CVE-2015-7547) has been discovered and it affects VMware ESXi 5.5 and 6.0 in addition to all versions of VMware virtual appliances running Linux such as vCenter, Orchestrator, vRealize, etc.

    VMware has just released patch ESXi550-201602401-SG for ESXi 5.5 and ESXi600-201602401-SG for ESXi 6.0 which fixes the glibc vulnerability, a patch for ESXi 6.0 has yet to be released. VMware has however posted workarounds for affected virtual appliances.

    Read More “VMware releases patch for glibc vulnerability on ESXi 5.5”

  • Thank you VMware Community!

    VMware vExpert 2014

    So far, 2014 has been a very rewarding year for a number of reasons, two of which has happened in just a week or two span. First, Eric Siebert (@ericsiebert) announced on March 27th, this years results of the 2014 Top VMware & Virtualization Blog voting. My first year entered into voting and made it to 71st place! A huge thanks goes out to not only Eric but just as much so to everyone who voted for me!

    To top it off, yesterday VMware announced 2014’s first quarter VMware vExpert list. While vExpert isn’t a technical certification or even a general measure of VMware expertise. The VMware judges selected people who were engaged with their community and who had developed a substantial personal platform of influence in those communities. There were a lot of very smart, very accomplished people, even VCDXs, that weren’t named as vExpert this year. VMware awarded this title to 754 people this year and on that list of many impressive names you’ll find yours truly, Michael Tabor!

    I’m both honored and humbled by both lists. It’s a great feeling to be recognized by not only my peers through the voting in the Top vBlog but also by VMware themselves through the vExpert title.

    So again THANK YOU very much to the entire VMware community, a spectacular community indeed, and congratulations to everyone else that made the Top vBlog and vExpert lists!

  • VMware Site Recovery Manager 8.2 – No more Windows

    VMware has just announced the release of Site Recovery Manager 8.2. There are a number of new items in SRM 8.2, such as enhancements to the HTML5 user interface, support for vSphere 6.7 Update 2, but most notably is Site Recovery Manager 8.2 virtual appliance!

    No more Microsoft Windows license needed! The SRM 8.2 virtual appliance runs on the Photon OS distro, which is similar to what the vCenter virtual appliance has been running on for years now.

    Read More “VMware Site Recovery Manager 8.2 – No more Windows”

  • Shrink a thin provisioned VMDK disk

    When maintaining a Horizon View environment I like to keep my parent images as small as possible and over time a thin provision disk can start to grow on you if you don’t watch it – be it from downloading installers, updates, or even running disk defrag. While there isn’t a simple, one click button in the View Administrator Console there is a fairly easy manual method using vmfkstools.

    Before we can use “vmkfstools” to shrink the VMDK file we must zero out any unused space on the thin provisioned disk. A simple way of doing this is by using a free utility called SDelete from Sysinternals.

    Read More “Shrink a thin provisioned VMDK disk”

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