Computer Tips

How to Turn Windows Defender On or Off with One Click

👁 0 views

🇻🇳 Đọc bằng tiếng Việt

[Windows defender is Microsoft’s antivirus software that helps protect your computer against malicious software (malware) such as viruses, spyware, trojans… and other unwanted software. Malware can infect your computer in many different ways, such as through USB drives, email, Internet connections, installing apps… Windows defender provides 2 main functions to protect your computer:
Real-time protection. Windows Defender will notify you when malware tries to install itself or run on your computer. It also notifies you when apps try to change important settings.
Scan-based protection. Windows Defender automatically scans your computer for malware on a regular basis, but you can also start a scan whenever you want.Windows Defender automatically removes (or temporarily quarantines) anything detected during the scan.
However, the program will also automatically disable itself if it detects any other security software installed on the computer. And just like Windows Defender built into Windows 8.1, users cannot fully disable this antivirus program on Windows 10.
The limitation of Windows Defender is that the program only provides basic protection and is not as specialized as other third-party software. Perhaps that is why users want to disable this program permanently to install third-party antivirus software, increasing security and safety for the computer throughout use.
 

Table of contents 4 items
  1. Turn Windows Defender On or Off with One Click
  2. Turn Off Windows Defender
  3. Turn On Windows Defender
  4.  Download the One-Click Windows Defender On/Off File

Turn Windows Defender On or Off with One Click

 

Turn Off Windows Defender

Copy the code below and paste it into CMD (Command Prompt), or save it as a .bat file to use
If you’re feeling lazy, you can download the file below
 

:admin
>nul 2>&1 "%SYSTEMROOT%system32cacls.exe" "%SYSTEMROOT%system32configsystem"
if "%errorlevel%" NEQ "0" (
	echo: Set UAC = CreateObject^("Shell.Application"^) > "%temp%getadmin.vbs"
	echo: UAC.ShellExecute "%~s0", "", "", "runas", 1 >> "%temp%getadmin.vbs"
	"%temp%getadmin.vbs" &	exit
)
if exist "%temp%getadmin.vbs" del /f /q "%temp%getadmin.vbs"
CLS
PowerShell Set-MpPreference -DisableRealtimeMonitoring 1
reg add  "HKLMSOFTWAREPoliciesMicrosoftWindows DefenderReal-Time Protection" /v DisableRealtimeMonitoring /t REG_DWORD /d 1 /f
Reg add "HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindows Defender" /v DisableAntiSpyware /t REG_DWORD /d 1 /f
tskill explorer
"%ProgramFiles%Windows DefenderMSASCui.exe"

 

Turn On Windows Defender

As with the method above, copy the code below and paste it into CMD (Command Prompt), or save it as a .bat file to use
If you’re feeling lazy, you can download the file below

:admin
>nul 2>&1 "%SYSTEMROOT%system32cacls.exe" "%SYSTEMROOT%system32configsystem"
if "%errorlevel%" NEQ "0" (
	echo: Set UAC = CreateObject^("Shell.Application"^) > "%temp%getadmin.vbs"
	echo: UAC.ShellExecute "%~s0", "", "", "runas", 1 >> "%temp%getadmin.vbs"
	"%temp%getadmin.vbs" &	exit
)
if exist "%temp%getadmin.vbs" del /f /q "%temp%getadmin.vbs"
CLS
Reg add "HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindows Defender" /v DisableAntiSpyware /t REG_DWORD /d 0 /f
Reg add  "HKLMSOFTWAREPoliciesMicrosoftWindows DefenderReal-Time Protection" /v DisableRealtimeMonitoring /t REG_DWORD /d 0 /f
PowerShell Set-MpPreference -DisableRealtimeMonitoring 0
tskill explorer
"%ProgramFiles%Windows DefenderMSASCui.exe"

 
 

 Download the One-Click Windows Defender On/Off File

Turn Windows Defender On or Off with One Click
 ]]>

Have a question? Ask the groupFacebook group Ask Anything (in Vietnamese): free Q&A on any topic, with real answers.Join the group →
Hoang Ngoc Quang Anh

Sharing computer, Windows and software tips. If you have a question, leave a comment below.

Rate this article
0 (0 ratings)
0 comments
Need faster help? Join the Facebook group Cộng Đồng Công Nghệ