install dhcp on command line
The following illustrates on how to install dhcp server using sysocmgr.exe command. sysocmgr.exe is used to install windows optional components.
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
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
0 comments:
Post a Comment