Applies To: Windows 7, Windows Server 2008 R2, Windows Server 2012, Windows 8

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.


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





Run in verbose (detailed) mode


Use servicing environment variables during install and uninstall


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


Provides the location of INF


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


Provides the component ID


Provides the type of components to show

\ta = adapters, n = net components


Displays Help at the command prompt.


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

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

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