nmap / npcap

Nmap Project's Windows packet capture and transmission library
https://npcap.com
Other
2.92k stars 508 forks source link

Npcap-0.07-r10 hang on install. #474

Closed markpizz closed 3 years ago

markpizz commented 8 years ago

Npcap install never completes on Windows 10.

I downloaded the latest npcap-0.07-r10,exe and ran it on my Windows 10 test VM. This machine has been used some months ago to test prior npcap installation details. Before today's activities it did not have any npcap or WinPcap software installed on the system.

I started the installer and let it run with the single checked default option (This is what normal users do, right). I was a little surprised by the fact that starting the install activities a black window appeared and the quickly disappeared. Maybe this has nothing to do with the resulting hang.

I then clicked Next and the install started. It seemed to move along normally for a while. I received the prompt about installing the driver which I first unchecked the "Always Trust..." checkbox, but then clicked on the OK button. Things seemed to continue, but then it ultimately stopped moving forward. Task Manager shows very little or no CPU being used npcap-hang

hsluoyz commented 8 years ago

Hi @markpizz ,

Have you tried a 2nd time? I can't reproduce this issue on my Win10 physical host.

Cheers, Yang

markpizz commented 8 years ago

There is no cancel, so for now my only choice seems to be a hard reboot of the OS. I have no idea what state things will be left in at that time. I guess a System Restore should be possible. I'll give it a try.

markpizz commented 8 years ago

After a System Restore I was able to get a successful install. I think that after unchecking the "Trust All..." checkbox during the driver install, I might have clicked on the Don't install button. That probably resulted in the hang. You might want to look at that case...

hsluoyz commented 8 years ago

But I already checked "Trust All..." long before, do you know how to let Windows prompt that window again on an old machine?

hsluoyz commented 8 years ago

Hi Mark,

I retried the Don't install option, it prompts me the Failed to create the npcap service for Vista, Win7, Win8 and Win10 window, then the installation stops normally, and I can quit the installer.

So I believe you have installed some incompatible software. If you can name it, I will put it to our incompatible list in README. I will close this issue for now. If you re-encounter it, please reply to this post.

markpizz commented 8 years ago

I've installed nothing else on this system since our original testing.

hsluoyz commented 8 years ago

I saw you stalled at NPFInstall.exe -i command, which uses a standard driver install code from the MS example or somewhere else. There aren't many places for me to check whether Npcap code causes this. So in this condition, I have to believe this hang is caused by Windows itself for now.