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 reset root password in vCenter Server Appliance 6.5

By Vladan SEGET | Last Updated: February 17, 2017

Shares

The way to reset VMware vCenter Server Appliance (VCSA) password has changed every time that VMware changed the underlying Operating system (OS). Previous releases of VCSA has used CentOS or SLES, but since VCSA 6.5, the Operating system is PhotonOS. A VMware's Own OS. This is an occasion to put down a post which might be useful not only for me when I lose root password of my VCSA, but especially for you, the ESX Virtualization readers. That's why this post – How to reset root password in vCenter Server Appliance 6.5.

Grub Bootloader is part of the pre-booting environment of PhotonOS within VMware VCSA. GRUB is a short for GNU GRand Unified Bootloader allows a choice to boot one of multiple operating systems or select a specific kernel configuration available on the OS's partitions.

You have the option to enter the GRUB's boot menu to enter some commands which allow you to reset the VCSA root password. Note that we will have to reboot the appliance in order to access the GRUB bootloader's menu options.

The steps below will show you how to Reset root password in vCenter Server appliance (VCSA) 6.5, but some precautions shall always be taken. I assume that the environment has a backup software configured so I'd highly recommend to backup the VCSA appliance first, or at least take a snapshot.

Tips:

  • How to Backup and Restore VMware vCenter Server (VCSA) 6.5 with Veeam
  • How To Recover a vCenter VM if vCenter Is Down – With Nakivo

How to reset root password in vCenter Server Appliance 6.5 – The steps:

Step 1: Gracefully shut down the VCSA appliance > Take a snapshot (or backup) > Start the VCSA appliance and when the VM starts to boot (You'll see the PhtonOS splash screen), hit the letter  “e” on your keyboard to access the GRUB boot menu and append the following sentence to the first line which ends with …. “consoleblank=0”

rw init=/bin/bash

It should look like this.

How To Reset root password in VCSA 6.5 Mofify GRUB

Step 2: Press F10 to continue the boot. After few seconds, you'll be presented with a red “root” prompt. Just type:

passwd

and enter your new password. You'll be asked to confirm this new password by typing it a second time. Note that by default there is usually English US keyboard, so type the password accordingly or before typing the “passwd” command, just try to type the new password so you can actually see how it looks like with your keyboard.

How To Reset root password in VCSA 6.5 - enter new password

Too many times when working with different keyboard languages in different countries I had to re-think a strategy on password typing and it seems that this one is finally a universal one. Once done, write the password down somewhere only you can find it and associate it with the current environment. (Not if it's just a lab environment, of course).

Step 3: Now we'll have to unmount the filesystem. Don't worry, it's just a simple command to enter.

Unmount the filesystem by running this command:

umount /

Step 4: You have successfully done all the necessary steps, reconfigured your new password, so we can reboot the VCSA appliance. You can do it via Web client, Host client or Old windows client (in case you're connected to an individual host). You can also enter a simple command while you are within the VCSA console:

reboot -f

That's all folks. Congratulations on resetting VMware VCSA 6.5 root password.

I have also recorded a very quick video detailing the steps. Please watch in Full Screen (HD). It's a 1080p video.

Check This Source KB from VMware – KB article 2147144

Check more articles from ESX Virtualization:

  • vSphere 6.5
  • How to Configure VMware High Availability (HA) Cluster
  • Free Tools
  • How to Migrate Windows Based vCenter to VCSA 6.5 [Lab] – Windows to Linux
  • VMware VCSA 6.5 Active-Passive Setup with Simple Configuration – [LAB] 
  • VMware vCSA 6.5 HA Failover Test – Video

Stay tuned through RSS, and social media channels (Twitter, FB, YouTube)

Shares
4.7/5 - (4 votes)

| Filed Under: How To, Server Virtualization, Videos Tagged With: How to reset root password in vCenter Server Appliance 6.5

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. Mayur says

    February 24, 2017 at 8:31 am

    Hi,
    After resetting the password successfully VCSA doesn’t accept the password.
    getting the prompt that wrong password or unable to login.

    • Karamelos says

      August 14, 2018 at 7:00 pm

      It seems that’s something different here in 6.5.0.14100 , my reset didn’t work too. I have also try to use the pam utility but nothing. Also checked for expiry but still after restart root password does not accepted. Any idea?

  2. Sergey says

    June 11, 2017 at 5:28 pm

    Thanks, official article missing first step to press E key to access GRUB menu and I was stuck there as it was introduced with latest vCenter update as in the past I didn’t see it and able to change the password using official KB aricle.
    So thx again for the nice hint.

  3. ralf says

    November 15, 2017 at 5:43 pm

    Hi,
    thank you, works fine.
    Cheers
    Ralf

  4. Giovanni Zapata says

    November 17, 2017 at 9:18 pm

    Hi.

    Thank you apply the process and it worked

    Regards.

    Giovanni Zapata

  5. Yaron Liberman says

    December 27, 2017 at 4:00 pm

    Hi
    Great and precise article, works like a charm.
    Thank you !

  6. VMMK says

    January 10, 2020 at 2:58 am

    I loose connection when I reboot VCSA.
    How do I enter boot screen ?

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