pgkt04 / defender-control

An open-source windows defender manager. Now you can disable windows defender permanently.
MIT License
1.4k stars 120 forks source link

I dont know if this is an issue, just checking in #30

Open Senxsation opened 1 year ago

Senxsation commented 1 year ago

3 I had turned off tamper protection prior to compiling. After compiling the code, I checked in windows security, and it showed the exact dialogue that was shown in your demo. "You have no active antivirus protector", but after rebooting my PC, it shows the message that is in my uploaded image. Should that be happening?

Also, right after compiling in visual studio, I got a dialogue in the command prompt "failed to write to disable real time protection, failed to write to disable antispyware, windows defender has been disabled, press any key to continue" right after those command lines, I pressed a key and then when I look in windows security, I see "you have no active antivirus provider." Once again, after rebooting I see the message shown in my uploaded image. Did i do something wrong? is there a way to revert these changes and run the source code again?

busheezy commented 1 year ago

This is affecting me too on Windows 10 22H2. I don't like how it ended up so I'm going to reformat.

pgkt04 commented 1 year ago

have you tried running enable-defender.exe

pgkt04 commented 1 year ago

alternatively if you are looking to compile a version that enables it, modify this line: https://github.com/qtkite/defender-control/blob/main/src/defender-control/settings.hpp#L9

Senxsation commented 1 year ago

alternatively if you are looking to compile a version that enables it, modify this line: https://github.com/qtkite/defender-control/blob/main/src/defender-control/settings.hpp#L9

thank you for the reply, so is this actually an issue where it says "getting protection info"? should I have all the other settings like realtime protection etc disabled along with tamper protection before running? I'm on windows 22H2 like busheezy.

Senxsation commented 1 year ago

This is affecting me too on Windows 10 22H2. I don't like how it ended up so I'm going to reformat.

hey mate, what all did you change in the source code incase you ended up fixing this while reformatting it? Looking forward to your reply.

Senxsation commented 1 year ago

alternatively if you are looking to compile a version that enables it, modify this line: https://github.com/qtkite/defender-control/blob/main/src/defender-control/settings.hpp#L9

one more thing, I'm actually new to using visual studio... so how do I see the source code without launching/starting the compilation? I want to add these enable defender to the source code, but how do I see the source code to edit it? is it on the right panel defender-control folder inside the visual studio? I know this might sound dumb.

pgkt04 commented 1 year ago

its on the file-navigation panel, it should be on the side depending where you put it

Senxsation commented 1 year ago

its on the file-navigation panel, it should be on the side depending where you put it

11

hey, I really dont mean to disturb you, but in the right side panel, which folder and file will let me add that enable defender commandlines that you posted in your earlier comment? I'm really new to this lol, so I sound kinda stupid. I'm tryna run it again on windows 10 22H2 without having to see the "getting protection details" message. Other than that this a great open source software and thank you for developing it.

Senxsation commented 1 year ago

its on the file-navigation panel, it should be on the side depending where you put it

nvm, I found it in file explorer, I will update you if it works.

Senxsation commented 1 year ago

its on the file-navigation panel, it should be on the side depending where you put it

I didnt mean for the late update, I was busy with other tings, but I was able to enable windows defender 3 weeks ago just like you said. Then after enabling defender, windows realtime protection manually and having tamper protection disabled like I always did when I ran the source code before, this time I didnt get the error, which was "failed to write to tamper protection". There is still one thing that bugs me. After disabling windows defender you get to see this 1 2

Senxsation commented 1 year ago

its on the file-navigation panel, it should be on the side depending where you put it

but after restarting the PC, you see this 3 4 This is what i'm talking about? should it be like this? wont it run in the background and keep taking pc resources?