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