{"id":3574,"date":"2024-05-14T10:08:29","date_gmt":"2024-05-14T10:08:29","guid":{"rendered":"https:\/\/signmycode.com\/resources\/?p=3574"},"modified":"2025-05-09T07:44:26","modified_gmt":"2025-05-09T07:44:26","slug":"how-to-use-windows-defender-to-scan-for-malware","status":"publish","type":"post","link":"https:\/\/signmycode.com\/resources\/how-to-use-windows-defender-to-scan-for-malware","title":{"rendered":"How to Use Windows Defender to Scan for Malware?"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Explore the blog to learn how to use Windows Defender to Scan the Malware! <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to Use Windows Defender to Scan a Folder for Malware?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To use Windows Defender to scan a folder for malware, you can follow these detailed steps:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Method 1: Right-click Scan<\/h3>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"288\" height=\"494\" src=\"https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2024\/04\/scan-with-windows-defender.jpg\" alt=\"Scan With Windows Defender\" class=\"wp-image-3581\" srcset=\"https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2024\/04\/scan-with-windows-defender.jpg 288w, https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2024\/04\/scan-with-windows-defender-175x300.jpg 175w\" sizes=\"auto, (max-width: 288px) 100vw, 288px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The<strong> folder <\/strong>you want to scan with, for instance, &#8220;<strong>Scan<\/strong>&#8220;.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Accordingly, from the context menu, you will be able to choose &#8220;<strong>Scan with Windows Defender<\/strong> \u201c.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Windows Defender <strong>scans the folder and its subfolders<\/strong> to detect possible viruses across the whole system.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Method 2: Custom Scan<\/h3>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"833\" height=\"629\" src=\"https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2024\/04\/custom-scan-defender.jpg\" alt=\"Custom Scan Defender\" class=\"wp-image-3582\" srcset=\"https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2024\/04\/custom-scan-defender.jpg 833w, https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2024\/04\/custom-scan-defender-300x227.jpg 300w, https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2024\/04\/custom-scan-defender-768x580.jpg 768w\" sizes=\"auto, (max-width: 833px) 100vw, 833px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Clicking on the <strong>Start <\/strong>button and then on <strong>Settings &gt; Privacy &amp; Security &gt; Windows Security<\/strong> will give you access to this program.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In <strong>Virus &amp; threat protection &gt; Scan options<\/strong>, click on <strong>Run a new scan option<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Choose the option <strong>Scan a Custom folder<\/strong> and select the <strong>desired folder<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now click on Scan Now for an immediate scan.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a><\/a>Method 3: Microsoft Defender Offline Scan<\/h3>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"417\" height=\"352\" src=\"https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2024\/04\/defender-offline-scan.png\" alt=\"Microsoft Defender Offline Scan\" class=\"wp-image-3577\" srcset=\"https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2024\/04\/defender-offline-scan.png 417w, https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2024\/04\/defender-offline-scan-300x253.png 300w\" sizes=\"auto, (max-width: 417px) 100vw, 417px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Windows Security can be opened by clicking the <strong>Start button<\/strong> and it is under this <strong>menu item settings<\/strong> &#8211; <strong>Privacy &amp; Security<\/strong> \u2013 <strong>Windows Security<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Tap on <strong>Virus &amp; Threat Protection<\/strong>, located on the menu, and then select <strong>Scan options<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Microsoft Defender <strong>Antivirus Option, Offline Scan<\/strong>, will start the scanning process.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This scan is not bound to the operating system itself; therefore, it is more powerful in tracking malware that can be hidden even in deep layers.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a><\/a>Method 4: Using Command Prompt<\/h3>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"390\" height=\"354\" src=\"https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2024\/04\/defender-scan-command-prompts.jpg\" alt=\"Malware Scan using Command Prompts\" class=\"wp-image-3579\" srcset=\"https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2024\/04\/defender-scan-command-prompts.jpg 390w, https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2024\/04\/defender-scan-command-prompts-300x272.jpg 300w\" sizes=\"auto, (max-width: 390px) 100vw, 390px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">You need to open Command Prompts as an administrator by clicking on the button \u201c<strong>Start<\/strong>\u201d, entering \u201c<strong>cmd<\/strong>\u201d into the search field search box, <strong>right-clicking on Command Prompts<\/strong> and choosing the \u201c<strong>Run as administrator<\/strong>\u201d option from the context menu.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Use the command <strong>mpcmdrun -Scan -ScanType 3 -File &#8220;C:Specify a value for \\PATH\\TO\\FOLDER&#8221;<\/strong> as a parameter to scan a particular folder.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Replace &#8220;<strong>C:Scan a folder using the command &#8220;C:\/path\/to\/folder&#8221; <\/strong>where you change C: with the actual path to the folder you want to scan.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a><\/a>Method 5: Starting a Scan<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Scan for Viruses With Windows Defender. For this, we Run A Virus Scan,<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"391\" height=\"403\" src=\"https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2024\/04\/run-a-scan-defender.jpg\" alt=\"Run a Virus Scan Defender\" class=\"wp-image-3580\" srcset=\"https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2024\/04\/run-a-scan-defender.jpg 391w, https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2024\/04\/run-a-scan-defender-291x300.jpg 291w\" sizes=\"auto, (max-width: 391px) 100vw, 391px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Start Windows Security using the Start <\/strong>button, and afterward, click <strong>Settings, Privacy &amp; Security<\/strong>, and then <strong>Windows Security<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Click on \u201c<strong>Select Device<\/strong>\u201d &gt; <strong>Move to \u201cStart Scan<\/strong>.\u201d<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Fasten your seat belts and press the Scan Type Button \u2013 it is up to you if you <strong>choose Quick Scan or Full Scan<\/strong>, and it&#8217;s scan time to see the evidence of malware.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Through such ways, you will be able to correctly apply Windows Defender scan to a folder for malware, and eventually, it will maintain the security system.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It is suggested that you constantly monitor your programs for malware and keep Windows Defender up to date, so always be aware of the latest virus list that can help you achieve the best protection.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Recommended:<\/strong> <a href=\"https:\/\/signmycode.com\/resources\/what-is-windows-defender-how-to-identify-your-windows-defender-version\">How to Identify Your Windows Defender Version?<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to Perform Microsoft Defender Offline Scan Function?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Microsoft Defender Offline Scan is an effective weapon for discovering and eradicating malware that has been embedded into your system away from a keen eye.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>To run an offline scan, follow these steps:<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Access Virus &amp; Threat Protection:<\/strong> Open Windows Security (Windows Defender) and use the &#8220;<strong>Virus &amp; Threat Protection<\/strong>&#8221; Branch.<\/li>\n\n\n\n<li><strong>Select Scan Options:<\/strong> You may go to &#8220;<strong>Current Threats<\/strong>&#8216; &#8216; or &#8220;<strong>Threat History<\/strong>&#8216; &#8216; and select the scan options; it is &#8220;<strong>Scan options<\/strong>&#8221; or &#8220;<strong>Advanced scan<\/strong>,&#8221; depending on your Windows version.<\/li>\n\n\n\n<li><strong>Initiate Microsoft Defender Offline Scan:<\/strong> Launch &#8220;Microsoft Offline Defender scan&#8221; by clicking &#8220;<strong>Scan now<\/strong>&#8220;. Your PC will spell out that there will be a restart, and then the offline scan will run in the recovered environment.<\/li>\n\n\n\n<li><strong>Check Scan Results:<\/strong> With the scan submitted, the PC will restart under automatic mode. To return to the displayed outcomes, enter the &#8220;<strong>Virus &amp; Threat Protection<\/strong>&#8221; section again, and then find &#8220;<strong>Protection history<\/strong>&#8221; or &#8220;<strong>Threat history<\/strong>&#8221; on it.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">In case you use your Windows 7 or Windows 8.1 version, download and install Windows Defender Offline on a disc, DVD, or USB flash drive, and create media, then start your PC with the created media.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Recommended:<\/strong> <a href=\"https:\/\/signmycode.com\/resources\/what-is-windows-defender-security-warning-how-to-get-ride\">What Is the Windows Defender Security Warning?<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To solve the problem, just confirm you are running with administrative rights; after that, try to disable startup programs or run a clean boot before the offline scan.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you have done all the above and the issue continues, you probably need to start from scratch. It means you should reset your system, reinstall, or perform an in-place upgrade of your Windows 10 operating system.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Setting Up Exclusions in Windows Defender<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To run an offline scan, follow these steps:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Access Windows Security:<\/strong> <strong>Click &#8220;win+r<\/strong>&#8221; and type &#8220;<strong>ms-settings:windowsdefender<\/strong>&#8221; to get into Windows Security.<\/li>\n\n\n\n<li><strong>Manage Settings:<\/strong> In the window called &#8220;<strong>Security<\/strong>,&#8221; click &#8220;<strong>Virus &amp; threat protection<\/strong>&#8221; and then &#8220;<strong>Manage settings<\/strong>&#8221; under &#8220;<strong>Virus &amp; threat protection settings<\/strong>.&#8221;<\/li>\n\n\n\n<li><strong>Add or Remove Exclusions:<\/strong> Click on &#8220;<strong>Add or remove exclusions<\/strong>&#8221; under &#8220;<strong>Exclusions<\/strong>&#8221; in the list.<\/li>\n\n\n\n<li><strong>Choose Exclusion Type:<\/strong> Click on the &#8220;<strong>Add an exclusion<\/strong>&#8221; button and <strong>select the kind of exclusion you need: file, folder, file type<\/strong>, or process.<\/li>\n\n\n\n<li><strong>Select File, Folder, File Type, or Process:<\/strong> The type of exclusion that you want to create will determine browsing and selecting the file type, folder, or process that you wish to exclude from the scanning.<\/li>\n\n\n\n<li><strong>Confirm Exclusion:<\/strong> Then, after you tap the item, choose &#8220;<strong>Select folder<\/strong>&#8220;, &#8220;<strong>Add<\/strong>&#8220;, or &#8220;<strong>Add an exclusion<\/strong>&#8221; to show that you want to add the exclusion.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"398\" src=\"https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2024\/04\/add-exclusion-to-defender.webp\" alt=\"Add Exclusion Defender\" class=\"wp-image-3583\" srcset=\"https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2024\/04\/add-exclusion-to-defender.webp 700w, https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2024\/04\/add-exclusion-to-defender-300x171.webp 300w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>For advanced exclusion settings, you can use Group Policy Editor:<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Access Group Policy Editor: <\/strong>Press&#8221; <strong>Win +R<\/strong>&#8221; and type&#8221; <strong>gpedit.msc<\/strong>&#8221; to run Group Policy Editor.<\/li>\n\n\n\n<li><strong>Configure Exclusions: <\/strong>Manage to &#8220;<strong>Computer configuration&#8221; &gt; &#8220;Administrative templates&#8221; &gt; &#8220;Windows components&#8221; &gt; &#8220;Microsoft Defender Antivirus&#8221; &gt; &#8220;Exclusions<\/strong>&#8220;<\/li>\n\n\n\n<li><strong>Set Extension, Path, or Process Exclusions: <\/strong>Set exclusions for extension path or process forms based on the<strong> <\/strong>requirement. Click &#8220;<strong>Apply<\/strong>&#8221; and &#8220;<strong>OK<\/strong>&#8221; to save the changes.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"394\" src=\"https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2024\/04\/gpedit-exclusion-method-defender.webp\" alt=\"Exclusion to Windows Security using Group Policy\" class=\"wp-image-3584\" srcset=\"https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2024\/04\/gpedit-exclusion-method-defender.webp 700w, https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2024\/04\/gpedit-exclusion-method-defender-300x169.webp 300w, https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2024\/04\/gpedit-exclusion-method-defender-176x98.webp 176w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">When considering adding exclusions, keep in mind that the higher the level of exclusions, the higher the risk of malware infections as well, so only add exclusions for the files, folders, file types, or processes you are sure are safe.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Utilizing Group Policy Editor for Defender<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To utilize Group Policy Editor for Windows Defender, follow these steps:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Access Group Policy Editor<\/strong>: Type &#8220;<strong>gpedit.msc<\/strong>&#8221; in the run dialogue box, usually by pressing the <strong>Windows logo key<\/strong> and the letter &#8220;<strong>R<\/strong>&#8221; together, and then press Enter to launch the Group Policy Editor.<\/li>\n\n\n\n<li><strong>Navigate to Windows Defender Settings<\/strong>: In the <strong>Edit Group Policy<\/strong>, locate &#8220;<strong>Computer Configuration<\/strong>&#8221; &gt; &#8220;<strong>Administrative Templates<\/strong>&#8221; &gt; &#8220;<strong>Windows Components<\/strong>&#8221; &gt; &#8220;<strong>Microsoft Defender Antivirus<\/strong>&#8220;.<\/li>\n\n\n\n<li><strong>Configure Defender Settings<\/strong>: Otherwise look for special settings such as &#8220;<strong>Turn Off Windows Defender Security<\/strong>&#8221; or &#8220;<strong>Turn Off Active Protection<\/strong>&#8221; in the right pane. That will bring up a timeline, click on the item you would like to change.<\/li>\n\n\n\n<li><strong>Enable or Disable Settings<\/strong>: For <strong>settings adjustment<\/strong>, just select &#8220;<strong>Enabled<\/strong>&#8221; or &#8220;<strong>Disabled<\/strong>&#8221; based on what you would want then click &#8220;Apply&#8221; and then &#8220;OK&#8221; in order to save your changes.<\/li>\n\n\n\n<li><strong>Update Group Policy<\/strong>: To <strong>use embedded settings<\/strong>, update the Group Policy settings in the local space by entering in the console the code &#8220;<strong>gpupdate \/force<\/strong>&#8220;.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"575\" height=\"329\" src=\"https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2024\/04\/turn-off-windows-defender-local-group.png\" alt=\"Turn Off Defender using Local Group Policy\" class=\"wp-image-3585\" srcset=\"https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2024\/04\/turn-off-windows-defender-local-group.png 575w, https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2024\/04\/turn-off-windows-defender-local-group-300x172.png 300w\" sizes=\"auto, (max-width: 575px) 100vw, 575px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Optimizing Microsoft Defender Service<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To optimize Microsoft Defender Service, you can consider the following steps:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Disable Windows Defender Tasks: <\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Disable unnecessary Windows Defender tasks in the Task Scheduler to reduce high memory usage. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Navigate to <strong>Task Scheduler Library &gt; Microsoft &gt; Windows &gt; Windows Defender and disable all tasks<\/strong>, including Windows Defender Cache Maintenance, Windows Defender Cleanup, Windows Defender Scheduled Scan, and Windows Defender Verification.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"389\" src=\"https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2024\/04\/windows-defender-tasks-disable.png\" alt=\"Disable Windows Defender Tasks\" class=\"wp-image-3586\" srcset=\"https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2024\/04\/windows-defender-tasks-disable.png 750w, https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2024\/04\/windows-defender-tasks-disable-300x156.png 300w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Disable Real-time Protection: <\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Temporarily disable Real-time protection in Windows Security to reduce high CPU usage. Navigate to <strong>Windows Security &gt; Virus &amp; threat protection &gt; Manage settings &gt; Real-time protection and turn it off<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"500\" height=\"452\" src=\"https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2024\/04\/disable-real-time-protection.png\" alt=\"Disable Real-Time Protection\" class=\"wp-image-3587\" srcset=\"https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2024\/04\/disable-real-time-protection.png 500w, https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2024\/04\/disable-real-time-protection-300x271.png 300w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Add Antimalware Scan Service Executable as an Exclusion: <\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Add the <a href=\"https:\/\/signmycode.com\/resources\/how-to-disable-the-antimalware-service-executable-on-windows-11-10\">Antimalware Scan Service Executable<\/a> as an exclusion to avoid resource waste.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Right-click on the taskbar<\/strong>, choose <strong>Task Manager<\/strong>, find <strong>Antimalware Scan Service in the Processes tab<\/strong>, <strong>right-click<\/strong> on it, choose <strong>Open File Location, copy the full path of it, go to Settings &gt; Update &amp; Security &gt; Windows Security &gt; Virus &amp; Threat Protection&gt; Manage settings &gt; Add or remove exclusions &gt; Add an exclusion &gt; File, paste the path, and click Open<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"282\" height=\"228\" src=\"https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2024\/04\/add-antimalware-service-executables.png\" alt=\"Add Exclusion Antimalware Service Executable\" class=\"wp-image-3588\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Use Group Policy Editor to Manage Defender Settings: <\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Use Group Policy Editor to manage and customize Windows Defender settings. Navigate to <strong>Computer Configuration &gt; Administrative Templates &gt; Windows Components &gt; Microsoft Defender Antivirus and configure settings like turning off Windows Defender Antivirus or real-time protection<\/strong>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Use PowerShell to Manage Defender: <\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Use PowerShell to manage and disable Microsoft Defender. Open <strong>PowerShell with administrator privileges<\/strong> and run commands like &#8220;<strong>Set-MpPreference -PUAProtection 1<\/strong>&#8221; to enable PUP\/PUA protection or &#8220;<strong>Set-MpPreference -DisableRealtimeMonitoring $true<\/strong>&#8221; to disable real-time monitoring.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Use Microsoft Defender Offline: <\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Use Microsoft Defender Offline for offline scanning and malware removal. <strong>Run Microsoft Defender Offline if Windows Security detects rootkits or other highly persistent malware or if you suspect your PC might have malware hiding on it.<\/strong><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The digital age is more and more saturated, which makes cybersecurity more relevant than ever.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Explore the blog to learn how to use Windows Defender to Scan the Malware! How to Use Windows Defender to Scan a Folder for Malware? To use Windows Defender to scan a folder for malware, you can follow these detailed steps: Method 1: Right-click Scan The folder you want to scan with, for instance, &#8220;Scan&#8220;.&hellip; <a class=\"more-link\" href=\"https:\/\/signmycode.com\/resources\/how-to-use-windows-defender-to-scan-for-malware\">Read More <span class=\"screen-reader-text\">How to Use Windows Defender to Scan for Malware?<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":3615,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[437],"tags":[519,518],"class_list":["post-3574","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-windows-security","tag-malware-removal-microsoft-defender","tag-malware-scan-using-windows-defender","entry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Use the Windows Defender to Scan the Malwares?<\/title>\n<meta name=\"description\" content=\"Microsoft Defender allows you to scan &amp; remove the malware with various options and methods. Follow how to use Defender to Scan the Malware.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/signmycode.com\/resources\/how-to-use-windows-defender-to-scan-for-malware\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Use the Windows Defender to Scan the Malwares?\" \/>\n<meta property=\"og:description\" content=\"Microsoft Defender allows you to scan &amp; remove the malware with various options and methods. Follow how to use Defender to Scan the Malware.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/signmycode.com\/resources\/how-to-use-windows-defender-to-scan-for-malware\" \/>\n<meta property=\"og:site_name\" content=\"SignMyCode - Resources\" \/>\n<meta property=\"article:published_time\" content=\"2024-05-14T10:08:29+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-05-09T07:44:26+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2024\/05\/windows-defender-scan-malware.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"912\" \/>\n\t<meta property=\"og:image:height\" content=\"453\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Janki Mehta\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@Sign_My_Code\" \/>\n<meta name=\"twitter:site\" content=\"@Sign_My_Code\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Janki Mehta\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/how-to-use-windows-defender-to-scan-for-malware#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/how-to-use-windows-defender-to-scan-for-malware\"},\"author\":{\"name\":\"Janki Mehta\",\"@id\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/#\\\/schema\\\/person\\\/2e80276fd34fd5439c04cd3cb96a389f\"},\"headline\":\"How to Use Windows Defender to Scan for Malware?\",\"datePublished\":\"2024-05-14T10:08:29+00:00\",\"dateModified\":\"2025-05-09T07:44:26+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/how-to-use-windows-defender-to-scan-for-malware\"},\"wordCount\":1493,\"publisher\":{\"@id\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/how-to-use-windows-defender-to-scan-for-malware#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/wp-content\\\/uploads\\\/2024\\\/05\\\/windows-defender-scan-malware.jpg\",\"keywords\":[\"Malware Removal Microsoft Defender\",\"Malware Scan using Windows Defender\"],\"articleSection\":[\"Windows Security\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/how-to-use-windows-defender-to-scan-for-malware\",\"url\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/how-to-use-windows-defender-to-scan-for-malware\",\"name\":\"How to Use the Windows Defender to Scan the Malwares?\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/how-to-use-windows-defender-to-scan-for-malware#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/how-to-use-windows-defender-to-scan-for-malware#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/wp-content\\\/uploads\\\/2024\\\/05\\\/windows-defender-scan-malware.jpg\",\"datePublished\":\"2024-05-14T10:08:29+00:00\",\"dateModified\":\"2025-05-09T07:44:26+00:00\",\"description\":\"Microsoft Defender allows you to scan & remove the malware with various options and methods. Follow how to use Defender to Scan the Malware.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/how-to-use-windows-defender-to-scan-for-malware#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/signmycode.com\\\/resources\\\/how-to-use-windows-defender-to-scan-for-malware\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/how-to-use-windows-defender-to-scan-for-malware#primaryimage\",\"url\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/wp-content\\\/uploads\\\/2024\\\/05\\\/windows-defender-scan-malware.jpg\",\"contentUrl\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/wp-content\\\/uploads\\\/2024\\\/05\\\/windows-defender-scan-malware.jpg\",\"width\":912,\"height\":453,\"caption\":\"Windows Defender to Scan the Malware\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/how-to-use-windows-defender-to-scan-for-malware#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Use Windows Defender to Scan for Malware?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/#website\",\"url\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/\",\"name\":\"SignMyCode - Resources\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/#organization\",\"name\":\"SignMyCode\",\"url\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/wp-content\\\/uploads\\\/2021\\\/11\\\/logo1.png\",\"contentUrl\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/wp-content\\\/uploads\\\/2021\\\/11\\\/logo1.png\",\"width\":135,\"height\":86,\"caption\":\"SignMyCode\"},\"image\":{\"@id\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/x.com\\\/Sign_My_Code\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/signmycode.com\\\/resources\\\/#\\\/schema\\\/person\\\/2e80276fd34fd5439c04cd3cb96a389f\",\"name\":\"Janki Mehta\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/74a1328bbec77f3a65123c2396050e61b60fe3831478ceb96b55e5a0fe44e370?s=96&d=blank&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/74a1328bbec77f3a65123c2396050e61b60fe3831478ceb96b55e5a0fe44e370?s=96&d=blank&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/74a1328bbec77f3a65123c2396050e61b60fe3831478ceb96b55e5a0fe44e370?s=96&d=blank&r=g\",\"caption\":\"Janki Mehta\"},\"description\":\"Janki Mehta is a Cyber-Security Enthusiast who constantly updates herself with new advancements in the Web\\\/Cyber Security niche. Along with theoretical knowledge, she also implements her practical expertise in day-to-day tasks and helps others to protect themselves from threats.\",\"sameAs\":[\"http:\\\/\\\/smcresources.ssltoolsonline.com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Use the Windows Defender to Scan the Malwares?","description":"Microsoft Defender allows you to scan & remove the malware with various options and methods. Follow how to use Defender to Scan the Malware.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/signmycode.com\/resources\/how-to-use-windows-defender-to-scan-for-malware","og_locale":"en_US","og_type":"article","og_title":"How to Use the Windows Defender to Scan the Malwares?","og_description":"Microsoft Defender allows you to scan & remove the malware with various options and methods. Follow how to use Defender to Scan the Malware.","og_url":"https:\/\/signmycode.com\/resources\/how-to-use-windows-defender-to-scan-for-malware","og_site_name":"SignMyCode - Resources","article_published_time":"2024-05-14T10:08:29+00:00","article_modified_time":"2025-05-09T07:44:26+00:00","og_image":[{"width":912,"height":453,"url":"https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2024\/05\/windows-defender-scan-malware.jpg","type":"image\/jpeg"}],"author":"Janki Mehta","twitter_card":"summary_large_image","twitter_creator":"@Sign_My_Code","twitter_site":"@Sign_My_Code","twitter_misc":{"Written by":"Janki Mehta","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/signmycode.com\/resources\/how-to-use-windows-defender-to-scan-for-malware#article","isPartOf":{"@id":"https:\/\/signmycode.com\/resources\/how-to-use-windows-defender-to-scan-for-malware"},"author":{"name":"Janki Mehta","@id":"https:\/\/signmycode.com\/resources\/#\/schema\/person\/2e80276fd34fd5439c04cd3cb96a389f"},"headline":"How to Use Windows Defender to Scan for Malware?","datePublished":"2024-05-14T10:08:29+00:00","dateModified":"2025-05-09T07:44:26+00:00","mainEntityOfPage":{"@id":"https:\/\/signmycode.com\/resources\/how-to-use-windows-defender-to-scan-for-malware"},"wordCount":1493,"publisher":{"@id":"https:\/\/signmycode.com\/resources\/#organization"},"image":{"@id":"https:\/\/signmycode.com\/resources\/how-to-use-windows-defender-to-scan-for-malware#primaryimage"},"thumbnailUrl":"https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2024\/05\/windows-defender-scan-malware.jpg","keywords":["Malware Removal Microsoft Defender","Malware Scan using Windows Defender"],"articleSection":["Windows Security"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/signmycode.com\/resources\/how-to-use-windows-defender-to-scan-for-malware","url":"https:\/\/signmycode.com\/resources\/how-to-use-windows-defender-to-scan-for-malware","name":"How to Use the Windows Defender to Scan the Malwares?","isPartOf":{"@id":"https:\/\/signmycode.com\/resources\/#website"},"primaryImageOfPage":{"@id":"https:\/\/signmycode.com\/resources\/how-to-use-windows-defender-to-scan-for-malware#primaryimage"},"image":{"@id":"https:\/\/signmycode.com\/resources\/how-to-use-windows-defender-to-scan-for-malware#primaryimage"},"thumbnailUrl":"https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2024\/05\/windows-defender-scan-malware.jpg","datePublished":"2024-05-14T10:08:29+00:00","dateModified":"2025-05-09T07:44:26+00:00","description":"Microsoft Defender allows you to scan & remove the malware with various options and methods. Follow how to use Defender to Scan the Malware.","breadcrumb":{"@id":"https:\/\/signmycode.com\/resources\/how-to-use-windows-defender-to-scan-for-malware#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/signmycode.com\/resources\/how-to-use-windows-defender-to-scan-for-malware"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/signmycode.com\/resources\/how-to-use-windows-defender-to-scan-for-malware#primaryimage","url":"https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2024\/05\/windows-defender-scan-malware.jpg","contentUrl":"https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2024\/05\/windows-defender-scan-malware.jpg","width":912,"height":453,"caption":"Windows Defender to Scan the Malware"},{"@type":"BreadcrumbList","@id":"https:\/\/signmycode.com\/resources\/how-to-use-windows-defender-to-scan-for-malware#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/signmycode.com\/resources\/"},{"@type":"ListItem","position":2,"name":"How to Use Windows Defender to Scan for Malware?"}]},{"@type":"WebSite","@id":"https:\/\/signmycode.com\/resources\/#website","url":"https:\/\/signmycode.com\/resources\/","name":"SignMyCode - Resources","description":"","publisher":{"@id":"https:\/\/signmycode.com\/resources\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/signmycode.com\/resources\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/signmycode.com\/resources\/#organization","name":"SignMyCode","url":"https:\/\/signmycode.com\/resources\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/signmycode.com\/resources\/#\/schema\/logo\/image\/","url":"https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2021\/11\/logo1.png","contentUrl":"https:\/\/signmycode.com\/resources\/wp-content\/uploads\/2021\/11\/logo1.png","width":135,"height":86,"caption":"SignMyCode"},"image":{"@id":"https:\/\/signmycode.com\/resources\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/Sign_My_Code"]},{"@type":"Person","@id":"https:\/\/signmycode.com\/resources\/#\/schema\/person\/2e80276fd34fd5439c04cd3cb96a389f","name":"Janki Mehta","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/74a1328bbec77f3a65123c2396050e61b60fe3831478ceb96b55e5a0fe44e370?s=96&d=blank&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/74a1328bbec77f3a65123c2396050e61b60fe3831478ceb96b55e5a0fe44e370?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/74a1328bbec77f3a65123c2396050e61b60fe3831478ceb96b55e5a0fe44e370?s=96&d=blank&r=g","caption":"Janki Mehta"},"description":"Janki Mehta is a Cyber-Security Enthusiast who constantly updates herself with new advancements in the Web\/Cyber Security niche. Along with theoretical knowledge, she also implements her practical expertise in day-to-day tasks and helps others to protect themselves from threats.","sameAs":["http:\/\/smcresources.ssltoolsonline.com"]}]}},"_links":{"self":[{"href":"https:\/\/signmycode.com\/resources\/wp-json\/wp\/v2\/posts\/3574","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/signmycode.com\/resources\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/signmycode.com\/resources\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/signmycode.com\/resources\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/signmycode.com\/resources\/wp-json\/wp\/v2\/comments?post=3574"}],"version-history":[{"count":8,"href":"https:\/\/signmycode.com\/resources\/wp-json\/wp\/v2\/posts\/3574\/revisions"}],"predecessor-version":[{"id":4410,"href":"https:\/\/signmycode.com\/resources\/wp-json\/wp\/v2\/posts\/3574\/revisions\/4410"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/signmycode.com\/resources\/wp-json\/wp\/v2\/media\/3615"}],"wp:attachment":[{"href":"https:\/\/signmycode.com\/resources\/wp-json\/wp\/v2\/media?parent=3574"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/signmycode.com\/resources\/wp-json\/wp\/v2\/categories?post=3574"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/signmycode.com\/resources\/wp-json\/wp\/v2\/tags?post=3574"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}