Discussione: Windows 8 Tricks
Visualizza messaggio singolo
Vecchio 16-02-2013, 21.44.08   #30
xilo76
Forum supporter
Global Moderator
 
Registrato: 23-08-2007
Messaggi: 2.704
xilo76 è conosciuto da tuttixilo76 è conosciuto da tuttixilo76 è conosciuto da tuttixilo76 è conosciuto da tutti
Rif: Windows 8 Tricks

Aggiungere Windows Defender al menu contestuale del desktop tramite registro di sistema


Cosa fa?

Aggiunge Windows Defender al menu contestuale del desktop, dando la possibilità di scegliere fra sue cinque diverse opzioni: scansione veloce del sistema, aggiornamento definizioni e scansione veloce del sistema, scansione completa del sistema, aggiornamento definizioni e impostazioni.


Come devo fare?

1) Aggiungere alla variabile d'ambiente path il percorso di Windows defender (se non è già presente)
  • Click su start
  • nella barra di ricerca subito sopra scrivere SystemPropertiesAdvanced.exe
  • cliccare variabili d'ambiente
  • fare doppioclick sulla variabile di sistema path
  • aggiungere alla fine (dopo tutti gli altri percorsi) C:\Program Files\Windows Defender
  • confermare cliccando ok
2) Creare il file .reg e cliccarlo
  • creare e aprire un nuovo file con blocco note (notepad.exe)
  • aggiungere le righe seguenti nel riquadro del codice
  • salvare il file con estensione .reg (per esempio scansione.reg) e chiuderlo
  • fare doppio click sul file per aggiungerlo al registro
Codice:
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\DesktopBackground\Shell\WindowsDefender]
"Icon"="MSASCui.exe,0"
"MUIVerb"="Windows Defender"
"SubCommands"="Menu.Click.Destro.Desktop.Windows.Defender.Scansione.Veloce;Menu.Click.Destro.Desktop.Windows.Defender.Aggiornamento.E.Scansione.Veloce;Menu.Click.Destro.Desktop.Windows.Defender.Scansione.Completa;Menu.Click.Destro.Desktop.Windows.Defender.Aggiornamento.Definizioni;Menu.Click.Destro.Desktop.Windows.Defender.Impostazioni"


[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\Menu.Click.Destro.Desktop.Windows.Defender.Impostazioni]
@="Impostazioni"
"Icon"="MSASCui.exe,0"


[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\Menu.Click.Destro.Desktop.Windows.Defender.Impostazioni\command]
@="\"C:\\Program Files\\Windows Defender\\msascui.exe\" -Settings"


[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\Menu.Click.Destro.Desktop.Windows.Defender.Aggiornamento.Definizioni]
@="Aggiornamento Definizioni"
"Icon"="MSASCui.exe,0"


[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\Menu.Click.Destro.Desktop.Windows.Defender.Aggiornamento.Definizioni\command]
@="\"C:\\Program Files\\Windows Defender\\msascui.exe\" -Update"


[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\Menu.Click.Destro.Desktop.Windows.Defender.Aggiornamento.E.Scansione.Veloce]
@="Aggiornamento E Scansione Veloce"
"Icon"="MSASCui.exe,0"


[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\Menu.Click.Destro.Desktop.Windows.Defender.Aggiornamento.E.Scansione.Veloce\command]
@="\"C:\\Program Files\\Windows Defender\\msascui.exe\" -UpdateAndQuickScan"


[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\Menu.Click.Destro.Desktop.Windows.Defender.Scansione.Completa]
@="Scansione Completa"
"Icon"="MSASCui.exe,0"


[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\Menu.Click.Destro.Desktop.Windows.Defender.Scansione.Completa\command]
@="\"C:\\Program Files\\Windows Defender\\msascui.exe\" -FullScan"


[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\Menu.Click.Destro.Desktop.Windows.Defender.Scansione.Veloce]
@="Scansione Veloce"
"Icon"="MSASCui.exe,0"


[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\Menu.Click.Destro.Desktop.Windows.Defender.Scansione.Veloce\command]
@="\"C:\\Program Files\\Windows Defender\\msascui.exe\" -QuickScan"
3) Per l'aggiornamento delle definizioni: se il firewall blocca tutte le connessioni in uscita, bisogna creare una regola per consentire al servizio wuauserv (Windows Update) le connessioni in uscita, almeno per le porte tcp 80 e tcp 443
Il servizio Windows update non deve essere disabilitato, ovvero deve essere attivo.
Di solito ha lo stato in esecuzione e tipo di avvio manuale (trigger).
Questo naturalmente è valido anche se non si fa la modifica del registro proposta, ovvero se si usa Windows defender nel modo tradizionale con l'interfaccia grafica utente (GUI).


Risultato finale


Clicca per ingrandire
Thumbnail
Clicca per chiudere



E per rimuovere le modifiche fatte al registro?

Codice:
Windows Registry Editor Version 5.00

[-HKEY_CLASSES_ROOT\DesktopBackground\Shell\WindowsDefender]
"Icon"="MSASCui.exe,0"
"MUIVerb"="Windows Defender"
"SubCommands"="Menu.Click.Destro.Desktop.Windows.Defender.Scansione.Veloce;Menu.Click.Destro.Desktop.Windows.Defender.Aggiornamento.E.Scansione.Veloce;Menu.Click.Destro.Desktop.Windows.Defender.Scansione.Completa;Menu.Click.Destro.Desktop.Windows.Defender.Aggiornamento.Definizioni;Menu.Click.Destro.Desktop.Windows.Defender.Impostazioni"


[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\Menu.Click.Destro.Desktop.Windows.Defender.Impostazioni]
@="Impostazioni"
"Icon"="MSASCui.exe,0"


[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\Menu.Click.Destro.Desktop.Windows.Defender.Impostazioni\command]
@="\"C:\\Program Files\\Windows Defender\\msascui.exe\" -Settings"


[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\Menu.Click.Destro.Desktop.Windows.Defender.Aggiornamento.Definizioni]
@="Aggiornamento Definizioni"
"Icon"="MSASCui.exe,0"


[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\Menu.Click.Destro.Desktop.Windows.Defender.Aggiornamento.Definizioni\command]
@="\"C:\\Program Files\\Windows Defender\\msascui.exe\" -Update"


[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\Menu.Click.Destro.Desktop.Windows.Defender.Aggiornamento.E.Scansione.Veloce]
@="Aggiornamento E Scansione Veloce"
"Icon"="MSASCui.exe,0"


[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\Menu.Click.Destro.Desktop.Windows.Defender.Aggiornamento.E.Scansione.Veloce\command]
@="\"C:\\Program Files\\Windows Defender\\msascui.exe\" -UpdateAndQuickScan"


[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\Menu.Click.Destro.Desktop.Windows.Defender.Scansione.Completa]
@="Scansione Completa"
"Icon"="MSASCui.exe,0"


[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\Menu.Click.Destro.Desktop.Windows.Defender.Scansione.Completa\command]
@="\"C:\\Program Files\\Windows Defender\\msascui.exe\" -FullScan"


[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\Menu.Click.Destro.Desktop.Windows.Defender.Scansione.Veloce]
@="Scansione Veloce"
"Icon"="MSASCui.exe,0"


[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\Menu.Click.Destro.Desktop.Windows.Defender.Scansione.Veloce\command]
@="\"C:\\Program Files\\Windows Defender\\msascui.exe\" -QuickScan"
xilo76 non è collegato   Rispondi citando