Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All


Published: April 17, 2012

Updated: April 17, 2012

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

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


Parameter Description


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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft