Annonce

Réduire
Aucune annonce.

Personnalise ton menu clique droit en ajoutant l'option "Power ou Marche/Arrêt"

Réduire
X
 
  • Filtre
  • Heure
  • Afficher
Tout nettoyer
nouveaux messages

  • Tutoriel Personnalise ton menu clique droit en ajoutant l'option "Power ou Marche/Arrêt"

    Bien, Salut tout le monde!
    Dans ce tutoriel nous allons Ajouter l'option "Power ou Marche/Arrêt" dans notre menu du clique droit de bureau de Windows 8.1
    Nous allons créer un fichier registre dans lequel nous allons insérer des commandes pour modifier notre registre; Je ne vous demande pas de sauvegarder l’état de votre registre puisque nous allons aussi créer un autre fichier registre qui va annuler toutes les modifications que nous aurons à faire mais vous pouvez le faire si vous le voulez mais ce n'est pas important ici.

    Voilà ce à quoi ressemblera notre menu:

    Ok, alors nous allons créer notre fichier registre:
    Ouvrez un Bloc-Note et copiez-y ce code:

    Code:
    Windows Registry Editor Version 5.00
    
    ;Created by {Hell-Zerg}
    
    [HKEY_CLASSES_ROOT\DesktopBackground\Shell\Power Menu]
    "MUIVerb"="Power Menu"
    "SubCommands"="lock;logoff;switch;sleep;hibernate;restart;shutdown;hybridshutdown"
    "Icon"="shell32.dll,215"
    "Position"="bottom"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\lock]
    @="Verouiller"
    
    [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]
    @="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]
    @="Changer 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]
    @="Mettre en 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]
    @="Hibernate"
    
    [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\shutdown]
    @="Eteindre"
    
    [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]
    @="Extinction forcée (Hybrid)"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\hybridshutdown\command]
    @="Shutdown -s -f -t 00 -hybrid"

    et puis enregistrez ce fichier dans un emplacement (Moi j'ai créer un dossier sur mon bureau et l'ai nommé "Power Menu" et c'est dans ce dossier que j'enregistre ce fichier) en tant que "InstalMenuPower.reg"
    Et si vous voulez tester vous pouvez maintenant lancer ce fichier registre (répondez Oui a tous les messages Windows).
    Si vous avez suivi bien les consignes vous voilà avec un menu pareil au mien sur l'image.
    PS: N'oubliez pas l'extension ".reg" lors de l'enregistrement du fichier

    Et maintenant si vous avez besoin de supprimer ce menu et revenir a votre menu d'avant nous allons créer un autre fichier registre a enregistrer de préférence dans la même emplacement que le premier.
    Voici le code à coller dans ce fichier:

    Code:
    Windows Registry Editor Version 5.00
    ;Created by {Hell-Zerg}
    
    [-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\shutdown]
    
    [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\hybridshutdown]

    Et enregistrez-le en tant que "Uninstal.reg" et lancez-le en répondant "Oui" aux messages de Windows
    Et vérifiez maintenant votre menu et vous voilà débarrasser de l'option "Power Menu"

    PS: Ce n'est pas moi l'auteur du code, je l'ai simplement améliorer et traduit en Français
    L'auteur c'est "Hell-Zerg" du blog http://hell-zerg.blogspot.com/

    Merci.
    <?php
    $signature = NULL;
    ?>
Chargement...
X