Re: Why hive registry cannot restore ROM registry.
From: Dean Ramsier (ramsiernospam_at_nospam.com)
Date: 07/30/04
- Next message: Dean Ramsier: "Re: Development Time"
- Previous message: Ken Beauchesne: "Re: My Computer & Recycle Bin"
- In reply to: Jack: "Why hive registry cannot restore ROM registry."
- Next in thread: K. S. Huang: "Re: Why hive registry cannot restore ROM registry."
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 30 Jul 2004 09:26:52 -0400
If you're trying to clean the hive and get back to the ROM registry, you
need to handle the
IOCTL_HAL_GET_HIVE_CLEAN_FLAG in your OAL. Basically, you'll need to cause
the system to reboot, and when it makes this IOCTL call on initialization
you need to indicate that it should clean the hive. See the PB documenation
for more details.
-- Dean Ramsier - eMVP "Jack" <jgliu@toptrend.com.cn> wrote in message news:%232r%23tmedEHA.3308@TK2MSFTNGP11.phx.gbl... > Dear all: > > Here I want to restore ROM registry which system use HIVE registry. > > Here I call these APIs: > RegReplaceKey(HKEY_LOCAL_MACHINE, NULL, NULL, NULL); > SetCurrentUser(NULL, NULL, NULL, FALSE); > But the values under HKEY_CURRENT_USER cannot restore ROM configurations. > > How to make it works? > > Best regards. > > Jack. > > >
- Next message: Dean Ramsier: "Re: Development Time"
- Previous message: Ken Beauchesne: "Re: My Computer & Recycle Bin"
- In reply to: Jack: "Why hive registry cannot restore ROM registry."
- Next in thread: K. S. Huang: "Re: Why hive registry cannot restore ROM registry."
- Messages sorted by: [ date ] [ thread ]