KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q157267: Msbatch.inf Parameters: Inserting TCP/IP Information

Article: Q157267
Product(s): Microsoft Windows 95.x Retail Product
Version(s): 
Operating System(s): 
Keyword(s): win95
Last Modified: 14-MAR-2002

-------------------------------------------------------------------------------
The information in this article applies to:

- Microsoft Windows 95 
-------------------------------------------------------------------------------

SUMMARY
=======

This article describes how to insert TCP/IP information using the Msbatch.inf
file for batch installations of Windows 95.

MORE INFORMATION
================

Microsoft does not encourage or support changes to .inf files; therefore,
Microsoft Technical Support does not support the procedure in this article.
Although we have tested the following procedure and it appears to function as
described, make a backup copy of your .inf file before you proceed.

In the Msbatch.inf file, modify the [Network] section to include the following
line:

  Protocols=MSTCP  ; other protocols can be inserted here also

Also add the following section and parameters as needed:

  [MSTCP]
  DHCP=value ; 0=disable, 1=enable
  DNS=value ; 0=disable, 1=enable
  WINS= ; 0=disable, 1=enable, DHCP=get parameters from DHCP server.
  Gateways=ip,ip ; Lists the IP gateways (IP routers) and order to be
     used.
  IPAddress=IP
  IPMask=ip ; Sets the subnet mask if DHCP is not enabled.
  PrimaryWINS=IP
  SecondaryWINS=IP
  DNSServers=DNSIPAddress,DNSIPAddress ; Lists DNS server IP addresses
     and order to try them.
  DomainOrder=domainname,domainname ; Sets a list of DNS domains and
     order to try them.
  Hostname= ; Required when using DNSServers entry. Is usually the same
     as the computer name.
  LMHOSTPath=path ; Path and filename to LMHOSTS file.
  ScopeID=string

NOTE: Some IP settings may not be added properly. An updated file may be required
for full functionality of some of these switches.

Additional query words:

======================================================================
Keywords          : win95 
Technology        : kbWin95search kbZNotKeyword3
Version           : :

=============================================================================

THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Copyright Microsoft Corporation 1986-2002.