question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

High Windows defender CPU usage when accessing NSIS installer

See original GitHub issue
  • Version: Various
  • Target: NSIS (Windows 32-bit) - Windows 10

Today, I noticed that the NSIS installers I have have built (current and ones from a few months ago) with electron-builder are causing Windows defender to act up.

To reproduce:

  1. I right click on my installer
    • Windows explorer hangs, and adds “not responding” to the window title
    • Looking at the task manager shows high CPU usage from the Windows defender service
    • If I keep clicking around the frozen window, explorer.exe crashes and reloads
  2. If I wait, after about 60 seconds, the right click menu finally appears.
  3. I click “Properties” and the same delay happens, although for not as long.

All of my installers are signed. I have tried this on 3 separate Windows 10 machines, all with the same results.

I have no reason to believe this is an issue with electron-builder directly, but I thought it would be useful to log it anyway, and to find out if anyone else is experiencing this issue.

Windows defender version:

Antimalware Client Version: 4.10.14393.0
Engine Version: 1.1.13407.0
Antivirus definition: 1.235.1170.0
Antispyware definition: 1.235.1170.0
Network Inspection System Engine Version: 2.1.12706.0
Network Inspection System Definition Version: 116.72.0.0

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:42 (31 by maintainers)

github_iconTop GitHub Comments

3reactions
develarcommented, Feb 10, 2017

13.5.0 released.

"nsis": {
  "unicode": false,
}

to disable Unicode. Still enabled by default — wait for NSIS or MS developers answer.

0reactions
develarcommented, Mar 13, 2017
Read more comments on GitHub >

github_iconTop Results From Across the Web

High Windows defender CPU usage when accessing NSIS installer
Today, I noticed that the NSIS installers I have have built (current and ones from a few months ago) with electron-builder are causing...
Read more >
Windows Defender going crazy at my CPU usage after clean ...
After clean install of windows on my laptop Lenovo Legion Y540 with an i7 9750H when I open random programs my cpu goes...
Read more >
Pc acting weird am I Infected? - Virus, Trojan, Spyware, and ...
Now I am noticing every few minutes out of a hour random windows tasks get high CPU usage, or sometimes it might be...
Read more >
3 Fixes for NSIS Error “Error Launching Installer” - Linux Hint
Step 1: Open Control Panel First, launch “Control Panel” from the Windows Start menu: ; Step 2: Launch Windows Defender Click on the...
Read more >
High CPU Usage with Acronis Open but Idle | Acronis Foren
When I open the Acronis management interface my cpu usage goes to ~70% ... Using VSS Doctor ... ModLoad: 755a0000 755a7000 C:\Windows\SysWOW64\NSI.dll
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found