Server 2012 R2 First run after sysprep did not prompt for new administrator password

1

I want to know how I can change the User Profile account while the image is restoring when creating a new VM (while setting up the VM).

I had created the image using sysprep and restored it to the new VM in Hyper-V, but it still needed the Administrator authentication to login. But I want to create different user accounts while setting up the VM and log through that account.

Lakshan

Posted 2015-08-28T00:33:22.760

Reputation: 55

Are you basically asking how to automatically create user accounts during the setup process that runs when first starting a Windows install created from a sysprep image? – I say Reinstate Monica – 2015-08-28T01:51:54.580

I want to know that too. But now I mainly struggling with creating a account manually(without administrator authentication) like when we installing Windows into a machine. – Lakshan – 2015-08-28T03:02:06.817

So you want to know how to create a user account without using an account that has Administrative rights? – I say Reinstate Monica – 2015-08-28T03:05:43.277

Yes, I run the sysprep and create the image with administrator Account. I thought administrator Account will be disable or delete from the image. But after I restoring that image it asking the administration password. – Lakshan – 2015-08-28T03:09:17.127

The password is supposed to be blank after running Sysprep (assuming you specified the /generalize parameter). Did you use those parameters? Did you try nothing for the password? – I say Reinstate Monica – 2015-08-28T03:13:48.057

Yes I used those parameters. That's why I'm wondering why it's not working. – Lakshan – 2015-08-28T03:16:39.293

Can you logon using the password that was specified before sysprep was run? – I say Reinstate Monica – 2015-08-28T03:20:18.883

Hang on a sec, you say after restoring the image it's asking for the administration password; are you sure it's not asking you to set the password for the Administrator account? Because that's what's supposed to happen; after running sysprep it's supposed to ask you what you want the new password to be. – I say Reinstate Monica – 2015-08-28T03:23:21.390

Yes I'm sure. Because I did several times but it didn't work. I used Windows server 2012 R2 to create the image. – Lakshan – 2015-08-28T03:28:00.427

Are you using an unattended setup file? – I say Reinstate Monica – 2015-08-28T03:30:42.297

What do you mean by that – Lakshan – 2015-08-28T03:42:02.993

Let us continue this discussion in chat.

– Lakshan – 2015-08-28T03:46:48.230

Answers

0

Hopefully you got your question resolved in chat, but if you did not, you should know that the Windows Server OOBE process does not prompt for you to create user names, only for an administrator password for the Administrator account. If you want to create new or additional usernames, you’ll need to specify them in your answer file using Microsoft-Windows-Shell-Setup UserAccounts.

WinOutreach2

Posted 2015-08-28T00:33:22.760

Reputation: 471