Re: Why hive registry cannot restore ROM registry.
From: K. S. Huang (ks_huang_at_alphanetworks.com.remove.this)
Date: 07/30/04
- Next message: Bruce Eitman \(eMVP\): "Re: My Computer & Recycle Bin"
- Previous message: K. S. Huang: "Re: How can support the "Shutdown" function in the WINCE.net?"
- In reply to: Jack: "Why hive registry cannot restore ROM registry."
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 30 Jul 2004 22:28:05 +0800
Besides to perform the RegPlaceKey and SetCurrentUser, you still need to
delete the UserHive file so that the HKCR will be restore to default.
"Jack" <jgliu@toptrend.com.cn> ¼¶¼g©ó¶l¥ó·s»D
:#2r#tmedEHA.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: Bruce Eitman \(eMVP\): "Re: My Computer & Recycle Bin"
- Previous message: K. S. Huang: "Re: How can support the "Shutdown" function in the WINCE.net?"
- In reply to: Jack: "Why hive registry cannot restore ROM registry."
- Messages sorted by: [ date ] [ thread ]