Jump to content

Recommended Posts

Posted

Hi,

 

I've been trying for the past few weeks to get my unattend.xml file to first ask for a computer name, then log on with admin to auto activate windows and join my domain before then restarting.

 

I thought I had got this working as I wanted but it appears not. The computer I was imaging, I ran sysprep and shut down the computer. Restarted and sent it up to WDS with no problems. Upon restarting the computer booted up and went through the motions as I wanted; ask for computer name, log on with admin, activate and join domain then restart. Everyone was perfect.

When I send this image down to another laptop it does not work! It automatically names the computer 'administrator' and disables the local admin account (it's told to enable in unattend) and doesn't activate but does join domain.

 

If anyone knows why or can offer any help it would be much appreciated, thanks.

 

Here is my unattend file:

 



   
       
           
               en-GB
           
           en-GB
           en-GB
           en-GB
       
   
   
       
           
               
                   activates local admin
                   1
                   net user administrator /active:yes
               
           
       
       
           true
           XXXXXXXXXXXXXXXX
           Turnford
           Turnford
           false
       
   
   
       
           en-GB
           en-GB
           en-GB
           en-GB
       
       
           
               
                   cscript.exe c:\windows\system32\sysprep\join.vbs
                   join domain
                   3
                   false
               
               
                   1
                   cscript.exe c:\windows\system32\slmgr.vbs /ato
                   activate windows
                   false
               
	
                   2
                   c:\wireless.cmd
                   set wireless settings
                   false
               
           
           
               true
               false
               Work
           
           
               
                   TgA0AHIAbgAxAEEAQQBkAG0AaQBuAGkAcwB0AHIAYQB0AG8AcgBQAGEAcwBzAHcAbwByAGQA
                   false
               
               
                   
                       
                           TgA0AHIAbgAxAEEAUABhAHMAcwB3AG8AcgBkAA==
                           false
                       
                       Local administrator
                       administrator
                       administrators
                       administrator
                   
               
           
           Turnford
           Turnford
           false
           GMT Standard Time
       
   
   

Posted

you need tro attach your sysprep.xml file to the image in wds

 

if you slect the image and right click properties tick the "allow image to install in unattended mode" box and select your sysprep file

  • Thanks 2

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...