Chimaera Posted April 13, 2015 Share Posted April 13, 2015 I have a program that removes unneeded msconfig entries which works like this this is just a snippet of the much larger code $sRegString &= "|ZoneAlarm Installer|ZooskMessenger|zzz_ImInstaller_IncrediMail" Global $aRegKeys = StringSplit($sRegString, "|") $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 Basically i create an array of the unwanted the cycle through the keys and remove them $Deleted &= $aRegKeys[$i] & "|" is just for a count later on So this deals with known entries but how do i deal with the ones that have been unchecked previously in msconfig? Like these. 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...
iamtheky Posted April 13, 2015 Share Posted April 13, 2015 (edited) delete the keys here worked for me HKEY_LOCAL_MACHINESOFTWAREMicrosoftShared ToolsMSConfigstartupreg wait...or is the question how to determine if they are unchecked...that seems harder (however, only my unchecked items show up there, so maybe all keys there are the unchecked items from msconfig?) Edited April 13, 2015 by boththose ,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-. |(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/ (_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_) | | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) ( | | | | |)| | \ / | | | | | |)| | `--. | |) \ | | `-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_| '-' '-' (__) (__) (_) (__) Link to comment Share on other sites More sharing options...
Chimaera Posted April 13, 2015 Author Share Posted April 13, 2015 (edited) doesnt seem to exist on Win 8.1 found on web If you delete them manually via regedit, they're gone for good unless you made a backup first. If you disabled them using MSConfig, you can find the disabled registry entires at HKEY_LOCAL_MACHINESOFTWAREMicrosoftShared ToolsMSConfigstartupreg and disabled startup entries1 at HKEY_LOCAL_MACHINESOFTWAREMicrosoftShared ToolsMSConfigstartupfolder. The subkeys there contain the necessary information to restore a disabled key. You can safely delete the keys found there but you can't restore them via MSConfig afterwards, though. Note: MSConfig doesn't include items from Group Policy or the Windows 7 Task Scheduler! Edited April 13, 2015 by Chimaera argumentum 1 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