🔧 Complete tutorial to disable Windows Defender and add an exception folder (e.g.: C:\AWRoot
)
This tutorial will guide you step by step to disable Windows Defender (Microsoft Defender Antivirus) temporarily, then to add an exception folder to prevent the software from blocking certain files, as in the case of installing Diagbox 9.200.
(I.e. IMPORTANT
Disable Windows Defender makes your computer vulnerable. It is strongly recommended to do this only to install reliable software like Diagbox and then re-enable it afterwards.
If you just add a folder in exception, this is usually enough.
✅ Part 1: Temporarily disable Windows Defender (real-time protection)
Steps :
-
Open Windows Security Settings
-
Press
Windows + I
to open the Windows settings. -
Go to "Confidentiality and security" > "Windows Security".
-
Click on "Open Windows Security".
-
-
Access protection against viruses and threats
-
In the left panel, click on "Protection against viruses and threats".
-
-
Manage settings
-
Click on "Manage Settings" under Virus and threat protection settings.
-
-
Disable real-time protection
-
Disable the option "Real-time protection" (you may need to confirm with an administrator password).
-
📝 This action is temporary. Windows Defender will automatically re-enable this protection after a restart or after a few minutes. To avoid crashes during an installation, proceed quickly with the installation or add a exception right now.
✅ Part 2: Add an exception folder in Windows Defender (eg: C:\AWRoot
)
Steps :
-
Back to Windows Security
-
As before, go to:
-
Windows settings (
Windows + I
) -
Confidentialité et sécurité > Windows security
-
Click on "Protection against viruses and threats"
-
-
-
Access exclusions settings
-
Click on "Manage Settings" under “Virus and threat protection settings”.
-
Go down to "Exclusions"And click "Add or remove exclusions".
-
-
Add exclusion
-
Click on the button "+ Add an exclusion".
-
Accounts Manager "Case".
-
In the window that opens, navigate to the relevant folder:
-
Example:
C:\AWRoot
-
-
Click on "Select a folder".
-
✅ The folder is now excluded from Defender scanning. Files within it will no longer be blocked or quarantined.
🔄 Reactivate protection after installation
-
Return to:
-
Settings > Windows Security > Virus & threat protection > Manage settings
-
-
Reactivate it real time protection.
💡 Extra tip
For sensitive software installations like Diagbox, also disable SmartScreen can avoid blockages:
-
Dance Settings > Privacy & Security > Windows Security > App & Browser Control, temporarily disable SmartScreen for Microsoft Edge and unrecognized applications.
📌 Conclusion
Now you know how to:
-
Temporarily disable Windows Defender protection.
-
Add folder as
C:\AWRoot
en exception to avoid blockages. -
Re-enable protection after installation.
🔒 Remember to always re-enable Windows Security after your actions to ensure the security of your system.