Silently install TechNet
To silently install TechNet products, use the
/q command-line option or the
/qn command-line option. At a command prompt, run either of the following commands to silently install TechNet products:
- setup.exe /q
- setup.exe /qn
Because you are not running Setup through a user interface, Microsoft recommends that you use a log file to log information about the installation. You can use the
/L command-line option to log information to a log file. For example, run the following command at a command prompt to log information to the file Test.txt that is located in the root directory of drive C:
setup.exe /q /L*v "C:\TechNet.log"
Note /L*v indicates that all typical information, including verbose output, is logged to the log file. However, the logged information does not include extra debugging information. You can only log the extra debugging information on a computer running Windows Server 2003.
To log the extra debugging information on a computer running Windows Server 2003, run the following command at a command prompt:
setup.exe /q /L*vx "C:\TechNet.log"
Change the location where TechNet will be installed
To change the location where TechNet will be installed, use the
INSTALLPATH property, followed by the full directory path of the location where you want to install the TechNet product. For example, run the following command at a command prompt to install TechNet to C:\TestInstall:
setup.exe INSTALLPATH="C:\TestInstall"
Change the Installation Type from Typical to Full or Custom
To change the
Installation Type from
Typical to
Full or
Custom, use the
ADDLOCAL property. For example:
- To perform a Full Install of TechNet, run the following command at a command prompt:
setup.exe ADDLOCAL=ALL
- To perform a Custom Install of TechNet, run the following command at a command prompt:
setup.exe ADDLOCAL=Feature
Note Feature is the type of feature that you want to install. The available features are organized hierarchically. You can install a subfeature only after you install the corresponding parent feature. The available parent features include
Products and Technologies,
TechNet Library, and
Troubleshooting and Support.
Summary of common command-line options that are used together
Note When you use the
/q command-line option to perform a silent install, Microsoft recommends that you use the
/L*v command-line option that is described earlier in this article.
Installation Details | Command to Run at the Command Prompt |
Non-silent installation to the default folder by using the Typical install type | setup |
Silent installation to the default folder by using the Typical install type | setup /q |
Non-silent installation to a custom path by using the Typical install type | setup INSTALLPATH="C:\TestInstall" |
Silent installation to a custom path by using the Typical install type | setup /q INSTALLPATH="C:\TestInstall" |
Non-silent installation to the default folder by using the Full install type | setup ADDLOCAL=ALL |
Silent installation to the default folder by using the Full install type | setup /q ADDLOCAL=ALL |
Non-silent installation to a custom path by using the Full install type | setup INSTALLPATH="C:\TestInstall" ADDLOCAL=ALL |
Silent installation to a custom path by using the Full install type | setup /q INSTALLPATH="C:\TestInstall" ADDLOCAL=ALL |
Non-silent installation to the default folder by using the Custom install type | setup ADDLOCAL=Feature |
Silent installation to the default folder by using the Custom install type | setup /q ADDLOCAL=Feature |
Non-silent installation to a custom path by using the Custom install type | setup INSTALLPATH="C:\TestInstall" ADDLOCAL=Feature |
Silent installation to a custom path by using the Custom install type | setup /q INSTALLPATH="C:\TestInstall" ADDLOCAL=Feature |
Note Feature is the type of feature that you want to install (as described earlier in this article).