Add Windows Defender Options as Cascading Right-Click Menu in Desktop

Last we saw how the Windows Defender GUI (msascui.exe) can be automated using hidden command-line switches, similar to it’s command-line version – mpcmdrun.exe. Here is a registry tweak that adds some Windows Defender options to the Desktop Context menu as cascading menu to quickly run a scan, update or open Windows Defender.

Download Registry Tweak – defender_menu.zip, unzip and run the enclosed REG file. When you right-click on the desktop, you’ll see a Windows Defender menu option with sub-menu containing open, scan, settings, quick scan and full scan options.

defender cascading menu



Registry File Contents

Windows Registry Editor Version 5.00

;Ramesh Srinivasan
;Winhelponline.com
;Adds Defender cascading menu in Desktop Right-click menu

[HKEY_CLASSES_ROOT\DesktopBackground\Shell\WindowsDefender]
"Icon"="C:\\Program Files\\Windows Defender\\EppManifest.dll"
"SubCommands"="WD-Open;WD-Settings;WD-Update;WD-QuickScan;WD-FullScan"
"Muiverb"="Windows Defender"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\WD-FullScan]
@="Full Scan"
"Icon"="C:\\Program Files\\Windows Defender\\EppManifest.dll"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\WD-FullScan\command]
@="\"C:\\Program Files\\Windows Defender\\MSASCui.exe\" -FullScan"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\WD-Open]
@="Open"
"Icon"="C:\\Program Files\\Windows Defender\\EppManifest.dll"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\WD-Open\command]
@="C:\\Program Files\\Windows Defender\\MSASCui.exe"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\WD-QuickScan]
@="Quick Scan"
"Icon"="C:\\Program Files\\Windows Defender\\EppManifest.dll"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\WD-QuickScan\command]
@="\"C:\\Program Files\\Windows Defender\\MSASCui.exe\" -QuickScan"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\WD-Settings]
@="Settings"
"Icon"="C:\\Program Files\\Windows Defender\\EppManifest.dll"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\WD-Settings\command]
@="explorer.exe ms-settings:"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\WD-Update]
@="Update"
"Icon"="C:\\Program Files\\Windows Defender\\EppManifest.dll"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\WD-Update\command]
@="\"C:\\Program Files\\Windows Defender\\MSASCui.exe\" -Update"

It’s obvious from the REG file what command is run when you click on the menu items. For more information, check out my earlier post Command-line Switches to Automate Windows Defender GUI (MSASCui.exe).


One small request: If you liked this post, please share this?

One "tiny" share from you would seriously help a lot with the growth of this blog. Some great suggestions:
  • Pin it!
  • Share it to your favorite blog + Facebook, Reddit
  • Tweet it!
So thank you so much for your support. It won't take more than 10 seconds of your time. The share buttons are right below. :)

Ramesh Srinivasan is passionate about Microsoft technologies and he has been a consecutive ten-time recipient of the Microsoft Most Valuable Professional award in the Windows Shell/Desktop Experience category, from 2003 to 2012. He loves to troubleshoot and write about Windows. Ramesh founded Winhelponline.com in 2005.

Leave a Comment