Results 1 to 3 of 3

Thread: Edit Msconfig Startup List

  1. #1
    Join Date
    Dec 2005
    Posts
    63

    Edit Msconfig Startup List

    I am running Windows Vista on my computer. I just wanted to know about deleting the entries of disabled programs from the msconfig startup items in this operating system. Can anyone please help me out on how do I peform the same task on my machine. Thank you for any kind of information in advance.

  2. #2
    Join Date
    Aug 2005
    Posts
    13

    Re: Edit Msconfig Startup List

    Well, its simple, follow the below steps to accomplish your mission:
    1. First of all click on Start and then in the Search Box you have to type regedit.
    2. After when the regedit appears in the box, right click on it and then choose to run it in admin mode.
    3. After when it opens up, go to the below location:
    4. HKLM>Software>Microsoft>Shared Tools>Msconfig
    5. Here, you have to search for the startupfolder and startupreg for the unwanted entries and then have to delete the same.

  3. #3
    Join Date
    Oct 2005
    Posts
    2,393
    I wonder why do you want to remove the disabled programs from the startup items? The reason why i ask before they do not slow down your computer and neither do they damage any of your system files or such. In any case you can download the vbs script to delete the StartUp Items from the MSconfig menu from here. Below is the code of this same file:

    Code:
    'Removes Unchecked StartUp Items from StartUp Msconfig
    
    On Error Resume Next
    Message = "This script will remove unchecked items from the MSConfig menu." & vbCr &vbCr
    Message = Message & "Continue?"
    
    X = MsgBox(Message, vbYesNo + vbQuestion, "Paul's XP and Vista Tweaks")
    If X = 6 Then
    
    Set sh = WScript.CreateObject("WScript.Shell")
    
    Set pm = WScript.CreateObject("WScript.Shell")
    
    Set pReg = GetObject("winmgmts:!root/default:StdRegProv")
    Const HKLM = &H80000002
    RegKeyPHM = "Software\Microsoft\Shared Tools\MSConfig\startupfolder"
    RegKeyJAM = "Software\Microsoft\Shared Tools\MSConfig\startupreg"
    
    ResultsPHM = EnumKey(HKLM, RegKeyPHM, False)
    If ResultsPHM = "" Then
    ResultsPHM = space(5) & "(NONE)"
    pBtns = 0
    
    Else
    
    pBtns = 4
    pDelPrompt = "Would you like to DELETE any of these items?"
    
    End If
    
    pResults = "Disabled items in Your Startup Folder:" & vbcrlf & _
    ResultsPHM & vbcrlf & vbcrlf
    
    ResultsJAM = EnumKey(HKLM, RegKeyJAM, False)
    If ResultsJAM = "" Then
    ResultsJAM = space(5) & "(NONE)"
    If pBtns <> 4 Then pBtns = 0
    
    Else
    
    pBtns = 4
    pDelPrompt = "Would you like to DELETE any of these items?"
    
    End If
    
    pResults = pResults & "Disabled items in Startup Reg Keys:" & vbcrlf & _
    ResultsJAM & vbcrlf & vbcrlf
    If MsgBox(pResults & pDelPrompt, pBtns + 256, "Don't forget to uncheck your StartUp items in Msconfig. ") <> 6 Then WScript.quit
    
    EnumKey HKLM, RegKeyJAM, True
    EnumKey HKLM, RegKeyPHM, True
    
    Function EnumKey(Key, SubKey, pDelete)
    Dim Ret()
    pReg.EnumKey Key, SubKey, pKeys
    
    On Error Resume Next
    
    ReDim Ret(UBound(pKeys))
    If Err = 13 Then Exit Function
    
    On Error GoTo 0
    
    For Count = 0 to UBound(pKeys)
    If Not pDelete Then
    
    Ret(Count) = space(5) & pKeys(Count)
    
    Else
    
    If MsgBox("Would You Like to DELETE this Item? "& vbcrlf & _
    pKeys(Count) & "?" & vbcrlf, 4 + 256 , "This Item Can Be Deleted") = 6 Then
    DeleteKey HKLM, SubKey & "\" & pKeys(Count)
    
    End If
    
    End If
    
    Next
    
    EnumKey = Join(Ret, vbcrlf)
    
    End Function
    
    Function DeleteKey(Key, SubKey)
    DeleteKey = pReg.DeleteKey(Key, SubKey)
    
    End Function
    End If

Similar Threads

  1. Blank items in msconfig startup
    By kyosang in forum Operating Systems
    Replies: 2
    Last Post: 07-09-2009, 12:42 PM
  2. how to clean startup menu msconfig
    By PacMan in forum Operating Systems
    Replies: 3
    Last Post: 17-08-2009, 02:10 PM
  3. Replies: 1
    Last Post: 21-09-2008, 09:05 AM
  4. Access Denied - Msconfig Startup Changes
    By maketu in forum Windows Security
    Replies: 5
    Last Post: 17-07-2008, 10:20 AM
  5. msconfig Startup Item has no NAME or COMMAND
    By Sarthak in forum Windows XP Support
    Replies: 2
    Last Post: 31-10-2007, 10:20 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,455,048.39326 seconds with 17 queries