how to completely disable windows security for just a task

CYBER _ ARMAN 20 Reputation points
2026-07-24T19:07:38.76+00:00

hi guys
i have a big problem
i wanna run a program in cmd but windows security dont let me do that so i searched on google and they said i need to turn of the real protection
but i did it and when i run that cmd program it says we found a threat and after 10 seconds the program deletes and closes
pls help because i need to run that program quickly!
thanks

Windows for home | Windows 11 | Security and privacy
0 comments No comments

Answer accepted by question author
Paulo GM 72,400 Reputation points Independent Advisor
2026-07-24T20:31:11.8933333+00:00

Hi,

By "program," do you mean a .bat file? If so, Windows Security often flags batch files because they can be used to execute potentially harmful commands, even if the file itself is legitimate. Before running it, I recommend scanning it with VirusTotal to make sure it doesn't contain any suspicious or malicious code. This will help determine whether Windows Security is simply detecting a false positive or if the file actually contains code that could pose a security risk.

If you confirm it is safe, you can open the Windows Security then go to Apps & browser control > Reputation-based protection settings and disable all the options temporarily for you to be able to run the file.

Was this answer helpful?

1 person found this answer helpful.

0 additional answers

Sort by: Oldest

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.