Share via


Netcfg

Updated: April 17, 2012

Applies To: Windows 7, Windows Server 2008 R2

Installs the Windows Preinstallation Environment (WinPE), a lightweight version of Windows used to deploy workstations. For examples of how this command can be used, see Examples.

Syntax

netcfg [/v] [/e] [/winpe] [/l ] /c /i

Parameters

Parameter Description

/v

Run in verbose (detailed) mode

/e

Use servicing environment variables during install and uninstall

/winpe

Installs TCP/IP, NetBIOS and Microsoft Client for Windows preinstallation envrionment

/l

Provides the location of INF

/c

Provides the class of the component to be installed; protocol, Service, or client

/i

Provides the component ID

/s

Provides the type of components to show

\ta = adapters, n = net components

/?

Displays Help at the command prompt.

Examples

To install the protocol foo using c:\oemdir\foo.inf:

netcfg /l c:\oemdir\foo.inf /c p /i foo

To install the MS_Server service:

netcfg /c s /i MS_Server

To install TCP/IP, NetBIOS and Microsoft Client for Windows preinstallation environment

netcfg /v /winpe

To display if component MS_IPX is installed:

netcfg /q MS_IPX

To uninstall component MS_IPX:

netcfg /u MS_IPX

To show all installed net components:

netcfg /s n

To shows binding paths containing MS_TCPIP:

netcfg /b ms_tcpip

Additional references