How to Change the Default Administrator Username in VPS
- Launch PowerShell with administrative privileges. In the Windows Search bar, type PowerShell, right-click the application, and then click Run as administrator.

- 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 arif the code you would run is:
Rename-LocalUser -Name "Administrator" -NewName "arif"

- 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.
Updated on: 06/10/2025
Thank you!