nmap / npcap

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

Npcap prevent computer to sleep #431

Closed lkytal closed 3 years ago

lkytal commented 7 years ago

I wonder why there is not issue section for npcap itself...

After switch from winpcap to npcap, my system can't sleep correctly. It used to sleep after 15min, however, after installed npcap, my system will automatically power off after 15min instead of go sleep. My system is windows 10 1607 x64, npcap version 0.82 (newest for now).

Varunram commented 7 years ago

Good catch! I don't know about the computer shutting down, but I did notice that when I installed Npcap, it seems to change the sleep settings. Thing to note here is that it changes the sleep settings only if they are changed after Npcap is uninstalled. If we change the settings when Npcap is installed and don't touch it thereafter even after uninstalling, it doesn't seem to do anything.

dmiller-nmap commented 7 years ago

Can either of you report exactly what the sleep settings were and whether they were changed? Or are the settings the same, but the behavior is different?

@lkytal was there a crash? Is there a .dmp file in C:\Windows\minidump\ that you could send to dmiller@nmap.com?

Varunram commented 7 years ago

Steps to reproduce:

  1. Set timer to 1 minute
  2. Install Npcap
  3. Wait for 1 minute (to test whether the computer sleeps)
  4. Go to settings and find out that the sleep timer has changed to never.
lkytal commented 7 years ago

@dmiller-nmap I've emailed dump file to you. By the way, the change of system sleep timer may not allway happend.

dmiller-nmap commented 7 years ago

Thanks, I now have 2 different dump files for this crash. Hope to have it resolved soon.

On Mar 2, 2017 8:54 AM, "Lelouch lkytal" notifications@github.com wrote:

@dmiller-nmap https://github.com/dmiller-nmap I've emailed dump file to you. The change of system sleep timer may not allway happend.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/nmap/nmap/issues/721#issuecomment-283674778, or mute the thread https://github.com/notifications/unsubscribe-auth/AJ9ZFbQJQH8yRzs-twLfJooswKM_cXw2ks5rhtgfgaJpZM4MQ7Pm .

dmiller-nmap commented 7 years ago

@lkytal Please try Npcap 0.83, released yesterday, which has this fix. Let us know if it solves your problem!

lkytal commented 7 years ago

During the last day it works perfectly, thanks. @dmiller-nmap