Sign in to follow this  
Followers 0
Chimaera

Msconfig how to get rid of this? Pic included

5 posts in this topic

#1 ·  Posted (edited)

I have a msconfig script that clears out unwanted entries for work, sometime computers have blank ones that have been previously unselected, is there a way to remove these entries?

If i select them all first my script gets them sorted but doesnt seem to grab the unchecked ones.

post-60350-0-17271400-1416209361_thumb.j

I remove the files like this

$sRegString &= "|ZoneAlarm Installer|ZooskMessenger|zzzHPSETUP|zzz_ImInstaller_IncrediMail"
Global $aRegKeys = StringSplit($sRegString, "|")

Global $Deleted = ""
$sRegKey = "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run"
For $i = 1 To $aRegKeys[0]
    RegRead($sRegKey, $aRegKeys[$i])
    If @error = 0 Then
        RegDelete($sRegKey, $aRegKeys[$i])
        $Deleted &= $aRegKeys[$i] & "|"
        Sleep(100)
    EndIf
Next
Edited by Chimaera

Share this post


Link to post
Share on other sites



Check this registry key and subkeys, there are all the info about the items in your screen:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\

jguinch nice your _RunWaitChids and _ProcessWaitCloseRec, can be useful


Nothing is so strong as gentleness. Nothing is so gentle as real strength

 

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

Look at using ccleaner. Free app and you will wonder why you haven't had this in your toolbox.

https://www.piriform.com/CCLEANER

edit: Also look at adding this ini file to enhance ccleaner:

http://forum.piriform.com/?showtopic=32310

Edited by Bert

Share this post


Link to post
Share on other sites

Check this registry key and subkeys, there are all the info about the items in your screen:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\MSConfig\

Doesn't exist on Win 8

Thx Bert i already use cleaner for other scripts

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0