2. This command can be used to remove a folder exclusion

Discuss hot database and enhance operational efficiency together.
Post Reply
Rina7RS
Posts: 473
Joined: Mon Dec 23, 2024 3:39 am

2. This command can be used to remove a folder exclusion

Post by Rina7RS »

1. Open Terminal Administrator again as we did in the previous operations and steps.


Remove-MpPreference -ExclusionPath "C:\Path\To\Folder"
Remove a Folder Exclusion from Windows Defender Using PowerShell

Method 4: Remove File Type Exception Using PowerShell
In cases where you've excluded certain extensions, such as .exe or df, this will help Windows Defender improve security by scanning all file types with that extension.

1. Open PowerShell the same way as before, but with administrator rights.

2. Use this command to remove an exception for a specific file type to remove all protection for it from simple-

Remove-MpPreference -ExclusionExtension "file_extension"
Remove a File Type Exclusion from Windows Defender Using sri lanka telegram data PowerShell

Method 5: Remove a Process Exclusion from Windows Defender Using PowerShell
Process exclusions help Windows Defender ignore specific programs or applications that it may detect. If you no longer need these exclusions in your case, you can quickly get rid of them in PowerShell.

1. Do the same to open PowerShell in administrator mode.

2. Use this command to remove an exception for a specific process.

Remove-MpPreference -ExclusionProcess "process_name.exe"
Be sure to replace "processname.exe" with the exact name of the process you want to delete.

Remove a Process Exclusion from Windows Defender Using PowerShell

However, if you encounter any errors while performing any of these methods to remove exclusions from Windows Defender in Windows 11, then leave a comment below so that we can help you out.
Post Reply