Netcfg command in Windows

Applies to Windows Server (Semi-Annual Channel), Windows Server 2016, Windows Server 2012 R2, Windows Server 2012

(Applies to Windows Server (Semi-Annual Channel), Windows Server 2016, Windows Server 2012 R2, Windows Server 2012)

The Windows Preinstallation Environment (WinPE) installation command, this is a lightweight version of Windows used to deploy workstations.

Syntax

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

Parameters

Parameters

Describe

/ v

Run in detailed mode (detailed mode)

/ e

Use service environment variables during installation and uninstall

/ winpe

Install TCP / IP, NetBIOS and Microsoft Client for the pre-installed environment in Windows

/ l

Provide the location of INF

/ c

Provide a classification of installed components, protocols, services or client applications

/ i

Provide component ID addresses

/S

Provide the component type to display

we = adapter (adapter), n = net components.

/?

Show help at the command prompt.

For example

To install theexampleprotocol,use the command c: oemdirexample.inf:

 netcfg /lc:oemdirexample.inf / cp / i example 

To install MS_Server service:

 netcfg / cs / i MS_Server 

To install TCP / IP, NetBIOS and Microsoft Client forWindows preinstallationenvironment (Windows preinstallation envrionment):

 netcfg / v / winpe 

To display if the MS_IPX component is installed:

 netcfg / q MS_IPX 

To uninstall MS_IPX component:

 netcfg / u MS_IPX 

To display all installed network components:

 netcfg / sn 

To display the binding path containing MS_TCPIP:

 netcfg / b ms_tcpip 

See more:

  1. Nbtstat command in Windows
  2. Bitsadmin create command in Windows
  3. Bcdboot command in Windows
  4. The bcdedit command in Windows
  5. The autoconv command in Windows
4 ★ | 16 Vote