Re: XP Registry is Overwritten on Cold Boot



Are you stating that you are simply shutting off the power rather than
allowing Windows to properly shutdown/restart? If so, then that is a bad
habit that you will have to break yourself of. Windows assumes there is a
problem if it is not properly shut down, and will often load the last known
good config (this has nothing to do with System Restore) if an improper
shutdown is detected. Also, improper shut downs can also cause corruption of
the file system and trust me, that is a lot harder to recover from (we're
talking permanent loss of data here).

--
Best of Luck,

Rick Rogers, aka "Nutcase" - Microsoft MVP
http://mvp.support.microsoft.com/
Windows help - www.rickrogers.org

"Steve" <s@xxxxx> wrote in message news:440986ef$1@xxxxxxxxxxxxxxxxxxxx
Hi All,

I am using XP on an industrial PC to control a few things around my farm.
I have written a VB program that worked perfectly on Win98 and 2k.
The program uses the registry to store a number of states and variables.

They are in the usual "Current User', Software, 'VB and VBA Programs'
hive.

Weekly the PC resets via a simple power cycle (rather than shutdown).
It'll also power cycles based on a built in watchdog device. No shutdown
here either.

My problem is that when XP reboots the registry is reloaded to old values.
The 'old values' appear to be registry keys that were stored last time a
proper shut down or restart was implemented.
I can emulate this process manually. I have checked that the program is
writing to registry via regedit. Once I power cycle it the registry is
back
to the 'old values' again.

I figure this has something to do with System Restore or Last Known Good
Condiguration.
I've not got much experience with this so need your help.
I have looked up how to "Turn Off System Restore" but my Control
Panel->System menu is not showing the system restore tab.
Why? I don't know. I thought I did a normal install of XP. Would it be
because I am running system from a compact flash card?

Are there settings to stop windows reloading the Registry? A registry
setting? or Command line program?
Is it another process? i.e. not system restore that is doing it?

Cheers,

Steve




.



Relevant Pages

  • Re: System File Checker question
    ... NTREGOPT NT Registry Optimizer ... Similar to Windows 9x/Me, the registry files in an NT-based ... Should I disable Windows XP?s System Restore function when using ... dfrog hunted and pecked: ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: System File Checker question
    ... Howdy dfrog, ... NTREGOPT NT Registry Optimizer ... Similar to Windows 9x/Me, the registry files in an NT-based ... Should I disable Windows XP’s System Restore function when using ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: System restore Gone?
    ... Norton Anti-virus interferes with System restore. ... Registry cleaning programs are *all* snake oil. ... Running Windows XP professional Version 2002 Service Pack 3 ...
    (microsoft.public.windowsxp.general)
  • Re: Appls wont open until shutdown
    ... Tips Fixes & FAQs - System Restore opens to a blank window: ... How to Perform a Windows XP Repair Install by Michael Stevens MS-MVP: ... Bert Kinney MS-MVP Shell/User ... I suspect registry corruption of some kind. ...
    (microsoft.public.windowsxp.general)
  • RE: After installing XP SP2, systems keeps restarting
    ... type: shutdown -a. ... Note:Disable the system restore and if computer is connected to cable modem ... In the Windows Task Manager window, ... Critical Security Patch for Windows XP" patch from the Microsoft Web site to ...
    (microsoft.public.windowsxp.help_and_support)

Loading