Guide to Changing VPS Passwords on Linux (CentOS 7) and Windows Server (2012R2, 2016, 2019) Operating Systems
In system administration environments, user account security is always the top priority. One of the simple yet effective measures to enhance safety is periodically...
In system administration environments, user account security is always the top priority. One of the simple yet effective measures to enhance safety is periodically changing passwords—especially for accounts with high administrative privileges like root (on Linux) or Administrator (on Windows Server).
This article will guide you across today's popular platforms:
- Operating system>Linux CentOS 7
- Versions>Windows Server 2012 R2, 2016, and 2019
Whether you are a beginner or an experienced administrator, with this articleVPTSwill help you change your password correctly while avoiding common errors during the process.
For Linux using CentOS 7
To change the password, you must first be running CentOS 7 or later
Step 1: Open the Bitvise SSH Client application to log in
Step 2: Enter your information into each field as shown in the image below
- Host is the IP address
- Username is root
- Port is 22
Then Log in go to select Appcect and Save and enter the password into
Step 3: After entering the information ->Click login
Step 4: After logging in, the interface will display items on the left ->Click "New terminal console" and enter the following commands:
After the window "New terminal console"opens, enter the command below to change the password:
[root@mymiu ~]# passwd
New password: <Enter new password>
Retype new password: <Re-enter new password>then press Enter and you have successfully changed the password.
Note:When entering the password, it will be hidden and you will not see it, so please note it down carefully and remember it.
For Windows 2012 R2, 16, 19
VPTS will guide you through changing passwords using the following 4 methods:
Method 1: Use PowerShell window
Step 1: Remote Desktop into the server, then open Windows PowerShell
Step 2: Type the command below to change the password
Net User Administrator <Enter new password>then press Enter and you have successfully changed the password.
Example: Net User Administrator buituthien1209@ , Net User Administrator buivany_872003
Method 2: You must provide the old password to set a new password
Step 1: Remote Desktop into the server, then go to Start and open Control Panel
Step 2: Go to User Accounts select Remove user accounts select Administrator
Step 3: After clicking Administrator, select Change the password
Step 4: Enter old and new passwords in the fields below and click "Change password"
- Current password: <Enter old password>
- New password: <Enter new password>
- Confim new password: <Re-enter new password>
- Type a password hint: <Enter password hint>
Method 3: You can change the password without entering the old password.
Step 1: Remote Desktop into the server
Step 2: Press Windows + R to open the RUN window and enter the command below:
lusrmgr.msc
Step 3: Select User and right-click Administrator select Set password
Step 4: Once "Set Password for Administrator" appears, click "Proceed"
Step 5: Enter the new password into the 2 fields below, then click OK and the system will notify "The password has been set"
Method 4: Change password by accessing Server Manager
Step 1: Remote Desktop into the server
Step 2: Go to Server Manager and select "All Servers"
Step 3: Right-click on the name Win and select Computer Management
Step 3: Right-click on the name Win and select Computer Management
Step 4: Once "Set Password for Administrator" appears, click "Proceed"
Step 5: Enter the new password into the 2 fields below, then click OK and the system will notify "The password has been set"
Through the 4 password change methods we have guided, you can easily choose the method best suited to your situation and the operating system you are using—from direct GUI actions and PowerShell to changes via Server Manager or Computer Management.
Conclusion
Whether you are working withLinux CentOS 7 hay Windows Server 2012R2, 2016, 2019, proactively changing passwords periodically will helpenhance security and manage systems more efficiently.
Regularly update strong passwords and protect login credentials to prevent unnecessary risks. If you need in-depth technical support,VPTSalways ready to accompany you!
VPTS – Comprehensive Digital Infrastructure Solutions Provider
VPTS is a digital infrastructure solution provider in Vietnam, serving deployment, operation, and data storage needs for individuals, developers, and enterprises. The service ecosystem includesVietnam VPS, International VPS, VPS Anti DDoS, Hosting cPanel, dedicated server, Rack rental, Proxy IPv4/IPv6, S3 MinIOandCloud Storage.
Besides providing infrastructure resources, VPTS also focuses on assisting customers with deployment, configuration, and practical troubleshooting. Content on the VPTS Blog is drawn from common scenarios in operating VPS, servers, and online systems, helping readers understand root causes and apply clear solutions.
VPTS – Stable infrastructure, flexible solutions, and continuous partnership throughout operations.
VPTS Team Contact Information
Website: https://vpts.shop
Facebook: https://www.facebook.com/trang.vpsttt/
Zalo OA: https://zalo.me/vpstttgroup
Hotline: 0328 812 674