Sign in with
Sign up | Sign in
Closed

Automatically Remove Repeat Startup Programs On Shutdown

This Tutorial addresses:
  • Windows
  • Shutdown Script
  • Shutdown
  • Microsoft
  • Software
  • Configuration
jbseven
By ,
Annoyed with those programs repeatedly adding themselves to your startup list? Tired of goole updater, acrobat speed launcher and other programs constantly finding their way back to the startup list even though you keep removing them? Here's how to run a basic shutdown script in Windows 7/8 to automatically remove these nuisances.

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:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run\
HKEY_LOCAL_MACHINE\Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Run\

2. Open up notepad and enter these values:

Reg Delete HKLM\Software\Microsoft\Windows\CurrentVersion\Run\annoyingregkey /f

where,
"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,



7. Done!

Its a good idea to test the script in command prompt to check that there aren't any syntax errors.
Can't find your answer ? Ask !