Windows 8 /10 can not create Administrator Account

asked 2016-03-28 12:00:15 +0300

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.


I have an problem and firstly i wanna tell something about my test environment that includes Cloudstack 4.8.

I try to prepare some template, such as Windows Server 2008/R2, 2012/R2, Windows 8.1/10. I am successfull to create Windows Server templates with any problems (2008/R2, 2012/R2) but I could not success with Windows 8.1 and Windows 10. As default Windwos 8.1 and 10 Administrator Account disabled. I fixed it like this lines to add my unattend.conf file.




<SynchronousCommand wcm:action="add">

   <CommandLine>net user administrator /active:yes</CommandLine>




  <SynchronousCommand wcm:action="add">

     <CommandLine>net user administrator password /active:yes</CommandLine>
















After adding these lines, Administrator Account was enabled. However, when I created new VM from the template Admnistrator Account was enabled and it has taken the password succesfully which was generated by cloudstack. But after first restart the VM , the password which was generated when I created VM, did not accept password. If I poweroff the VM and reset password, it works and after that password never expires.

Can anyone help about this situation? Do you have any experience about this situation?


edit retag flag offensive close merge delete