A tool to clean up your Windows Start Menu
This program can help you clean your Start Menu in Windows. You set some options of how your Start Menu should be organized once and it helps you apply these rules.
To install the program download the setup for the latest version and run the setup after it is finished downloading.
Caution
This program can delete or destroy your start menu if you configure it the wrong way. So be careful and do not switch on an option without knowing what it does. It is advised that you make a backup of the start menu folders before you use this program.
To backup your Start menu you just have to copy two folders to a safe place on your computer.
- "Drive letter of the drive you installed windows on:\Users\your username\AppData\Roaming\Microsoft\Windows\Start Menu"
- "Drive letter of the drive you installed windows on:\ProgramData\Microsoft\Windows\Start Menu"
If something goes wrong with your start menu you can copy your backup into these folders again.
Once you have configured all of the options you can start the cleaning by pressing the "Start" button. Once you have clicked it the cleaning begins and the program will continually clean the start menu every few minutes. You can reopen the options window by clicking on the icon of the program in the windows taskbar. If you want to close it you can also right-click on it to open a menu where you can select "Close".
If you want the program to automatically start cleaning in the background when you start your computer follow these steps:
- Open the "Task Scheduler" program by Microsoft
- Click on "Action" in the top menu
- Click on "Create task"
- Give the task a name, for example "Start Menu Cleaning"
- Click the "Run with highest privileges" checkbox
- In the "Triggers" section click on "New..."
- Select "At log on" in the "Begin the task" dropdown" and click "Ok"
- In the "Actions" section click on "New..."
- Click on "Browse" and select the "Start Menu Helper.exe" executable (you specified where it should be installed during the setup, probably in one of the "Program Files" folders)
- Write "--start-in-background" in the "Add arguments" field and click Ok
- Finally click on "Ok"
This option specifies whether folders within the start menu should be deleted and their files moved to the normal start menu folder if they match a word in the list or if they don't match any of the words in the list. You can edit the list by clicking on the "List" button. If you don't want to flatten any folders set the option to "contain one of the words in the list" and leave the list empty.
Options: contain one of the words in the list, do not contain any of the words in the list
This option specifies whether folders with only one item in them should be flattened. You can specify folders that should not be flattened even if they only contain one item by clicking on the "Exception" button.
Options: On, Off
This option specifies whether to delete folders that do not contain any files or other folders.
Options: On, Off
This option specifies whether to delete windows shortcuts that point to a folder.
Options: On, Off
This option specifies whether to delete all files that have one of the file types in the List or delete all files that do not. This also includes the files linked to by windows shortcuts, but instead of the actual files only the shortcut is deleted. If you do not want to delete any files based on their file types, do not put any in the list.
Options: in the list, not in the list
This list specifies words or combinations of words based on which files that contain them in their name should be deleted.
This option specifies whether to delete files that have the same name in multiple different folders until there is only one file left.
Options: On, Off
This option specifies whether to delete windows shortcuts that point to a file or a folder that does not exist.
Options: On, Off
To set the program up for development on your computer:
- Clone this program to your computer using
git clone https://github.com/jarikmarwede/Start-Menu-Helper.git
- Set up a virtual environment or make sure you have Python version 3.8.0+ installed
- Install the required libraries using
pip install -r requirements.txt
To just generate the executable for the program:
- Install PyInstaller using
pip install https://github.com/pyinstaller/pyinstaller/archive/develop.tar.gz
- Run
.\scripts\generate_executable.cmd
To generate the setup:
- Install Inno Setup to "C:\Program Files (x86)"
- Run
.\scripts\build.cmd
Alternatively if you do not want to install it to "C:\Program Files (x86)":
- Install Inno Setup anywhere
- Open ".\scripts\setup_script.iss" in Inno Setup
- Click "Compile"