Article ID: 268781 - Last Review: October 30, 2006 - Revision: 4.2 Description of the Netset.exe tool from the Windows 2000 Resource KitThis article was previously published under Q268781 Important This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base: 256986
(http://support.microsoft.com/kb/256986/
)
Description of the Microsoft Windows Registry On This PageSUMMARY
This article describes how to use the Netset.exe tool that is included in the Microsoft Windows 2000 Resource Kit.
MORE INFORMATIONOverview and use of Netset.exeNetset.exe is a stand-alone tool that you can use to add, to remove, or to change the network configuration of a client computer that has Windows 2000 already installed on it. For example, you can use this tool to remove a protocol, such as Internetwork Package Exchange (IPX) or NetBeui, from a client computer that is no longer used on your network. You can also use this tool to change the Internet Protocol (IP) information on a group of servers or workstations without using the user interface.The Netset.exe tool uses an answer file to perform the configuration of the network components. The procedure follows the same format as an unattended Setup answer file by using the Network section to configure the client. The following is an example of a Netset.exe answer file that you can use to change the IP address of a client computer. [Networking] [NetAdapters] Adapter01=Params.Adapter01 [Params.Adapter01] InfID=* [NetProtocols] MS_TCPIP=Params.MS_TCPIP [Params.MS_TCPIP] AdapterSections=params.TCPIP.Adapter01 DNS=yes DNSSuffixSearchOrder= mycorp.com, <name>.com EnableLMHosts=No [params.TCPIP.Adapter01] SpecificTo=adapter01 DNSDomain=mycorp.com DNSServerSearchOrder=10.10.1.5 DHCP=no IPAddress=10.10.1.100 SubnetMask=255.0.0.0 DefaultGateway=10.10.1.1 [NetServices] MS_Server=params.MS_Server [Params.MS_Server] optimization=balance [NetClients] MS_MSClient=Params.MS_MSClient [Params.MS_MSClient] Netset.exe path_of_answer_file
To remove a component, build an answer file that lists every component except for the one that you want to remove. This same rule applies when you add a component. When you build the answer file, you must also include the network components that are already installed in addition to the component that you want to add.
Limitations and restrictionsWarning If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.The following restrictions apply when you use Netset.exe:
If you want to change the IP address of a Windows 2000 client or a Windows 2000 server, you must create a Netset.exe answer file that is similar to the following example: [Networking] [NetAdapters] Adapter01=Params.Adapter01 [Params.Adapter01] InfID=* [NetProtocols] MS_TCPIP=Params.MS_TCPIP [Params.MS_TCPIP] AdapterSections=params.TCPIP.Adapter01 [params.TCPIP.Adapter01] SpecificTo=adapter01 DHCP=no IPAddress=10.10.0.100 SubnetMask=255.0.0.0 DefaultGateway=10.10.0.2 Answer file keys and sections that are used by the Netset.exe toolThe Netset.exe tool uses an answer file format and parameters that are a subset of the Windows 2000 Setup parameters. These parameters can be found in the Unattend.doc on the Windows 2000 CD. The following sections currently are supported by the Netset.exe tool:[Identification] [Networking] [Netadapters] ; along with all related sub-sections [NetProtocols] ; along with all related sub-sections [NetServices] ; along with all related sub-sections [NetClients] ; along with all related sub-sections | Article Translations
|
Back to the top
