Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to create the npcap service: 0x800f0203 on Windows 10 (Npcap 1.60, 1.70) #611

Open
jkonzen2022 opened this issue Jul 19, 2022 · 7 comments

Comments

@jkonzen2022
Copy link

I am beyond frustrated. i have attempted to install Npcap 1.60 and 1.70 with the same result: Failed to create the npcap service: 0x800f0203. This is on a Windows 10 laptop. I get the same result every time. Please HELP! Cannot find adequate documentation or support for this issue. This is on a company laptop that I have admin rights to.

@dmiller-nmap
Copy link
Contributor

0x800f0203 is SPAPI_E_NO_DRIVER_SELECTED. Please provide DiagReport output, Npcap installation logs (install.log and NPFInstall.log), and C:\Windows\INF\SetupAPI.dev.log, as described in the Npcap Users Guide.

@jkonzen2022
Copy link
Author

jkonzen2022 commented Jul 21, 2022 via email

@jkonzen2022
Copy link
Author

install.log
NPFInstall.log
setupapi.dev.log
I do not have a DiagReport as Npcap uninstalls as soon as the NDIS filter driver fails to install.

@dmiller-nmap
Copy link
Contributor

Thanks, this was very helpful. The SetupAPI.dev.log shows that Windows was able to stage the npcap driver, but unable to install the "device" because it could not find a matching driver for the insecure_npcap hardware ID. I notice that it also has the same problem installing the Zscaler driver device zs_zapprd, which has the same class GUID, 4d36e974-e325-11ce-bfc1-08002be10318, which means NetService. This is very likely because of a group policy restriction preventing the installation of this device class. If this is the case, then the system would have enabled policy settings within "Computer Configuration > Administrative Templates > System > Device Installation > Device Installation Restrictions" in either Local or Group policy. Specifically, Npcap installation would be blocked by any of the following settings:

  1. Prevent installation of devices not described by other policy settings
  2. Prevent installation of devices using drivers that match these device setup classes: {4D36E974-E325-11CE-BFC1-08002BE10318}
  3. Prevent installation of devices that match any of these device instance IDs: {7daf2ac8-e9f6-4765-a842-f1f5d2501341} or {7daf2ac8-e9f6-4765-a842-f1f5d2501351}

If any of these policies are enabled, setting any of the following policies will allow Npcap to be installed:

  1. Allow installation of devices that match any of these device instance IDs: {7daf2ac8-e9f6-4765-a842-f1f5d2501341} or {7daf2ac8-e9f6-4765-a842-f1f5d2501351}
  2. Allow installation of devices using drivers that match these device setup classes: {4D36E974-E325-11CE-BFC1-08002BE10318}
  3. Allow administrators to override Device Installation Restriction policies

@ershersh
Copy link

I have the same problem when I try to install npcap, and get the result:
Unknown error! 800f0203
Npcap LWF driver (with Wi-Fi support) has failed to be installed.
Failed to create the npcap service for Win7, Win8 and Win10.

I try Npcap verion : 0.995 1.31 1.60 1.72, and set the policies mentioned by [dmiller-nmap], but none of them work and I get the same error notice. I also try other methods as CCleaner fix registry and reboot PC, and stil fail.

My windows version info: WIN10 21H2 (19044.2486) Education.
logs:
setupapi.dev.log
install.log
NPFInstall.log

Any more suggestions to solve this? It makes me tired, frustrated, and I can't use wireshark.
Thank you!!

@rapa111
Copy link

rapa111 commented Aug 14, 2023

I am very frustrated with npcap
Cuplikan layar 2023-08-14 100730

@fyodor
Copy link
Member

fyodor commented Nov 27, 2023

@rapa111 - based on the error code, your screenshot looks more like #135 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants