{"id":933,"date":"2009-10-03T13:05:55","date_gmt":"2009-10-03T07:35:55","guid":{"rendered":"http:\/\/198.58.113.91\/blog\/?p=933"},"modified":"2025-08-16T13:44:37","modified_gmt":"2025-08-16T08:14:37","slug":"updating-microsoft-security-essentials-using-command-line","status":"publish","type":"post","link":"https:\/\/www.winhelponline.com\/blog\/updating-microsoft-security-essentials-using-command-line\/","title":{"rendered":"Updating Microsoft Security Essentials Using Command-Line"},"content":{"rendered":"<p><img decoding=\"async\" class=\"alignleft\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/archived\/mse-icon.png\" \/>Microsoft Security Essentials includes a command-line utility which can be used to update the virus\/malware definitions, initiate a scan, undo a recent definition update and perform other tasks. To know how to use the command-line utility, open a Command Prompt window (CMD.EXE) and execute the following command:<\/p>\n<div class=\"commandline\">&#8220;%ProgramFiles%\\Microsoft Security Essentials\\MpCmdRun.exe&#8221; \/?<\/div>\n<p>&nbsp;<\/p>\n<table id=\"table1\" border=\"1\">\n<tbody>\n<tr>\n<td align=\"center\"><b>Command<\/b><\/td>\n<td align=\"center\"><b>Description<\/b><\/td>\n<\/tr>\n<tr>\n<td>-? \/ -h<\/td>\n<td>Displays all available options for this tool.<\/td>\n<\/tr>\n<tr>\n<td>-Trace [-Grouping #] [-Level #]<\/td>\n<td>Starts diagnostic tracing<\/td>\n<\/tr>\n<tr>\n<td>-RemoveDefinitions [-All]<\/td>\n<td>Restores the installed signature definitions to a previous backup copy or to the original default set of signatures<\/td>\n<\/tr>\n<tr>\n<td>-RestoreDefaults<\/td>\n<td>Resets the registry values for Microsoft Antimalware Service settings to known good defaults<\/td>\n<\/tr>\n<tr>\n<td>-SignatureUpdate [-UNC]<\/td>\n<td>Checks for new definition updates<\/td>\n<\/tr>\n<tr>\n<td>-Scan [-ScanType]<\/td>\n<td>Scans for malicious software<\/td>\n<\/tr>\n<tr>\n<td>-Restore -Name &lt;name&gt; [-All]<\/td>\n<td>Restore the most recently or all quarantined item(s) based on name<\/td>\n<\/tr>\n<tr>\n<td>-GetFiles<\/td>\n<td>Collects support information<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>In addition to the above information, <strong>detailed information<\/strong> for each command-line parameter is shown when you run the above command.<\/p>\n<p>To update the MSE virus\/malware definitions, use this command:<\/p>\n<div class=\"commandline\">&#8220;%ProgramFiles%\\Microsoft Security Essentials\\MpCmdRun.exe&#8221; -SignatureUpdate<\/div>\n<p>The command-line tool can be useful if you want to update MSE using Batch file, Script or using Task Scheduler.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Microsoft Security Essentials includes a command-line utility which can be used to update the virus\/malware definitions, initiate a scan, undo a recent definition update and perform other tasks. To know how to use the command-line utility, open a Command Prompt window (CMD.EXE) and execute the following command: &#8220;%ProgramFiles%\\Microsoft Security Essentials\\MpCmdRun.exe&#8221; \/? &nbsp; Command Description -? &#8230; <a title=\"Updating Microsoft Security Essentials Using Command-Line\" class=\"read-more\" href=\"https:\/\/www.winhelponline.com\/blog\/updating-microsoft-security-essentials-using-command-line\/\" aria-label=\"Read more about Updating Microsoft Security Essentials Using Command-Line\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[7],"tags":[326],"class_list":["post-933","post","type-post","status-publish","format-standard","hentry","category-windows","tag-mse"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":971,"url":"https:\/\/www.winhelponline.com\/blog\/update-mse-definitions-offline\/","url_meta":{"origin":933,"position":0},"title":"How to Update Microsoft Security Essentials Definitions Offline","author":"Ramesh","date":"November 28, 2009","format":false,"excerpt":"Microsoft Security Essentials uses Microsoft Update to check for, and download definition updates every 24 hours. If you have a number of computers in your home or office without (or having limited) internet access, you may have to install the definition updates offline. To download the Microsoft Security Essentials virus\u2026","rel":"","context":"In &quot;Windows&quot;","block_context":{"text":"Windows","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":4579,"url":"https:\/\/www.winhelponline.com\/blog\/microsoft-security-essentials-adware-pua-protection\/","url_meta":{"origin":933,"position":1},"title":"How to Enable Adware or PUA Protection in Microsoft Security Essentials","author":"Ramesh","date":"November 14, 2016","format":false,"excerpt":"You can enable PUA or adware protection in Windows Defender using different methods explained in the article How to Enable PUA, PUP or Adware Protection in Windows Defender. But, if you\u2019re still using Windows 7 and relying on Microsoft Security Essentials (MSE) for real-time antivirus protection, this post has the\u2026","rel":"","context":"In &quot;Windows 7&quot;","block_context":{"text":"Windows 7","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-7\/"},"img":{"alt_text":"enable pua protection in microsoft security essentials","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/11\/mse-pua-4.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/11\/mse-pua-4.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/11\/mse-pua-4.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":1437,"url":"https:\/\/www.winhelponline.com\/blog\/mpcmdrun-signature-update-and-quickscan-one-go\/","url_meta":{"origin":933,"position":2},"title":"How to Update Microsoft Defender and Run a Quick Scan in One Go","author":"Ramesh","date":"January 17, 2016","format":false,"excerpt":"The Microsoft Defender command-line utility MpCmdRun.exe is mostly used to schedule scans and update the definitions. The MpCmdRun.exe command usage info can be obtained by running MpCmdRun.exe with \"\/?\" or without any parameter. However, it doesn't mention a useful switch that updates Defender signatures and runs a Quick Scan at\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"windows defender scan event log","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/01\/defender-scan-event-log.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/01\/defender-scan-event-log.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/01\/defender-scan-event-log.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":75146,"url":"https:\/\/www.winhelponline.com\/blog\/defender-definitions-update-frequency\/","url_meta":{"origin":933,"position":3},"title":"How to Change Microsoft Defender Definitions Update Frequency","author":"Ramesh","date":"May 12, 2024","format":false,"excerpt":"Microsoft Malware Protection Center releases security intelligence updates (a.k.a, definition updates) every 3-4 hours to update the virus definitions. However, your system may not automatically install every security intelligence update. Windows Update automatically installs the Defender security intelligence update once per day. It lets you manually check for updates and\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"defender updates - windows update","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2024\/05\/wu-defender-update.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2024\/05\/wu-defender-update.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2024\/05\/wu-defender-update.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":1051,"url":"https:\/\/www.winhelponline.com\/blog\/scan-drives-mse-autoplay-dialog\/","url_meta":{"origin":933,"position":4},"title":"Scan USB Drives Using Microsoft Security Essentials via the AutoPlay Dialog","author":"Ramesh","date":"May 26, 2010","format":false,"excerpt":"We\u2019d like to share with you an interesting registry hack that adds a Microsoft Security Essentials AutoPlay handler so that you can thoroughly scan a CD\/DVD media or USB flash drive for viruses, via the AutoPlay dialog. See article Scan Your Thumb Drive for Viruses from the AutoPlay Dialog at\u2026","rel":"","context":"In &quot;Windows&quot;","block_context":{"text":"Windows","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":80555,"url":"https:\/\/www.winhelponline.com\/blog\/clear-windows-update-history\/","url_meta":{"origin":933,"position":5},"title":"How to Clear Windows Update History","author":"Ramesh","date":"March 24, 2026","format":false,"excerpt":"This post explains how to clear the Windows Update history on Windows 10 and 11. The Windows Update client keeps track of installed and failed updates. The updates include Feature updates, monthly Cumulative Updates (Quality Updates), driver updates, Microsoft Defender Antivirus definitions, Windows Security Platform updates, and other non-security updates.\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"clear the entire windows update history","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2026\/03\/clear-update-history-1.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2026\/03\/clear-update-history-1.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2026\/03\/clear-update-history-1.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2026\/03\/clear-update-history-1.png?resize=700%2C400&ssl=1 2x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/933","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/comments?post=933"}],"version-history":[{"count":0,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/933\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/media?parent=933"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/categories?post=933"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/tags?post=933"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}