Windows 10 添加 loopback 环回适配器的三种办法

方法 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 一样。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值