Introduction:
Ensuring the security of your Windows 10 system is paramount, and managing features like Virus & Threat Protection is crucial. This guide covers two methods to achieve this – the standard process through Windows Security and the command line process using PowerShell.
Part 1: Normal Process
Enabling Virus & Threat Protection:
- Open the Start menu and select "Settings" (gear icon).
- Navigate to "Update & Security" and choose "Windows Security."
- Click on "Virus & Threat Protection."
- Under "Virus & Threat Protection settings," toggle the switch to turn it on.
Disabling Virus & Threat Protection:
- Follow steps 1-3 above.
- Under "Virus & Threat Protection settings," toggle the switch to turn it off.
- Confirm any prompts to complete the process.
Verification:
- Ensure that the Virus & Threat Protection status in Windows Security reflects your changes.
Part 2: Command Line Process
Enabling Virus & Threat Protection:
- Right-click on the Start button and select "Windows PowerShell (Admin)."
- Run either of the following commands:
Set-MpPreference -DisableRealtimeMonitoring 0
Or
Set-MpPreference -DisableRealtimeMonitoring $false
Disabling Virus & Threat Protection:
- Right-click on the Start button and select "Windows PowerShell (Admin)."
- Run either of the following commands:
Set-MpPreference -DisableRealtimeMonitoring 1
Or
Set-MpPreference -DisableRealtimeMonitoring $true
Verification:
- Confirm the action when prompted in PowerShell.
- Verify the status of Virus & Threat Protection in Windows Security.
Conclusion:
Both methods offer flexibility in managing Virus & Threat Protection. The normal process through Windows Security provides a user-friendly interface, while the command line process via PowerShell offers a quick and scriptable solution.
Post a Comment