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
Post a Comment