方法 1 设备控制台添加
以管理员身份运行 cmd ,输入命令
C:\WINDOWS\system32>devcon.exe install %windir%\inf\netloop.inf *msloop
按 Enter 确定
~
~
看到 Drivers installed successfully.,一句命令安装完毕。
打开【设备管理器】,检视【网络适配器】,有了。
~
~
或者,从【控制面板】→【网络和 Internet】→【网络连接】中也可看到。
~
~
devcon 可操作的功能
C:\WINDOWS\system32>devcon.exe help
Device Console Help:
devcon.exe [-r] [-m:\\<machine>] <command> [<arg>...]
-r Reboots the system only when a restart or reboot is required.
<machine> Specifies a remote computer.
<command> Specifies a Devcon command (see command list below).
<arg>... One or more arguments that modify a command.
For help with a specific command, type: devcon.exe help <command>
classfilter Add, delete, and reorder class filters.
classes List all device setup classes.
disable Disable devices.
driverfiles List installed driver files for devices.
drivernodes List driver nodes of devices.
enable Enable devices.
find Find devices.
findall Find devices, including those that are not currently attached.
help Display Devcon help.
hwids List hardware IDs of devices.
install Install a device manually.
listclass List all devices in a setup class.
reboot Reboot the local computer.
remove Remove devices.
rescan Scan for new hardware.
resources List hardware resources for devices.
restart Restart devices.
sethwid Modify Hardware ID's of listed root-enumerated devices.
stack List expected driver stack for devices.
status List running status of devices.
update Update a device manually.
updateni Manually update a device (non interactive).
dp_add Adds (installs) a third-party (OEM) driver package.
dp_delete Deletes a third-party (OEM) driver package.
dp_enum Lists the third-party (OEM) driver packages installed on this machine.
* 注: devcon.exe 文件非系统默认自带,请看下面的方法。
在哪里可以下载 DevCon?(微软官方给出下载指南)
安装适用于桌面应用的 WDK、Visual Studio 和 Windows SDK 时,DevCon (Devcon.exe) 会包括在内。
有关下载工具包的信息,请参阅 Windows 硬件下载。为了一个几十 K 的文件下载 G 级的 Windows 应用,没必要。
方法 2 硬件向导添加
win + R,输入
hdwwiz
确定,启动添加硬件向导
~
~
~
~
~
~
方法 3 【设备管理器】中【添加过时硬件(L)】
与方法 2 一样,只是操作起点不一样。
【设备管理器】选中【网络适配器】后,菜单栏【操作】→【添加过时硬件(L)】,
~
后续步骤与方法 2 一样。