cloudbase / cloudbase-init

Cross-platform instance initialization
http://openstack.org
Apache License 2.0
414 stars 150 forks source link

Problem with Cloudbase Init for Windows Server - Openstack #75

Open LowKey88 opened 2 years ago

LowKey88 commented 2 years ago

Hi,

I did test to inject Administrator password, but it's not working. It's only work for new user only.

Here the script I did :-

rem cmd net user Administrator passhere /add net localgroup administrators Administrator /add Result : Not working, password entered is wrong on RDP on with user : Administrator

rem cmd net user Admin passhere /add net localgroup administrators Admin /add Result : Working, password entered is working and able to RDP with user: Admin

May I know, how to inject Administrator password during create the Windows Server instance on Openstack?

Thank you