Windows 7 registry

Posted on 2011-04-20
Last Modified: 2012-05-11
I need to make a change to my registry in windows 7.  However once I make the change there is not a way to save it.  The change works fine but on every reboot it reverts to the old setting.
Question by:magarner
    LVL 6

    Expert Comment

    what reg entry are you changing.

    Author Comment

    LVL 1

    Accepted Solution

    Changes to the registry are automatically saved if you use RegEdit or the Reg command line tool.

    If the registry is changing, then something (like a program that runs) is changing it back.

    One example, This can happen when trying to remove viruses where there are watchdog programs that reset the registry keys to restart the virus.  So, you edit the registry and it mysteriously changes back unless you find and kill the watchdog first.

    Of course, this could also be caused by a bunch of legitimate programs as well.

    Therefore, the solution to the problem depends on exactly what you are trying to do.

    Author Comment


    This is what i was trying to resolve but it did not work.  So I decided to disable the registry subkey.  It fixed my problems but obviously IIS or something is re-enabling it.
    LVL 6

    Expert Comment

    Well like BitBlitz said most likely there is an app that is changing this back.

    I would try to search for that app that is changing that.

    Until then you can create a batch file to modify the reg entry at startup.

    REGEDIT.EXE  /S "C:\regchanges.reg"

    and example of a reg entry change that you would store in the regchanges.reg file

    "Shutdown"="c:\\windows\\system32\\shutdown.exe -s -t 60"

    best of luck!

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    The "Notification Area" is that area on the righthand side of the Taskbar where your system clock resides, and probably a large number of other icons.  It used to be called, prior to Windows XP, the "system tray."  Programs just love to install an i…
    When you use the right mouse button (assuming you're right handed) to click something in Windows, you usually get what is called a "context menu".  It's called that because the items in the menu vary according to context, that is, according to where…
    This Micro Tutorial will teach you how to the overview of Microsoft Security Essentials. This is a free anti-virus software that guards your PC against viruses, spyware, worms, and other malicious software. This will be demonstrated using Windows…
    This Micro Tutorial will teach you how to change your appearance and customize your Windows 7 interface to your unique preference. This will be demonstrated using Windows 7 operating system.

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now