For enhanced security, it is recommended to change the default administrator usernameon your VPS or dedicated server. This guide will walk you through the necessary steps to modify your username.
1
Launch PowerShell with administrative privileges. In the Windows Search bar, type PowerShell, right-click the application, and then click Run as administrator.
2
With PowerShell open, execute the following command to change the username:
Rename-LocalUser -Name "CurrentUsername" -NewName "NewUsername"
- Example: Let’s say your Current Username is Administrator and you wish the new one to be JohnDoe the code you would run is:
Rename-LocalUser -Name "Administrator" -NewName "JohnDoe"
3
Upon successful execution, PowerShell will return to the command prompt without displaying an error message. Restart your VPS/dedicated server for the changes to take effect. You will then use the new username to reconnect.
Important: It is criticalto rememberyour new administrator username.While we can reset the password for your Windows VPS/dedicated server, recovering a forgotten username requires either a complete operating system reinstallation or a restoration from an earlier backup.
Need help with these steps? Our support teamis available 24/7.