henrypp / simplewall

Simple tool to configure Windows Filtering Platform (WFP) which can configure network activity on your computer.
GNU General Public License v3.0
6.35k stars 493 forks source link

[Bug] Second SimpleWall.exe instance/process in 3.8.1 #1769

Closed ghost closed 3 months ago

ghost commented 7 months ago

Checklist

App version

3.8.1

Windows version

Win10 19045

Steps to reproduce

Launch SimpleWall 3.8.1 (64bit) and check Task Manager. There will be 2 SimpleWall.exe processes. One is elevated and has High priority. Second one is not elevated and has Normal priority.

Expected behavior

There should be only one SimpleWall.exe process.

Actual behavior

Version 3.8.1 creates 2 SimpleWall.exe processes instead of one.

Logs

None

ghost commented 7 months ago

Windows detects the second SimpleWall.exe process instance as a none-responding task and it can be closed with "Kill Not Responding Tasks" command.

Is this intended behavior or a bug?

henrypp commented 7 months ago

simplewall cannot create second process, check second process by virustotal, if it is the same process then i do not know why, sw did not needed it, and even not elevated

ghost commented 6 months ago

I checked many times and it happened even on a fresh installation of Windows 11 22631.3527 and nothing else installed.

Unelevated process (only present in SimpleWall 3.8.1) Priority Class - Normal Command Line - "C:\Program Files\SimpleWall\SimpleWall.exe" Directory - C:\Program Files\SimpleWall\ Parent Console - Explorer.exe Parent Process - Explorer.exe

Elevated process (present in all SimpleWall versions) Priority Class - High Command Line - "C:\Program Files\SimpleWall\SimpleWall.exe" "C:\Program Files\SimpleWall\SimpleWall.exe" Directory - C:\Program Files\SimpleWall\ Parent Console - SvcHost.exe Parent Process - SimpleWall.exe

xramboxx commented 6 months ago

I have the same problem. It occurs when I run SW with unchecked "Skip UAC prompt" or from a limited user account. Windows 10 19044.4291 SW 3.8.1

ghost commented 6 months ago

Yes. Thank you for narrowing it down. "Skip UAC Prompt" is not needed for who disable UAC account-wide. I think this will be an easy for developer.

ghost commented 6 months ago

Same issue persists in 3.8.2.

ghost commented 6 months ago

Just tested Windows 11 and it had the same exact bug with 3.8.1 and 3.8.2.

henrypp commented 4 months ago

now it is fixed, it is routine problem, check for new version on this month