#12 "Couldn't enable/disable selected item"

Buggy
open-accepted
Boot Core (3)
9
2008-10-23
2008-01-27
No

I opened this to attach a screen shot per the request from the developer Glenn Van Loon (cnx_glenn) at https://sourceforge.net/forum/message.php?msg_id=4744625.

The problem I am experiencing is (original posting).:

Almost every item I try to disable by unchecking I get the following error dialog instead.:

---------------------------
Information
---------------------------
Couldn't enable/disable selected item
---------------------------
OK
---------------------------

Discussion

1 2 > >> (Page 1 of 2)
  • Glenn Van Loon

    Glenn Van Loon - 2008-01-27
    • milestone: --> Buggy
    • priority: 5 --> 9
    • assigned_to: nobody --> cnx_glenn
     
  • Glenn Van Loon

    Glenn Van Loon - 2008-01-27

    Logged In: YES
    user_id=1264658
    Originator: NO

    I can't see anything odd either. I've emailed you the debug version of the latest development build. If you want to you can try what happens if you try to disable/enable items with it.

    -- off topic:
    By the way, I noticed your last item isn't split correctly, what is the entire string in the flags cell?

     
  • Glenn Van Loon

    Glenn Van Loon - 2008-02-25

    Logged In: YES
    user_id=1264658
    Originator: NO

    We haven't been able to solve this bug so far as it seems to happen randomly. If anything changes, we'll post a follow up on this tracker item.

     
  • Daniel Gedling

    Daniel Gedling - 2008-03-07

    Logged In: YES
    user_id=2029885
    Originator: NO

    I am having the same problem.

     
  • Glenn Van Loon

    Glenn Van Loon - 2008-07-30

    Test add and disable start folder item

     
  • Glenn Van Loon

    Glenn Van Loon - 2008-07-30

    Logged In: YES
    user_id=1264658
    Originator: NO

    File Added: testdisablefolder.rar

     
  • Glenn Van Loon

    Glenn Van Loon - 2008-07-30

    Logged In: YES
    user_id=1264658
    Originator: NO

    File Added: testdisableregistry.rar

     
  • Glenn Van Loon

    Glenn Van Loon - 2008-07-30

    Test add and disable start registry item

     
  • Glenn Van Loon

    Glenn Van Loon - 2008-07-30

    Logged In: YES
    user_id=1264658
    Originator: NO

    I just added two files: testdisablefolder.rar and testdisableregistry.rar

    These files are based on an updated version of the Startup Manager core and I would like to know if they fix the problem. So I'd like to ask you to run each of these files just once (I recommend executing them from the command line, since they'll just flash away without you being able to see the contents if you don't). What these files do is create an item called test and then disable it. So after running these executables, you should see a disabled registry item and a disabled start folder item in Startup Manager. If this is the case, the problem is fixed and you can delete the two added items. If not, I'd like to see the output of the files I attached.

    Thank for your time and fingers crossed.

     
  • Glenn Van Loon

    Glenn Van Loon - 2008-08-16
    • labels: 733482 --> Boot Core
     
  • J. Joseph Felten

    Logged In: YES
    user_id=288831
    Originator: YES

    Just a comment that I tried the testdisableregistry.rar and testdisablefolder.rar tests and Mr. Van Loon seemed happy with the results and thinks this bug will be squashed in the next release.

     
  • clinty

    clinty - 2008-08-27

    Logged In: YES
    user_id=2194930
    Originator: NO

    I'm getting it. I'm using Comodo firewall, but did give it permission to treat as trusted app.

     
  • nosesarejustthat

    Logged In: YES
    user_id=1847324
    Originator: NO

    I got exactly the same problem on Windows XP, it also says "Couldn't enable/disable selected item - Access to registry denied" for me. I am currently under an administrator account, so the program should run with administrator rights (I wouldn't even know how to disable administrator rights for a program while being logged in as admin). I hope this gets solved soon, as it renders the program completely useless!

     
  • Nobody/Anonymous

    Logged In: NO

    I had this same problem, but I fixed it. I got the error for every entry I tried to disable with WinXP pro x64. The problem was that I am trying out Comodo firewall pro, which has a registry protection feature. After I temporarily disabled this, Startup Manager works fine. I am posting in case this helps anyone else (ie a security software issue). It is not always clear how to completely disable this kind of security software.

    Thanks to Glenn et al. for this useful GPL tool.

     
  • Eric Marenyi

    Eric Marenyi - 2008-09-11

    Where can I download the files to test them?

     
  • Eric Marenyi

    Eric Marenyi - 2008-09-11

    Nevermind, I got a little too eager... As soon as I posted that I said to myself maybe I should scroll ALL THE WAY down. Will report back in a few

     
  • CupawnTae

    CupawnTae - 2008-10-01

    Hi. Any idea when this fix might be released? I'm getting the same problem, making the software useless to me, which is a shame.

    In case it helps, I ran the registry test. It creates the test startup item but can't disable it. End of test says:

    --------------->8--------------
    entering test...

    [... other installed apps deleted from output...]
    test C:\Documents and Settings\Administrator\Bureaublad\test.exe

    Couldn't disable item (access to registry denied)
    --------------->8--------------

    Startup Manager then shows the enabled test item and cannot disable it. I can manually delete the entry with regedit, logged in as the same user.

    Running XP Pro SP3, no thrid-party firewall/security software.

     
  • Glenn Van Loon

    Glenn Van Loon - 2008-10-01

    cupawntae,

    Thank you for the information. It turns out that for you the update doesn't fix the bug.
    It is a nasty bug I admit. It started to appear a while ago after a Windows update Microsoft released. We suppose it has something to do with the permissions on registry keys.

    ---

    By the way, I'd like to ask that anyone who isn't the originator of this tracker item posts his follow-ups in the forum.

     
  • Glenn Van Loon

    Glenn Van Loon - 2008-10-20

    Hi,

    I'd like to ask the users who are suffering from this problem to provide us with the permissions of the following registry keys:

    - HKLM\SOFTWARE\Startup Manager\startupfolder
    - HKLM\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupfolder

    You can navigate to this keys in regedit.

    The permissions that are relevant are those for the creator, administrator group and the administrator account under which Startup Manager runs.

    You can view the persmission by selecting the key in regedit, hitting the right mouse button and clicking persmissions...

    Thanks for your help. I hope this will give us more information about the problem.

    jfelten can post his permissions here if he wants to, for any one else I'd like to ask them to post them in the forum.

    -----------------------------------------------------

    To already give you an idea if it can be a permission problem, my permissions for both keys are:

    administrator group:
    Full control: Allow
    Read: Allow

    creator:
    Special permissions: Allow

    administrator account under which Startup Manager runs:
    Special permissions: Allow

     
  • J. Joseph Felten

    - HKLM\SOFTWARE\Startup Manager\startupfolder

    Administrators: Allow: Full Control & Read
    CREATOR OWNER: Allow: Special Permissions
    jfelten (my usual local login): Allow: Special Permissions
    Power Users: Allow: Read & Special Permissions
    SYSTEM: Allow: Full Control & Read
    Users: Allow: Read

    - HKLM\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupfolder

    The exact same. Note that none of them have anything in the Deny column checked.

     
  • Glenn Van Loon

    Glenn Van Loon - 2008-10-20

    I hoped this would give us some explanation about why this bug happens. But since your permissions are the same as mine, it seems very unlikely that the bug is a permission problem.

     
  • Glenn Van Loon

    Glenn Van Loon - 2008-10-23

    We might have found a possible solution that has to do with the permissions of the mentioned registry keys.

    According to Chris (https://sourceforge.net/forum/message.php?msg_id=5483650), giving the current user the all permissions (Full Control & Read) fixes the problem.

    As a reminder which registry keys it are:
    - HKLM\SOFTWARE\Startup Manager\startupfolder, startupreg, startupwinini and startupwinlogon
    - HKLM\SOFTWARE\Microsoft\Shared Tools\MSConfig\startupfolder and startupreg

    If this works for more users, maybe in the next version of Startup Manager we can try to alter the permissions of these keys programatically.

     
  • Glenn Van Loon

    Glenn Van Loon - 2008-10-23
    • status: open --> open-accepted
     
  • J. Joseph Felten

    Changing those permissions seems to have fixed the problem. I added full control permissions on those keys for my login userid and at first it didn't seem to help, but then I restarted Startup Manager and now it seems to be working. The odd double-entries for the ones with problems has also been fixed and is now a single entry. What I don't understand is why it wasn't working O.K. originally since the Administrators group had full permissions and my lo
    gin userid is a member of the Administrators group.

     
1 2 > >> (Page 1 of 2)

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks