Chimaera Posted November 17, 2014 Share Posted November 17, 2014 (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. 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 November 17, 2014 by Chimaera If Ive just helped you ... miracles do happen. Chimaera CopyRobo() * Hidden Admin Account Enabler * Software Location From Registry * Find Display Resolution * _ChangeServices() Link to comment Share on other sites More sharing options...
jguinch Posted November 17, 2014 Share Posted November 17, 2014 Did you solve your issue in your >previous post ? We have no new... Spoiler Network configuration UDF, _DirGetSizeByExtension, _UninstallList Firefox ConfigurationArray multi-dimensions, Printer Management UDF Link to comment Share on other sites More sharing options...
Terenz Posted November 17, 2014 Share Posted November 17, 2014 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 Link to comment Share on other sites More sharing options...
Bert Posted November 17, 2014 Share Posted November 17, 2014 (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 November 17, 2014 by Bert The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
Chimaera Posted November 17, 2014 Author Share Posted November 17, 2014 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 If Ive just helped you ... miracles do happen. Chimaera CopyRobo() * Hidden Admin Account Enabler * Software Location From Registry * Find Display Resolution * _ChangeServices() Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now