undergroundwires / privacy.sexy

Open-source tool to enforce privacy & security best-practices on Windows, macOS and Linux, because privacy is sexy
https://privacy.sexy
GNU Affero General Public License v3.0
4.19k stars 174 forks source link

[Bug]: Defender warning of "viruses" can't be disabled #413

Open hihilogic-dev opened 3 months ago

hihilogic-dev commented 3 months ago

Description

I've been trying to run a couple batch files, and even some setup files as well, but it keeps returning an error that there is a "virus or potentially unwanted software". Usually, I would just go into settings and disable it, but clearly the settings has been stripped down and thus there is no way to disable it. Coincidentally, this also means I can no longer run the revert processes, since they are also a batch file, meaning that I no longer have means to restore Defender. Even when pressing the run button on my computer, Terminal will appear for a second and then immediately disappear. I would prefer to have all the settings i have activated reverted, so i can come back to this program at a later date, but I'm not sure how to do this.

Reproduction steps

Not sure what constitutes as a "virus", since a lot of setup files are basically a coinflip on whether it's actually going to run or not

Expected behavior

Refer to the description

Screenshots

No response

privacy.sexy environment details

Windows 11 2023, standard

Additional context

No response

undergroundwires commented 3 months ago

Did you initially disable Defender before this?

hihilogic-dev commented 3 months ago

Did you initially disable Defender before this?

No, I did not

plantindesk commented 3 months ago

@hihilogic-dev Can you please send the script?

undergroundwires commented 3 months ago

May be same as #413, most likely caused by #421

hihilogic-dev commented 3 months ago

I seriously don’t know how to fix this. i performed a COMPLETE wipe of my ssd and this is STILL showing up IMG_5767

plantindesk commented 3 months ago

@hihilogic-dev I think this may help ya https://answers.microsoft.com/en-us/windows/forum/all/page-not-available-your-it-administrator-has/d3b21957-d978-4881-82fb-7ccd6f6b2ddf

undergroundwires commented 3 months ago

This should not happen if you did not disable Defender if you do not use privacy.sexy. Try reverting Disable Defender user interface category.

Paladynee commented 1 week ago

When in doubt, create a script with all tweaks reverted and:

@echo off
- :: https://privacy.sexy — v0.13.6 — Sat, 16 Nov 2024 01:37:12 GMT
- :: Ensure admin privileges
fltmc >nul 2>&1 || (

Comment: the line removal is a fix for the microsoft-introduced windows defender "precaution" against privacy.sexy that I observed.