Step 1 – Stop your tomcat service
Stop Script – C:\tools\apache-tomcat-9.0.79\bin\shutdown.bat
Step 2 – Go to “conf’ directory of tomcat home path.
e.g – C:\tools\apache-tomcat-9.0.79\conf
Step 3 – Open up a file “tomcat-users.xml” and add following lines in the file as per the image below; Make sure your remember username and password

Step 4 – Start a Tomcat
Start script – C:\tools\apache-tomcat-9.0.79\bin\startup.bat
Step 5 – Validate a user by accessing Manager app or Host Manager.


Example of
I’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I am working at Cotocus. I blog tech insights at DevOps School, travel stories at Holiday Landmark, stock market tips at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at I reviewed , and SEO strategies at Wizbrand.
Please find my social handles as below;
Rajesh Kumar Personal Website
Rajesh Kumar at YOUTUBE
Rajesh Kumar at INSTAGRAM
Rajesh Kumar at X
Rajesh Kumar at FACEBOOK
Rajesh Kumar at LINKEDIN
Rajesh Kumar at PINTEREST
Rajesh Kumar at QUORA
Rajesh Kumar at WIZBRAND