sysprep and enter computer name from script


two questions,

 

1 after imaging workstation, want image search script , add correct name , auto login domain. image weekly , dont' want add computer name , rejoin domain on every cleint. also, don't understand, once workstation joins domain , reimage workstation, there way auto detect if computer name in domain , sync or have manually remove computer ad before re-imaging?

2. unattended installation(xml)

i have unattended installtion working have mulitple images , option select image want. how do that?

 

 

hi,

 

let me try answer:

 

1.

 

usually can use wds naming policy auto-name clients. if prefer using command, please refer following articles:

 

add custom command answer file

http://technet.microsoft.com/en-us/library/cc765978(ws.10).aspx

 

to auto domain join, please refer following article:

http://technet.microsoft.com/en-us/library/cc730845(ws.10).aspx

 

you not need remove computer name first. sync. however, if use wds naming policy, should remove computer name first.

 

2.

 

if clients auto select install image install, please specify following settings in unattend file:

 

<imageselection>

      <willshowui>onerror</willshowui>

      <installimage>

         <imagename>my_image_name</imagename>

         <imagegroup>my image group</imagegroup>

      </installimage>

      <installto>

         <diskid>0</diskid>

         <partitionid>1</partitionid>

      </installto>

   </imageselection>

 

if prefer manually select install image, please not specify above settings.

 

hope helps.

 

tim quan - msft

 



Windows Server  >  Setup Deployment



Comments

Popular posts from this blog

WIMMount (HSM) causing cluster storage to go redirected (2012r2 DC)

Failed to delete the test record dcdiag-test-record in zone test.com

Azure MFA with Azure AD and RDS