Viimati nägime, kuidas Windows Defenderi GUI-d (msascui.exe) saab peidetud käsuridade lülitite abil automatiseerida, sarnaselt käsuridade versiooniga - mpcmdrun.exe. Siin on registri näpunäide, mis lisab mõned Windows Defenderi suvandid töölaua kontekstimenüüsse kaskaadmenüüna, et skannimist, värskendamist või Windows Defenderit kiiresti avada.
Laadige alla registri näpunäide - defender_menu.zip, pakkige lahti ja käivitage lisatud REG-fail. Kui teete paremklõpsu töölaual, näete Windows Defenderi menüüvalikut alammenüüga, mis sisaldab avatud, skannimise, sätteid, kiirskaneerimise ja täieliku skannimise suvandeid.
Registrifaili sisu
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"
REG-failist on ilmne, millist käsku menüüelementidele klõpsates käivitatakse. Lisateabe saamiseks vaadake minu varasemat postitust Käsurealülitid Windows Defenderi GUI automatiseerimiseks (MSASCui.exe).