1. Create a unattended file unattend.txt with the following content
[NetOptionalcomponents]
DNS=1
2. Now run the command below to install dns server automatically.
sysocmgr.exe /i:sysoc.inf /u:"unattend.txt" /f
3. To install it silently i.e without UI, run
sysocmgr /i:sysoc.inf /u:"unattend.txt" /f /q
4. Also to install it on multi-language environment, run
sysocmgr /i:sysoc.inf /u:"unattend.txt" /f /q /i
No comments:
Post a Comment