How to add the search domain to a windows 8.1 autounattend.xml -


i have autunattend.xml file windows 8.1 installation packer. works ok, not add search domain (i hope right term).

so have vm @ end , when try connect machine in network - lets call foo - not working:

nslookp foo 

which means, cannot find machine. adding domain work though

nslookup foo.company.local 

how can add domain company.local autounattend.xml first call working ?

you can try add following command in autounattend.xml file

<synchronouscommand wcm:action="add">      <description>set dns search order</description>      <order>99</order>      <commandline>cmd.exe /c wmic nicconfig call setdnssuffixsearchorder (company.local,<add other if necessary separated ,)</commandline> </synchronouscommand> 

just make sure order (here 99) not conflict existing command script


Comments

Popular posts from this blog

1111. appearing after print sequence - php -

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

Ruby on Rails, ActiveRecord, Postgres, UTF-8 and ASCII-8BIT encodings -