How to Generate a Randomized Administrator Password
search cancel

How to Generate a Randomized Administrator Password

book

Article ID: 297676

calendar_today

Updated On:

Products

VMware Tanzu Application Service for VMs

Issue/Introduction

The BOSH Agent in 1200.7 now randomizes the password for the Administrator user, by default. If you need to set the password (i.e. for RDP), this article describes how to do so.

 


Environment


Resolution

The Windows Utilities Release contains a set_password job that sets the password for the default “Administrator” user on Windows VMs. There’s a known issue that prevents this from working on some public IaaS that is being addressed by the BOSH Windows team. In the meantime, an operator should use the web dashboard of the IaaS to create a user and set a password to get into a virtual machine (VM). For GCP, a user can use BOSH SSH to enter into a PowerShell session and re-enable the user called “Administrator.”

 PCF 1.10PCF 1.11PCF 1.12
vSphereDeploy Windows Utilities Release and configure set_password jobDeploy Windows Utilities Release and configure set_password jobSet password in Runtime for Windows Tile (OpsMan UI)
AWSDeploy Windows Utilities Release and configure set_password jobDeploy Windows Utilities Release and configure set_password jobSet password in Runtime for Windows Tile (OpsMan UI)
GCPCreate a user in the web UICreate a user in the web UICreate a user in the web UI
AzureCreate a user in the web UICreate a user in the web UICreate a user in the web UI