Information Technology Reference
In-Depth Information
Using a Command-Line Interface
You can install WINS or any other Windows service from the command line using the System
Stand-Alone Optional Component Manager ( sysocmgr.exe ), which is built into Windows. Use
this utility with the following syntax in a command prompt:
> sysocmgr /i:%windir%\inf\sysoc.inf /u: <path to answer file>
In this code, <path to answer file> is the only variable, and it represents a text file that
you create. For example, create an answer file at c:\ocm.txt that contains the following two
lines:
[NetOptionalComponents]
Wins=1
and then run the following command:
> sysocmgr /i:%windir%\inf\sysoc.inf /u:c:\ocm.txt
How It Works
The installation of WINS is fairly trivial and requires a minimal amount of time to complete.
It is not necessary to restart the server after installing the service. Note that the WINS server
should have a static IP address in order for WINS clients or replication partners to communi-
cate with it without disruption of service.
See Also
￿
Microsoft KB 314978: “How to Use Adminpak.msi to Install a Specific Server Administration
Tool in Windows.” This provides a description of adminpak.msi and its components.
￿
Microsoft KB 222444: “How to Add or Remove Windows Components with Sysocmgr.exe.”
This provides the full syntax of the sysocmgr.exe utility, including other parameters that
can be used to customize its operation.
2-2. Displaying Server Statistics
Problem
You want to display a summary of basic WINS statistics.
Solution
You can display general information about WINS using the following command:
> netsh wins server show info
The following is an example of the output from the show info command:
Search WWH ::




Custom Search