Thursday, February 12, 2009

Install dns server through command prompt

The following shows on installing dns server on command line using sysocmgr command. sysocmgr.exe is used to install windows optional components using unattended file.

1. Create a unattended file unattend.txt with the following content


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


Design by infinityskins.blogspot