Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Senxsation opened this issue Mar 19, 2023 · 11 comments
Open

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

Senxsation opened this issue Mar 19, 2023 · 11 comments

Comments

@Senxsation
Copy link

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
Copy link

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

@pgkt04
Copy link
Owner

pgkt04 commented Mar 22, 2023

have you tried running enable-defender.exe

@pgkt04
Copy link
Owner

pgkt04 commented Mar 22, 2023

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
Copy link
Author

Senxsation commented Mar 26, 2023

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
Copy link
Author

Senxsation commented Mar 26, 2023

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
Copy link
Author

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.

@Senxsation Senxsation reopened this Mar 26, 2023
@pgkt04
Copy link
Owner

pgkt04 commented Mar 26, 2023

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

@Senxsation
Copy link
Author

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
Copy link
Author

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
Copy link
Author

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
Copy link
Author

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants