Jump to content

Recommended Posts

Posted

I have now managed to get the unattended xml file to work, but the prestaged computer name is not being used. How do I tell the answer file to use the prestaged computer name?

 

Thanks in advance.

ECT

Posted

I am guessing that this is not working because it is looking for the machine name after it has joined the domain... This appears to be the only place that Windows System Image manager will put this step though.

 

Any ideas?

 

Regards, Ed.

 

 



   
       
           
               true
               true
               Work
               1
               true
               true
           
       
   
   
       
           
               
                   Enable Local Administrator
                   1
                   cmd /c net user Administrator /active:yes
               
               
                   Set administrator password
                   2
                   cmd /c net user Administrator SECUREPASSWORD
               
           
       
       
           en-GB
           en-GB
           en-GB
           en-GB
           en-GB
       
       
           
               
                   domain.local
                   mysecurepassword
                   myusername
               
               domain.local
           
       
   
   
       
           
               %MACHINENAME%
           
       
   
   

  • 2 months later...
Posted

I don't know if you've got this solved now (Quite an old thread!) but I ran across a similar issue today and saw this thread. It pointed me in the right direction so thanks!

 

The problem is that you've put the the setting in the wrong pass. It needs to go in the Specialize pass under the "Microsoft-Windows-Shell-Setup" section. I've posted an XML file which works for me:

 


   
       
           
               
                   
                       
                           1
                           Primary
                       
                   
                   
                       
                           true
                           false
                           NTFS
                           Boot Drive
                           C
                           1
                           1
                           Primary
                       
                   
                   0
                   true
               
           
           
               
                   
                       install-(2).wim
                       Windows 7
                       Windows 7 PROFESSIONAL 64 Bit
                   
                   
                       0
                       1
                   
               
           
           
               true
               The Principal
               Luton Sixth Form College
           
       
   
   
       
           0409:00000809
           en-us
           en-us
           en-gb
       
       
           
               true
               true
               Work
               2
           
           
               
                   
                       
                           (REDACTED)
                           false
                       
                       Local Account
                       User
                       User
                   
               
           
           false
           UTC
       
   
   
       
           
               internal.lutonsfc.ac.uk
               OU=W7,OU=Computers,OU=SCCM,DC=internal,DC=lutonsfc,DC=ac,DC=uk
               True
           
       
       
           1
       
       
           %MACHINENAME%
           UTC
           false
           false
           false
       
   
   

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