WinPE network installer
netcfg
- C:\Windows\system32\netcfg.exe /?
Output:
netcfg [-v] [-winpe] [-l <コンポーネント INF の完全なパス>] -c <p|s|c>
-i <コンポーネント ID>
-winpe は、TCP/IP、NetBIOS、および Microsoft Client for Windows の
プレインストール環境をインストールします
-l INF の場所を指定します
-c インストールするコンポーネントのクラスを指定します (p == プロトコル、
s == サービス、c == クライアント)
-i コンポーネント ID を指定します
引数は、示されている順に渡す必要があります。
例:
netcfg -l c:\oemdir\myprot.inf -c p -i myprot
c:\oemdir\myprot.inf を使用してプロトコル 'myprot' をインストールします
netcfg -c s -i MS_Server
サービス 'MS_Server' をインストールします
または
netcfg [-v] -winpe
例:
netcfg -v -winpe
TCP/IP、NetBIOS、および Microsoft Client for Windows の
プレインストール環境をインストールします
または
netcfg [-v] -q <comp-id>
例:
netcfg -q MS_IPX
コンポーネント 'MS_IPX' がインストールされているかどうかを表示します
または
netcfg [-v] -u <コンポーネント ID>
例:
netcfg -u MS_IPX
コンポーネント 'MS_IPX' をアンインストールします
または
netcfg [-v] -s <a|n>
-s 表示するコンポーネントの種類を指定します (a == アダプター、
n == ネット コンポーネント)
例:
netcfg -s n
インストールされているすべてのネット コンポーネントを表示します
または
netcfg [-v] -b <コンポーネント ID>
例:
netcfg -b ms_tcpip
'MS_TCPIP' を含むバインド パスを表示します
または
netcfg [-v] -m
例:
netcfg -m
現在のディレクトリにある NetworkBindingMap.txt にバインド マップを出力します。
-v を指定すると、コンソールへ出力されるバインド マップも表示されます。
または
netcfg -d
例:
netcfg -d
すべてのネットワーク デバイスに対してクリーンアップを実行します。
この場合、再起動が必要になります。
または
netcfg -x
例:
netcfg -x
ネットワーク デバイスに対してクリーンアップを実行します。物理オブジェクト名のないデバイスは
スキップします。
この場合、再起動が必要になります。
全般的な注意:
-v 冗長 (詳細) モードで実行します
-? このヘルプ情報を表示します
netcfg [-v] [-winpe] [-l <full-path-to-component-INF>] -c <p|s|c>
-i <comp-id>
-winpe installs TCP/IP, NetBIOS and Microsoft Client for Windows
preinstallation environment
-l provides the location of INF
-c provides the class of the component to be installed (p == Protocol,
s == Service, c == Client)
-i provides the component ID
The arguments must be passed in the order shown.
Examples:
netcfg -l c:\oemdir\myprot.inf -c p -i myprot
Installs protocol 'myprot' using c:\oemdir\myprot.inf
netcfg -c s -i MS_Server
Installs service 'MS_Server'
OR
netcfg [-v] -winpe
Example:
netcfg -v -winpe
Installs TCP/IP, NetBIOS, and Microsoft Client for Windows
preinstallation environment
OR
netcfg [-v] -q <comp-id>
Example:
netcfg -q MS_IPX
Displays if component 'MS_IPX' is installed
OR
netcfg [-v] -u <comp-id>
Example:
netcfg -u MS_IPX
Uninstalls component 'MS_IPX'
OR
netcfg [-v] -s <a|n>
-s provides the type of components to show (a == adapters,
n == net components)
Example:
netcfg -s n
Shows all installed net components
OR
netcfg [-v] -b <comp-id>
Example:
netcfg -b ms_tcpip
Shows binding paths containing 'MS_TCPIP'
OR
netcfg [-v] -m
Example:
netcfg -m
Outputs the binding map to NetworkBindingMap.txt in the current directory.
-v will also display the binding map to the console.
OR
netcfg -d
Example:
netcfg -d
Performs a cleanup on all networking devices.
This will require a reboot.
OR
netcfg -x
Example:
netcfg -x
Performs a cleanup on networking devices, skipping those without physical
object names.
This will require a reboot.
General Notes:
-v Run in verbose (detailed) mode
-? Displays this help information
Return Code: 0
C:\Windows\system32\netcfg.exe
c:\>ver
Microsoft Windows [Version 10.0.19045.2075]
| File | Info |
|---|---|
| File Size | 37376bytes |
| Creation Time | 2019/12/07 18:08:55 |
| LastWrite Time | 2019/12/07 18:08:55 |
| ProductVersion | 10.0.19041.1889 |
| FileVersion | 10.0.19041.1889 (WinBuild.160101.0800) |
| Hash | Value |
|---|---|
| MD5 | 01504f3b8b252f5619c94fd65dc52842 |
| SHA1 | 864612baa46728b9605a38262486ab4f4d36e1b0 |
| SHA224 | 1dd59521e85670b561d78910772cb142984b0ad9115a6cca56cb840b |
| SHA256 | ead06f5f5eb67fdf1ccb25511d6d7ca38ddd307b4499274886e04bec53f1c76d |
| SHA384 | 8750352134c9820dc6bbd3e70175513d56bc83904bd80c937ba7134a28d8dbc9a43304dbdc7a91f3eb6eb0691009b2cc |
| SHA512 | 64cd48923524108c8e490c9ea5e6d629777e2ba3369841676148bf4844b22820311c82c9a0ccafed3bfea2921920572fbad1c003272e20ae611b507e34f62dae |