Please enable Javascript for better experience...
 
How To - Reset Forgotten ESXi root Password
By Pranay Jha | May 4, 2017 | In Tutorials | Update: May 4, 2017 | Total Views [ 6526 ]
Taged In
(3 Like)
Rate

Well, I was working on ESXi command line to troubleshoot one issue. Unfortunetely noticed that I could not recognized root Password for one of ESXi Host.

What's Next? Thinking to Reset ESXi Password! You are on right track.

Reset Forgotten ESXi root Password using Host Profile:-

Host must be part of Virtual Center to Perform this.

Step by Step:-

  • Login to Virtual Center. Put affected Host in Maintainance Mode where you fogot password.

  • Create a Host Profile using any Existing Host. To Create Host Profile, Go to Home and Click on Host Profile.

  • Click on Extract Profile from a Host.

  • Select any ESXi Host which you want to use to create Host Profile. In our case, we have only one host in this lab, so I used same Host to create Host Profile.
  • Select Host and Click Next.

  • Enter the name and description for Host Profile. Click Next.

  • Review the Settings and Click Finish.

  • Go back to Host Profiles Option. Now you can see newly created Profile here.

  • Right Click on Host Profile and Select Edit Settings.

  • Edit Setting will open Configuration Wizard. Deselect all the settings.
  • Highlight Security and Services.

  • Type "administrator" in search bar to filter settings.
  • From Drop Down option, Select "root"
  • Expand root configuraiton.

  • Select Fixed Password Configuration and define Password as per your choice which you want reset in your ESXi Host.
  • Click Finish

  • Host Profile has been configured. Review the Settings.
  • Now Next Plan of action is to attach this Host Profile in affected Host and Remediate Host to make the changes applied.

  • Go to affected Host, Right Click and Select Host Profile > Attach Host Profile.

  • Select Host Profile from list. Choose the one you created recently for Password.

  • Click Finish.

  • Check the Host Profile Compliance Status. It will be currently in Unknown state.
  • Click on Host > Actions > Host Profiles > Check Host Profiles Compaliance

  • Check Host Profile Compliance Status. Host is not in Compliance with the attached Profile.

  • Remediate the Host. Click on Host > Actions > Host Profiles > Remediate.

  • Wizard will open. Click on Pre-Check Remediation.

  • Host is now Ready to remediate. Click Finish to complete the remediation.
  • Once Remediation is completed, you can refer back to Host Profile Compliance Status. It will be Green and Compliant.
  • Now root Password has been changed as you defined in Host Profile Configuration.
  • You can detach the Host Profile.

  • Login to Putty to Check the if Password has reset.

Enjoy Learning -:)


Thanks for visiting here. Share this article if you found it useful.
Like Facebook Page https://www.facebook.com/VMwareInsight/
Connect to twitter https://twitter.com/imPranayK
Subscribe my Channel https://www.youtube.com/vmwareinsight
Connect over Linkedin https://in.linkedin.com/in/impranayk
Share this on Social Media

About the Author

Pranay Jha
Pranay Jha
Founder, Contributer VMwareInsight.com

Public profile: user/profile/99900000


Follow me

facebook linkedin twitter G+ VMTN youtube

Thank you for visiting my profile. I am Pranay Jha, bring along a total of 11+ years of extensive experience with me in Information Technology sector for organizations from small business to large enterprises, wherein my current assignment I am associated with IBM as a Technical Solution Architect for Virtualization platform. I am vExpert x 3 (16/17/18), VCIX-DCV, VCAP5/6-DCD, VCAP5-DCA, VCP7-CMA, VCP5/6-DCV, VCA-DCV, VCA-Cloud, VSP, VCE-CIA, MCITP, MCSE, MCSA(Messaging). I am also an Independent blogger and founder of http://vmwareinsight.com and https://cloudpathshala.com. I can be reached via email at pranay1988jha@gmail.com or Direct Message via Contact Us form.

 
Please SignUp/Login to comment...

Or comment as anonymous...
* Name
* Email ID
Comment
 
Sponsors
 
 
 
 
 
Facebook Likes