nmap / nmap/npcap

A working solution for the npcap installation error 0x800f0203

Open
#851 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
3.6k
Forks
592
PR merge metrics
No merged PRs in 30d

Description

关于安装 Npcap 时提示 0x800f0203 问题分析,以及尝试的解决方案

An analysis of the 0x800f0203 error when installing npcap, and the solutions I tried.

直接原因就是 Windows 的网络驱动检索功能错误了,导致 npcap 在安装过程中 Windows 无法检索到 npcap 的驱动(实际上已经它已经加载到驱动库中了),进而提示 0x800f0203 问题。

The direct cause is that Windows' network driver lookup mechanism has gone wrong, which prevents Windows from finding the npcap driver during installation (even though the driver has actually already been loaded into the driver store). This in turn triggers the 0x800f0203 error.

一个直观的方式就是打开你的【网络和共享中心】,点击【查看活动网络】中的连接上的网络适配器,依次点击【属性】-【安装】-【服务】-【添加】

An intuitive way to see this is to open your Network and Sharing Center, click the connected network adapter under View your active networks, then go to Properties > Install > Service > Add.

Image Image Image

如果你的电脑的网络驱动检索功能正常,你可以在【选择网络服务】这个对话框中看到多个网络驱动信息,否则只会提示你 无法为此设备找到任何驱动程序

If your computer's network driver lookup works normally, you should see several network drivers listed in the Select a Network Service dialog; otherwise, you will only see the message No drivers found for this device.

Image Image

虽然尝试了很多种方法都失败了,幸运的是今天还是发现了一种非正常的安装方式。操作步骤如下:

Although I tried many methods and they all failed, fortunately I discovered an unusual installation workaround today. The steps are as follows:

  1. 安装 npcap. exe
    Install npcap.exe
Image
  1. 在根据需要进行勾选,第一个我没试过,2、3 应该不影响。
    Tick the checkboxes as needed. I never tried the first one; options 2 and 3 should not matter.
Image
  1. 然后安装过程中依旧会提示 0x800f0203 问题,不要点确定!!!,否则 npcap 会把安装的文件都删除
    During installation it will still show the 0x800f0203 error. Do NOT click OK!!! Otherwise Npcap will delete the files that were installed.
Image
  1. 打开【任务管理器】,终止掉 npcap
    Open Task Manager and kill the npcap process.
Image
  1. 然后你可以在 C:\Program Files\Npcap 中看到安装好的文件
    You should now see the installed files under C:\Program Files\Npcap.
Image
  1. 打开【选择网络服务】窗口,选择【从磁盘安装】
    Open the Select a Network Service window and choose Have Disk....
Image
  1. 点击【浏览】选择 C:\Program Files\Npcap,然后点击【确定】
    Click Browse to select C:\Program Files\Npcap, then click OK.
Image

正常情况下,应该可以安装好的 npcap 驱动

Under normal circumstances, the Npcap driver should now install successfully.

Image

然后重启电脑,打开 WireShark 应该就可以看到网卡的适配器了。

Then restart the computer and open Wireshark — you should now be able to see the NIC adapters.

如果装有 WireShark,最好选择 WireShark 中的 npcap 进行安装

If you have Wireshark installed, it is recommended to install Npcap from within Wireshark.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the installation workaround and screenshots described in this issue, including the Npcap installation error and Windows Network Service steps. Confirm whether the workaround is accurate and reproducible, then determine where installation troubleshooting guidance belongs; done means the guidance is validated and its documentation location is clear.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.