Results 1 to 4 of 4
  1. #1
    2 Star Lounger
    Join Date
    Jan 2001
    Location
    The Hague, Netherlands
    Posts
    125
    Thanks
    0
    Thanked 1 Time in 1 Post

    'Commenting out' a registry entry (XP (all))

    I'm probably not alone in occasionally deleting an entry from the registry, expecting that this will have the effect I'm trying to achieve. However, at the back of my mind I'm prepared to have to reinstate the entry if I'm wrong.

    Is there any way I can "comment out" an entry so that reinstating it is made easier?

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: 'Commenting out' a registry entry (XP (all))

    I've heard people refer to renaming a value or key rather than deleting it. Just as long as the new name isn't meaningful to Windows!!

  3. #3
    Platinum Lounger
    Join Date
    Jan 2001
    Location
    Quedgeley, Gloucester, England
    Posts
    5,333
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: 'Commenting out' a registry entry (XP (all))

    I think it would depend on the key whether you should rename the value name (the first part) or the value data (second part) -- as in
    ValueName REG_SZ ValueData

    For example, in the HKLMSoftwareMicrosoftWindowsCurrentVersionRun key, you can have anything you like as the ValueName; it is the ValueData (an executable path) that you'd need change to prevent it running.

    I've changed
    Fred REG_SZ C:SomeDirMabel.EXE
    to
    Fred REG_SZ ;C:SomeDirMabel.EXE
    to prevent Mabel.EXE running.

    Of course, in most keys whatevere piece of software you have would be searching for the ValueName , which I would change to ;ValueName to make it obvious to the human eye what's been done, but wouldn't be found on a search.
    <font face="Script MT Bold"><font color=blue><big><big>John</big></big></font color=blue></font face=script>

    Ita, esto, quidcumque...

  4. #4
    Gold Lounger
    Join Date
    Feb 2003
    Location
    Wardrobe Malfunction Junction, Derry
    Posts
    2,953
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: 'Commenting out' a registry entry (XP (all))

    I don't know if this info and program will help you do what you want or not. It helps me.

    Backing Up and Restoring the Windows XP Registry

    Registry Tuner

    SMBP

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •