Changing Windows Server’s Default Administrator Username

To strengthen your serverโ€™s security, we recommend you change your default username (Administrator) on your VPS or dedicated server. This guide is here to walk you through the process of changing your username on your server!
Important: Itโ€™s absolutely critical to remember your new administrator username. We can reset the password for your Windows VPS/dedicated server, but recovering a forgotten username requires either a complete and total operating system reinstallation or a restoration from an earlier backup.
1
From the get-go, youโ€™ll be launching PowerShell with administrative privileges. In the Windows Search bar, go ahead and type โ€œPowerShell.โ€ Then, right-click the application and click Run as administrator. This gives you additional privileges in the program!

2
Now that youโ€™ve got PowerShell open, copy and paste this command into the program while swapping out CurrentUsername for your current username (likely Administrator) and NewUsername for the name you want to change it to:
Rename-LocalUser -Name "CurrentUsername" -NewName "NewUsername"
  • Hereโ€™s an example: letโ€™s say your current username is Administrator and you want it to be HelpdeskChartVPS, then youโ€™d want to run this command:
Rename-LocalUser -Name "Administrator" -NewName "HelpdeskChartVPS"

3
Once that executes successfully, PowerShell will return to the command prompt without displaying an error message. At this time, restart your VPS or dedicated server so the changes take effect. Then, use your shiny new username to reconnect!
Confused by any of these steps or just need help with your server in general? Our friendly support team is available 24/7!
Was this article helpful?
0
0

Job Post Form Pop up

[mepr-membership-registration-form id="13707"]
[mepr-membership-registration-form id="13708"]
[mepr-membership-registration-form id="13633"]
[mepr-membership-registration-form id="13635"]
[mepr-membership-registration-form id="13634"]
We value your privacy
We use cookies to enhance your browsing experience, serve personalized ads or content, and analyze our traffic. By clicking "Accept All", you consent to our use of cookies.
Reject All
Accept All
Customize
We value your privacy
We use cookies to enhance your browsing experience, serve personalized ads or content, and analyze our traffic. By clicking "Accept All", you consent to our use of cookies.
Reject All
Accept All
Customize