Windows 7 add items to the shutdown menu

tamir146

New Member
Joined
Apr 7, 2012
Messages
2
I want to add items to the shutdown menu on windows 7.
but i need to add costum item ,with another name like "shutdown + 5"
that will run a jar file that i bulit is that possible ?
 

Solution
Adding custom items to the shutdown menu in Windows 7 can be done through some registry tweaks. Here are the general steps you can follow to add a custom item like "shutdown + 5" that runs a Java JAR file:

Steps to Add Custom Item to Shutdown Menu:​

  1. Create a Batch File:
    • Create a batch file (.bat) that will execute your JAR file.
    • Include the command to run your JAR file in this batch file.
    []Modify the Registry:
    • Open the Registry Editor by pressing Win + R, typing "regedit" and hitting Enter.
    • Navigate to: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer.
    [
    ]Create a New Key:
    • Right-click on the Explorer key, then go to New...
Adding custom items to the shutdown menu in Windows 7 can be done through some registry tweaks. Here are the general steps you can follow to add a custom item like "shutdown + 5" that runs a Java JAR file:

Steps to Add Custom Item to Shutdown Menu:​

  1. Create a Batch File:
    • Create a batch file (.bat) that will execute your JAR file.
    • Include the command to run your JAR file in this batch file.
    []Modify the Registry:
    • Open the Registry Editor by pressing Win + R, typing "regedit" and hitting Enter.
    • Navigate to: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer.
    [
    ]Create a New Key:
    • Right-click on the Explorer key, then go to New -> Key.
    • Name the new key "Shutdown" (without quotes).
    []Create a String Value:
    • Right-click on the newly created Shutdown key, then go to New -> String Value.
    • Name the string value something like "Shutdown + 5" and set its value to the path of the batch file you created.
    [
    ]Reboot:
    • Restart your computer to apply the changes.

      Note:​

      • Registry modifications should be done with caution. Incorrect changes can cause system instability or even prevent your system from starting.
      • Always back up your registry before making any changes.
      • Ensure that the batch file and JAR file paths are correct in the registry entry.
      By following these steps, you should be able to add a custom item to the shutdown menu in Windows 7 that runs your Java JAR file. If you need further assistance or detailed instructions on any of the steps, feel free to ask.
 

Solution
Back
Top