[TUTORIEL] Menu contextuel : ajouts WD et PM

Vous créez ou partagez un tutorial, postez-le ici !
Répondre
Avatar du membre
Auteur du sujet
Azamat
VIP
VIP
Messages : 1306
Enregistré le : il y a 14 ans
Localisation : Toujours plus à l'ouest...

[TUTORIEL] Menu contextuel : ajouts WD et PM

Message par Azamat »

Désolé pour le titre trop court pour que je développe ainsi
[TUTORIAL] Menu contextuel : ajouts Windows Defender et Power Menu

J'utilise ces fonctions dans les environnements suivants :
Windows 8 Professionnel x64 et Windows 8.1 Professionnel x64
La fonction Power Menu peut être appliquée sur Windows 7 (mais pas Windows Defender... puisque c'est MSE pour cette version de Windows)

Donc, si vous n'aviez pas (ou n'avez plus depuis l'installation de la 8.1 :@ ) dans votre menu contextuel, les possibilités suivantes :

Scan avec Windows Defender
Image
permet de lancer l'analyse sur un élément de son choix dans l'explorateur

et/ou

Intégration d'un sous-menu "Power Menu"
Image
permet d'exécuter chacune des fonctions en 1 clic

voici pour chacun les contenus à copier puis coller dans un fichier texte (au titre explicite) dont vous renommerez l'extension en .reg
Un clic-droit sur le fichier .reg et la sélection de "fusionner" mettra à jour votre Registre pour une intégration immédiatement opérationnelle de la ou des fonctions de votre choix.

Rappel d'une précaution : avant toute manipulation sur le Registre, faites-en une sauvegarde ou faites un Point de restauration système :ugeek:

Scan avec Windows Defender

Code : Tout sélectionner

Windows Registry Editor Version 5.00

;Created by Vishal Gupta for AskVG.com

[HKEY_CLASSES_ROOT\*\shell\scanwithwindowsdefender]
"MUIVerb"="Scan avec Windows Defender"
"Icon"="%ProgramFiles%\\Windows Defender\\MSASCui.exe,0"

[HKEY_CLASSES_ROOT\*\shell\scanwithwindowsdefender\Command]
@="\"C:\\Program Files\\Windows Defender\\MpCmdRun.exe\" -scan -scantype 3 -file \"%1\""
Intégration d'un sous-menu "Power Menu"

Code : Tout sélectionner

Windows Registry Editor Version 5.00



[HKEY_CLASSES_ROOT\DesktopBackground\Shell\Power Menu]
"MUIVerb"="Power menu"
"SubCommands"="lock;logoff;switch;sleep;hibernate;restart;safemode;shutdown;hybridshutdown"
"Icon"="shell32.dll,215"
"Position"="bottom"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\lock]
@="Verrouiller"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\lock\command]
@="Rundll32 User32.dll,LockWorkStation"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\logoff]
@="Se déconnecter"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\logoff\command]
@="Shutdown -l"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\switch]
@="Changement d'utilisateur"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\switch\command]
@="tsdiscon.exe"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\sleep]
@="Veille"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\sleep\command]
@="rundll32.exe powrprof.dll,SetSuspendState Sleep"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\hibernate]
@="Veille prolongée"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\hibernate\command]
@="Shutdown -h"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\restart]
@="Redémarrer"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\restart\command]
@="Shutdown -r -f -t 00"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\safemode]
@="Redémarrer avec les options de démarrage"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\safemode\command]
@="Shutdown -r -o -f -t 00"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\shutdown]
@="Arrêter"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\shutdown\command]
@="Shutdown -s -f -t 00"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\hybridshutdown]
@="Arrêt (veille hybride)"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\hybridshutdown\command]
@="Shutdown -s -f -t 00 -hybrid"
Suppression de l’intégration du sous-menu "Power Menu"

Code : Tout sélectionner

Windows Registry Editor Version 5.00



[-HKEY_CLASSES_ROOT\DesktopBackground\Shell\Power Menu]

[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\lock]

[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\logoff]

[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\switch]

[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\sleep]

[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\hibernate]

[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\restart]

[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\safemode]

[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\shutdown]

[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\hybridshutdown]

Avatar du membre
qwerty75
Grand Habitué
Grand Habitué
Messages : 999
Enregistré le : il y a 14 ans

Message par qwerty75 »

Merci verrie mutch Maître Azamat, je garde ça in the pocket en prévision des jours lointains où je me mettrai sous Windows 8.1.
Quand les plâtres auront été bien essuyés ou quand ces manquements auront été comblés... :lol:
Avatar du membre
ThiWeb
Administrateur
Administrateur
Messages : 9580
Enregistré le : il y a 14 ans
Localisation : On earth
Contact :

Message par ThiWeb »

Mouai... Je ne suis pas fan de ce genre de bricoles, mais le fait de permettre ces possibilités est intéressant ;)

ThiWeb
Petrus
Grand Habitué
Grand Habitué
Messages : 1009
Enregistré le : il y a 14 ans

Message par Petrus »

qwerty75 a écrit :Merci verrie mutch Maître Azamat, je garde ça in the pocket en prévision des jours lointains où je me mettrai sous Windows 8.1.
Quand les plâtres auront été bien essuyés ou quand ces manquements auront été comblés... :lol:
pareil :d
Avatar du membre
Auteur du sujet
Azamat
VIP
VIP
Messages : 1306
Enregistré le : il y a 14 ans
Localisation : Toujours plus à l'ouest...

Message par Azamat »

Je vous comprends; toutefois, j'ai édité mon post pour préciser
J'utilise ces fonctions dans les environnements suivants :
Windows 8 Professionnel x64 et Windows 8.1 Professionnel x64
Donc, applicable sur un Windows 8 sans .1 ;)
Petrus
Grand Habitué
Grand Habitué
Messages : 1009
Enregistré le : il y a 14 ans

Message par Petrus »

Donc, applicable sur un Windows 8 sans .1 ;)
Ha! mais c'est que moi je suis resté avec seven ^^
Avatar du membre
Auteur du sujet
Azamat
VIP
VIP
Messages : 1306
Enregistré le : il y a 14 ans
Localisation : Toujours plus à l'ouest...

Message par Azamat »

Le Power Menu, ça marche AUSSI sur Windows 7 :) (testé sur une machine virtuelle W7 Pro x64)
Répondre

Qui est en ligne

Utilisateurs parcourant ce forum : Aucun utilisateur enregistré et 8 invités