Skip to main content
Version: 3.1

Set a Windows instance's administrator password

Select your instance​

/assets/compute/images/change-pass-01-300.jpg

Switch to the console tab and click OK to begin password setting​

/assets/compute/images/change-pass-02-300.jpg

Set the password​

/assets/compute/images/change-pass-03.jpg

The password is set​

/assets/compute/images/change-pass-04.jpg

Log in to Windows on the console​

Additional you can connect with Windows Remote Desktop(RDP), make sure you had added allow 3389 rules to the security groups /assets/compute/images/change-pass-05.jpg

Tips:

  • Account : Administrator is require you to set the password over console whenever you launch the instance

Set a password with a cloud-init script​

/assets/compute/cloud-init-config-win-1.jpg

Create a new user with a preferred password and disable the admin/administrator account​

#cloud-config
users:
-
name: Cloud-user
primary_group: administrators
groups: administrators
passwd: YOURPASSWORDHERE
inactive: False
runcmd:
- "net user administrator /active:no"
- "net user admin /active:no"
- "shutdown -r"

Log in with the new user​

/assets/compute/images/change-pass-06.jpg