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

  • Fixing, This host currently has no management network redundancy

    host no management network redundancy

    I recently redid my VMware home lab environment and after enabling HA the warning message “This host currently has no management network redundancy” started displaying on each of my ESXi hosts.

    This warning happens because in a HA cluster there is a requirement for the management network to have redundant NICs, but in my case I’m using Intel NUCs which only have a single NIC and since this is only a lab I don’t care to see the warning so lets disable it.

    Read More “Fixing, This host currently has no management network redundancy”

  • How to shadow a VMware Horizon View desktop

    Ever work on a View 5.x Desktop issue and needed access to the desktop it self while in use? While not a feature that is easily enabled say via the vmTools or the View Administrator console – it can however be easily enabled via Group Policy, similar to some other settings that I mention in the Windows 7 Optimization Guide.

    Enable PCoIP Shadowing

    • Import the pcoip.adm GPO Template.
    • Navigate to: Computer Configuration > Administrative Templates > Classic Administrative Templates (ADM) > PCoIP Session Variables.
    • Enable “Enable access to PCoIP session from a vSphere console”.
    • Link the GPO to the OU where your View Desktops reside.

    shadow pcoip policy

    Read More “How to shadow a VMware Horizon View desktop”

  • VMware Workstation 12 Pro Released

    VMware has just released a new version of Workstation in VMware Workstation 12 Pro. Workstation 12 Pro provides full support for Windows 10, including features such as Cortana and universal applications. As well as even larger virtual machines with up to 16 vCPU’s and 64GB of memory. Workstation 12 Pro even supports 4K displays and DirectX 10 and OpenGL 3.3

    You can even seamlessly drag and drop virtual machines between your PC and your internal cloud running vSphere, ESXi or another instance of Workstation. In addition, easily connect to vCloud Air and upload, run, and view virtual machines right from the Workstation 12 Pro interface.

    Read More “VMware Workstation 12 Pro Released”

  • VMware Workstation 8.0.4 released

    VMware has just released it’s forth minor update for VMware Workstation 8, bringing it up to 8.0.4. The looks to contain mostly a few bug and security fixes.

    General Issues

    • Linux guests running the Linux kernel version 2.6.34 or later could not be pinged from the host via an IPv6 address.
    • On rare occasions, Linux guests would suddenly fail to Autofit or enter Unity.
    • Unity mode would exit if the title bar of an application contained certain non UTF-8 encoded extended ASCII characters.
    • On Windows hosts, the VMware Workstation user interface sometimes became unresponsive when minimized from full-screen mode if the suggestion balloon was being displayed.
    • On Windows hosts, the user interface sometimes became unresponsive if the application was rendered on an extended display that was abruptly disconnected.

    Read More “VMware Workstation 8.0.4 released”

  • Update vCenter Server Appliance 6.7 to 6.7 Update 1

    VMware has released vCenter Server 6.7 Update 1 and with comes with a number changes.

    One most notable change is the feature complete HTML5 vSphere client. The vSphere client in vCenter 6.7 Update 1 now includes the ability to manage:

    • Host profiles
    • Auto deploy
    • Full vSphere Update Manager (VUM)
    • A new dark theme
    • and vCenter High Availability.

    That’s no where near all of the changes though, there are many more changes and updates in the 6.7 Update 1 update. Be sure to read the full release notes here.

    In this post we’ll see just how easy it is to upgrade from VCSA 6.7 to VCSA 6.7 Update 1 in just a couple steps!

    Read More “Update vCenter Server Appliance 6.7 to 6.7 Update 1”

  • How to install VMware vSphere Update Manager 5.5

    If you don’t already know, VMware Update Manager (aka, VUM) is a tool which allows you to easily automate patching and upgrading VMware hosts as well as virtual machine hardware and VMware tools. It’s a wonderful tool and makes upgrading and patching so much easier and allows you to quickly see how compliant/up-to-date your environment is with the built in pie graph.

    Recently we had some pretty serious array issues which corrupted the VUM database taking Update Manager down. Since we was going to have to rebuild Update Manager I opted to move from Windows Server 2008 to Windows Server 2012, in the steps below I’ll document step by step how to install VMware Update Manager 5.5 on Server 2012 and a separate database.

    Read More “How to install VMware vSphere Update Manager 5.5”

Leave a Reply

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