How to reset your server's password with Contabo (Linux & Windows)

You can reset your server password at any time via the Customer Panel. The reset sets a new password for the root user (Linux) or Administrator (Windows).


Please note that this article covers resetting your server password (root/Administrator), not your Customer Panel password. If you can’t log in to the Customer Panel itself, see I can’t log in to the Contabo Customer Panel.


Reset your password in the Customer Panel

  1. Log in to the Customer Panel with your account credentials.
  1. Click Compute in the left-hand menu and locate your VPS or VDS.
  1. Click the three dots under More next to your server and select Reset credentials.
  1. Click the drop-down on the Password textbox and choose either Add and store password or Enter a password without saving.
  1. Click Reset credentials, then Confirm.


Your server automatically reboots and the new password becomes active within 2–3 minutes. You'll receive a confirmation once the process completes. Resetting your password doesn’t delete any data. The reboot interrupts running services, so save your work or choose a quiet moment.


Don't know your current password?

Your initial server login details were emailed to you with the subject "Your login data!" - check your spam folder first. Note: this email contains your IP, username and VNC details, but not your password (Contabo doesn't store server passwords unless you choose ‘Add and store password’ in the Customer Panel). If you can't find it, see I didn't receive my server login details after signup - or simply reset your credentials as above.


Troubleshooting

I get "An error occurred while resetting credentials"

  • Make sure your server isn't currently reinstalling, migrating, or in Rescue Mode.
  • Wait a few minutes and try again.

My new password doesn't work (SSH, VNC, or RDP)

  • Wait a few minutes after the confirmation - the reset needs 2–3 minutes to apply.
  • Check you're logging in as root (Linux) or Administrator (Windows), not another user, and that you're not pasting whitespace.
  • For VNC: check your keyboard layout (on some layouts Y and Z are swapped). Type your password in the username field (without pressing Enter) to verify what's actually being typed.
  • Try connecting via VNC to rule out SSH/RDP client issues.
  • If the password is still rejected after a successful panel reset, use the Rescue System to reset it manually (Linux).


Windows servers (VPS/VDS): 

The Customer Panel reset works for Windows servers that were installed via cloud-init (the default for most orders). Windows servers installed from a custom image will not accept a panel reset - the reset may appear as successful, but the password inside Windows doesn't actually change.


How to tell: If you reset your password through the panel, waited for the reboot to complete, and still can't log in via RDP with the new password, your installation likely doesn't support panel resets.


What to do:

  1. Back up your data using the Rescue System.
  1. Reinstall Windows through the Customer Panel - this creates a fresh cloud-init installation that supports future panel resets.

Please note that reinstalling deletes all data on the server, so complete the backup first. To protect your data in the future, consider the Auto Backup add-on. See What is the Auto Backup add-on and how do I order it?


Dedicated servers

The Reset credentials feature described above is for VPS and VDS servers only. On dedicated servers, password resets are handled differently:

  1. Navigate to Compute -> Dedicated Server in the Customer Panel
  1. You’ll be taken to the Dedicated Servers interface
  1. Click on the key icon under Password reset in the row of your dedicated server
  1. Type in your new password in New password and retype it in New password (confirm). Click Generate to create one, or Show to check what you typed.
  1. Click Perform password reset
  1. A message will tell you the reset only starts with the next reboot of your server. Reboot the server from the server list: use Soft reset if available, otherwise Hard reset.
  1. After about two minutes, refresh the page. If the Most recent boot time has updated, the reboot has happened. If not, and the server is still unreachable, perform a hard reset.
  1. Wait for the reset to finish (usually up to 10 minutes), then log in as root (Linux) or Administrator (Windows) with your new password.


Alternative methods

Rescue System (Linux): advanced users can mount the system partition and reset the password manually - see How do I boot a rescue system and the full Linux & Windows guide.


Manual password reset via Rescue System (Linux only)

  1. Boot the Rescue System as described in How do I boot a rescue system. In the Password field, enter a temporary password of your choice. It is only used to log in to the rescue system.
  1. Connect via SSH as root using that temporary password.
  1. Run fdisk -l to identify your root partition (usually /dev/sda2 or /dev/vda2) and mount it: mount /dev/sda2 /mnt/
  1. Change into the mounted system: chroot /mnt
  1. Set the new password: passwd root
  1. Leave the chroot with exit, then reboot with reboot. Your server starts normally with the new root password.


Security tips

Use a new, strong password of 12-16 characters (upper/lowercase, numbers, special characters) - reusing the old password is possible but not recommended. Consider a password manager and monitor your access logs regularly.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article

Can't find what you're looking for?