New Question

S. Tolga Demir's profile - activity

2017-06-14 10:50:25 +0200 received badge  Famous Question (source)
2016-04-05 17:56:54 +0200 received badge  Notable Question (source)
2016-04-01 11:22:19 +0200 received badge  Editor (source)
2016-04-01 11:17:08 +0200 received badge  Popular Question (source)
2016-03-28 12:00:15 +0200 asked a question Windows 8 /10 can not create Administrator Account

Hi,

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.

#

........

<firstlogoncommands>

<SynchronousCommand wcm:action="add">

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

   <Description>Description_of_administrator</Description>

   <Order>1</Order>

  </SynchronousCommand>

  <SynchronousCommand wcm:action="add">

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

   <Description>Description_of_administrator_password</Description>

   <Order>2</Order>

 </SynchronousCommand>

</FirstLogonCommands>

  <AutoLogon>

     <Password>

        <Value>SecurePasswd123</Value> 

        <PlainText>true</PlainText> 

     </Password>

     <Username>Administrator</Username> 

     <Enabled>true</Enabled> 

     <LogonCount>5</LogonCount> 

  </AutoLogon>

..........

#

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?

Thanks.