Jump to content

Unattended ComputerName + Join Domain - Windows 7


Recommended Posts

Posted

WDS setting.png

 

I've also renamed computers by selecting the above in my WDS server properties. I create an Admin account with the username I want to call the PCs, for example Media, drop the account into the correct desktop OU, then build the PCs with that account. It will then automatically put the PCs into the right OU, and name the Cs sequentially (Media1, Media 2 etc) so I don't have to remember.

 

Largely because I had little joy with unattend.xml files, other than to copy the default profile over, so thought I'd show another option. I would recommend disabling the accounts once you've finished building the suite though!

  • 2 months later...
Posted (edited)

Hi,

Im wondering if anyone could help me with this?

 

I did have this working but now for some reason its not. The computer is joining the domain but not under the name that I give it. It seems to be joining under the username of the account that I start WDS with.. so for example, if i delpoy 3 machines then I get the computer names ADMINISTRATOR, ADMINISTRATOR1, ADMINISTRATOR2 etc etc . . . .

 

its also not creating the local user account that I have specified in the xml file.

 

Im running it from the following .cmd file

 

@echo off
mysysprep /oobe /generalize /unattend:c:\windows\system32\sysprep\unattend.xml

 

Here is my unattend.xml file:

 


   
       
           en-GB
           en-GB
           en-GB
           en-GB
           en-GB
       
       
           
               true
               Work
               1
           
           
               
                   
                       
                           dwBlAGwAYwBvAG0AZQBQAGEAcwBzAHcAbwByAGQA
                           false
                       
                       Local User
                       teacher
                       users
                       teacher
                   
               
           
           GMT Standard Time
           School
           School
           false
       
   
   
       
           KMS Key here
           %Please input a computer name%
           School
           School Name
           false
           GMT Standard Time
       
       
           
               
                   school.domain
                   administrator
                   mypassword
               
               school.domain
           
       
   
   

 

Any ideas as to where its going wrong?

I have created the image on a virtual machine and have created a snapshot right before syspreping so am not syspreping the same machine more than 3 times.

Edited by jamin100
Posted

I cannot see anything immediately wrong with your script. The only thing you need to correct is the UILanguage - there's no en-GB but only en-US for the UI as Microsoft are lazy!

 

I don't use WDS and it could well be that it doesn't work properly with MySysprep2 but only Microsoft's own MySysprep. This would make sense as to why your workstations are being named via WDS and not MySysprep2.

 

As for the local user problem, you can cheat and create the local user before taking the snapshot - then just rename the account accordingly for the teacher.

  • Thanks 1
Posted
Hi,

Im wondering if anyone could help me with this?

 

I did have this working but now for some reason its not. The computer is joining the domain but not under the name that I give it. It seems to be joining under the username of the account that I start WDS with.. so for example, if i delpoy 3 machines then I get the computer names ADMINISTRATOR, ADMINISTRATOR1, ADMINISTRATOR2 etc etc . . . .

 

its also not creating the local user account that I have specified in the xml file.

 

Im running it from the following .cmd file

 

@echo off
mysysprep /oobe /generalize /unattend:c:\windows\system32\sysprep\unattend.xml

 

Here is my unattend.xml file:

 


   
       
           en-GB
           en-GB
           en-GB
           en-GB
           en-GB
       
       
           
               true
               Work
               1
           
           
               
                   
                       
                           dwBlAGwAYwBvAG0AZQBQAGEAcwBzAHcAbwByAGQA
                           false
                       
                       Local User
                       teacher
                       users
                       teacher
                   
               
           
           GMT Standard Time
           School
           School
           false
       
   
   
       
           KMS Key here
           %Please input a computer name%
           School
           School Name
           false
           GMT Standard Time
       
       
           
               
                   school.domain
                   administrator
                   mypassword
               
               school.domain
           
       
   
   

 

Any ideas as to where its going wrong?

I have created the image on a virtual machine and have created a snapshot right before syspreping so am not syspreping the same machine more than 3 times.

 

Hiya,

Have the same issue did you manage to get it working again under WDS

Cheers

Posted

Unfortunately not, what im doing now is setting WDS to hold all clients in a pending que. From there I can rename them to whatever i want.

They get an ID number so its easy to identify computers in the console

  • Thanks 1
  • 2 years later...
Posted
I recreated my sysprep file and it now works ?!?

 

Any way to remove the My Sysprep logo that is plastered all over the screen ?

 

Please could you post your file? I'm having trouble with this.

 

Thanks, Steve

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...