New Question
0

About how to reset/reinject password to admin user of Windows

asked 2018-04-13 08:43:34 +0200

anonymous user

Anonymous

Hi Support,

We succeed to inject password(e.g. randompass) into admin user of windows 2012 server after we had first time boot up the windows server 2012 from cloudbase windows image(https://cloudbase.it/windows-cloud-images/#download). However, when someone changed the admin user password(e.g. userpassword), the "nova get-password instance-id key-pair" command is still retrieving password the first time password(randompass) not return(userpassword). That mean we can't get the latest admin password.

Our question is how can we reset/re-inject the password of admin user again in Openstack environment?

Thanks a lots.

Best regards, George Choi

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2018-04-16 20:08:14 +0200

avladu gravatar image

Hello,

In this case, I suggest you to use a configuration management tool like Chef, Puppet or Ansible. The main responsibility of Cloudbase-init (or cloud-init) is to provision the instance at the first boot time, and not to configure it during its lifecycle. In OpenStack there is no option to reset the password of the machine, thus it cannot be implemented by cloudbase-init.

A workaround in your case would be to rescue the Windows instance and from rescue mode change the configuration appropriately (there are various methods to change the Windows password from a rescue OS).

Thank you,
Adrian Vladu

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2018-04-13 08:43:34 +0200

Seen: 2,662 times

Last updated: Apr 16 '18