ESX Virtualization

VMware ESXi, vSphere, VMware Backup, Hyper-V... how-to, videos....

Nakivo Backup and Replication - #1 Backup solution for Virtual, physical, cloud, NAS and SaaS

Menu
  • Certification
      • VCP-DCV vSphere 8
          • vcp2024-125.
        • Close
    • Close
  • VMware
    • Configuration Maximums
    • vSphere
      • vSphere 8.0
      • vSphere 7.0
      • vSphere 6.7
      • vSphere 6.5
      • vSphere 6.0
      • Close
    • VMworld
      • VMware EXPLORE 2024
      • VMware EXPLORE 2023
      • VMware EXPLORE 2022
      • VMworld 2019
      • VMworld 2018
      • VMworld 2017
      • VMworld 2016
      • VMworld 2015
      • VMworld 2014
      • VMworld 2013
      • VMworld 2012
      • VMworld 2011
      • Close
    • Close
  • Microsoft
    • Windows Server 2012
    • Windows Server 2016
    • Windows Server 2019
    • Close
  • Categories
    • Tips – VMware, Microsoft and General IT tips and definitions, What is this?, How this works?
    • Server Virtualization – VMware ESXi, ESXi Free Hypervizor, VMware vSphere Server Virtualization, VMware Cloud and Datacenter Virtualization
    • Backup – Virtualization Backup Solutions, VMware vSphere Backup and ESXi backup solutions.
    • Desktop Virtualization – Desktop Virtualization, VMware Workstation, VMware Fusion, VMware Horizon View, tips and tutorials
    • How To – ESXi Tutorials, IT and virtualization tutorials, VMware ESXi 4.x, ESXi 5.x and VMware vSphere. VMware Workstation and other IT tutorials.
    • Free – Free virtualization utilities, ESXi Free, Monitoring and free backup utilities for ESXi and Hyper-V. Free IT tools.
    • Videos – VMware Virtualization Videos, VMware ESXi Videos, ESXi 4.x, ESXi 5.x tips and videos.
    • Home Lab
    • Reviews – Virtualization Software and reviews, Disaster and backup recovery software reviews. Virtual infrastructure monitoring software review.
    • Close
  • Partners
    • NAKIVO
    • StarWind
    • Zerto
    • Xorux
    • Close
  • This Web
    • News
    • ESXi Lab
    • About
    • Advertise
    • Archives
    • Disclaimer
    • PDFs and Books
    • Close
  • Free
  • Privacy policy

How-to unlock the VMware VCSA root password?

By Vladan SEGET | Last Updated: May 23, 2020

Shares

Update: Check the latest post where I teach you How to reset root password in vCenter Server Appliance 6.5, and, there is also a video in this post. VCSA has a default 90 days root password policy. You can change this behavior or you can manage the password policy through AD if VCSA is integrated with Microsoft AD.

If you don't change the password policy when deploying VCSA then the root account get locked after 90 days. Does how-to unlock the VMware VCSA root password? We will see in this article. The Default vCenter SSO configuration password policy is set to expire passwords in 90 days with last 5 passwords which cannot be reused.

How to unlock the root password of the VCSA?

The default root password of the VCSA is vmware. If the account is locked out so you can't login back you have the option to go to the single mode and use this password for  GRUB (you'll be asked for it). If the password was changed during installation, then the GRUB password is the same password as been given to the root account during installation.

Steps to proceed:

1. Reboot VCSA appliance and press the spacebar, then type p to enter the boot options.

How-to reset VMware VCSA root password

2. Highlight the VMware vCenter Server Appliance menu and type e to edit the options.

How-to reset VMware VCSA root password

3. Then on the next screen, you just came back to the recap screen where you need to hit b (to boot).

How-to reset VMware VCSA root password

4. The VCSA appliance will boot and you'll be presented with a possibility to enter a new root password. Type passwd root at the prompt. Enter the new root password. As you can see on my screenshot you'll have to use some complex password otherwise you'll get notified that the password is too simple…

How-to unlock VMware VCSA root password

The password expiry policy can be adjusted as I detailed in my article here, where you can also see the integration into Microsoft AD, during the installation and setup of VCSA.

  • vCenter Server 5.5 (VCSA) – Install/config – part 1
  • VCSA 5.5 Installation and configuration – Part 2

If however the root password has been changed during installation and 90 days later expired, then I do not really have a solution. Comment if you want to share yours….

Source: VMware KB2069041

More from ESX Virtualization:

  • What Is Erasure Coding?
  • How to patch VMware vCenter Server Appliance (VCSA) from Offline Depot ZIP file
  • Free Tools
Shares
5/5 - (1 vote)

| Filed Under: How To Tagged With: unlock the VMware VCSA root password

