1. Find out where these startup programs are in the registry and note them down. I use HijackThis (free) to this effect. Or use Start>Run>regedit to find them. Typically these keys can be found in these locations:
2. Open up notepad and enter these values:
Reg Delete HKLM\Software\Microsoft\Windows\CurrentVersion\Run\annoyingregkey /f
"annoyingregkey" is replaced by the NAME of the startup key you want to remove, and
"/f" is used to delete the reg entries without a prompt for confirmation.
If the reg key name contains spaces, you can use this format instead:
Reg Delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v "annoying reg key" /f
where /v is used to specify the value under the "Run" folder that you are trying to delete.
Here is an example of my shutdown script:
3. Once you've added all the startup programs you want to remove, save the file as "shutdownscript.bat" in a location of your choice.
4. Hit Start>Run>gpedit.msc
5. Browse to Computer Configuration>Windows Settings>Scripts (Startup/Shutdown) and double click Shutdown.
6. Add shutdownscript.bat to the list, hit ok and,
Its a good idea to test the script in command prompt to check that there aren't any syntax errors.