About Vladan SEGET

This website is maintained by Vladan SEGET. Vladan is as an Independent consultant, professional blogger, vExpert x16, Veeam Vanguard x9, VCAP-DCA/DCD, ESX Virtualization site has started as a simple bookmarking site, but quickly found a large following of readers and subscribers.

Connect on: Facebook. Feel free to network via Twitter @vladan.

Comments

  1. Totie Bash says

    March 20, 2014 at 6:45 pm

    Vladan, I don’t get your last question, “If however the root password has been changed during installation and 90 days later expired, than I do not really have a solution.” You clearly showed how you reset the root password, by typing “passwd root” it will ask you to supply a new root password. This is just standard changing password Linux command. Your title should say password recovery on Vcenter appliance. This is like password recovery on linux using grub single user mode where the procedure just takes you to a shell without asking for the root password.

    Your’s is better, this happened to me and I used William Lam’s write up:
    http://www.virtuallyghetto.com/2013/09/how-to-recover-vcsa-55-from-expired.html
    http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2069041

    • Vladan SEGET says

      March 21, 2014 at 4:44 am

      Toti,

      The question I was thinking about was what If you don’t have the GRUB password, so you can’t get further…

      Check the KB for this: “If the vCSA root password was reset using the VAMI, then the GRUB password is the password last set in the VAMI for the root account.”

  2. Szegho Zsolt says

    July 10, 2014 at 1:59 pm

    Hello Vladan
    Can you help me please with folowing issue :
    We have a vCenter Server Appliance who manage our environment. More than three month ago we upgraded from 5.1 to 5.5 version.

    Few days ago we noticed that we cannot log on with root credential. We folowed the steps described in VMWARE KB Unlocking a
    locked out root account and we are connected to vCSA and on admin tab we checked the password never expires and submitted.

    Now the inventory service is not started, We think the problem was occured because the Certificate regeneration enabled was in the YES status and the new
    certificate is not recognised by the inventory service ?

    In the Managed Object Browser we have 3 Service endpoint value
    on mob/?moid=ServiceDirectory i found 2 service with same key and sslthumbprint and the last with different key and sslthumbprint can we reregister the good service or unregister what isn’t good
    Please help us with this isuue what can we do it.

    Thank you for your support
    zsolt

    • Vladan SEGET says

      July 10, 2014 at 2:42 pm

      Now I’m not working for VMware. If you’re not under SnS and it’s a production environment, there are other ways to get help than asking on someone’s blog… -:).

      VMware support for guiding you is the preferred way to get help. I don’t want to be responsible for messing up your production environment. I hope you understand.

  3. Shawn says

    January 9, 2015 at 12:50 am

    Thanks for this. Saved me today.

  4. mr.congdd says

    September 16, 2015 at 8:09 pm

    I do not remember the password set last time, then how

  5. suriya says

    April 2, 2016 at 3:46 pm

    Thank you for sharing this article.

    GRUB password can be cleared by following this article.

    http://www.unixarena.com/2016/04/reset-grub-root-password-vcsa-6-0.html

Private Sponsors

Featured

  • Thinking about HCI? G2, an independent tech solutions peer review platform, has published its Winter 2023 Reports on Hyperconverged Infrastructure (HCI) Solutions.
  • Zerto: One Platform for Disaster Recovery, Backup & Cloud Mobility: Try FREE Hands-On Labs Today!
Click to Become a Sponsor

Most Recent

  • Veeam Backup & Replication v13 Beta: A Game-Changer with Linux
  • What is Veeam Data Cloud Vault and how it can help SMBs
  • Nakivo Backup and Replication – Malware Scan Feature
  • Zerto 10 U7 released with VMware NSX 4.2 Support
  • XorMon NG 1.9.0 Infrastructure Monitoring – now also with Veeam Backup Support
  • Heartbeat vs Node Majority StarWind VSAN Failover Strategy
  • Vulnerability in your VMs – VMware Tools Update
  • FREE version of StarWind VSAN vs Trial of Full version
  • Commvault’s Innovations at RSA Conference 2025 San Francisco
  • VMware ESXi FREE is FREE again!

Get new posts by email:

 

 

 

 

Support us on Ko-Fi

 

 

Buy Me a Coffee at ko-fi.com

Sponsors

Free Trials

  • DC Scope for VMware vSphere – optimization, capacity planning, and cost management. Download FREE Trial Here.
  • Augmented Inline Deduplication, Altaro VM Backup v9 For #VMware and #Hyper-V – Grab your copy now download TRIAL.

VMware Engineer Jobs

VMware Engineer Jobs

YouTube

…

Find us on Facebook

ESX Virtualization

…

Copyright © 2025 ·Dynamik-Gen · Genesis Framework · Log in