Overwriting default registry keys



Franz Leu
07-09-2005, 10:24 PM
Hi group

I want to overwrite some default registry keys for i.e. doubleclickspeed,
power configuration setting .... at either CD level or as extra reg key in
TD.
What built order do I have to set for these to take effect?
Is there something else I need to take care?

Thank and best regards
Franz

Nyquist
07-09-2005, 10:24 PM
Hi Franz Leu,
Use FBA Registry Migrate key, Any keys that are under this
key will be migrated into the registry during FBA
Set the registry key under the following path,
HKLM\System\FBA\RegMigrate


"Franz Leu" wrote:

> Hi group
>
> I want to overwrite some default registry keys for i.e. doubleclickspeed,
> power configuration setting .... at either CD level or as extra reg key in
> TD.
> What built order do I have to set for these to take effect?
> Is there something else I need to take care?
>
> Thank and best regards
> Franz
>
>

Franz Leu
07-09-2005, 10:24 PM
Nyquist,
Thanks for your hint.
However, I could not find any documentation on this topic.
Do you have a link ?
Franz

"Nyquist" <Nyquist@discussions.microsoft.com> schrieb im Newsbeitrag
news:292C0A8A-1E21-4EC4-BC87-D48F48B83403@microsoft.com...
> Hi Franz Leu,
> Use FBA Registry Migrate key, Any keys that are under
> this
> key will be migrated into the registry during FBA
> Set the registry key under the following path,
> HKLM\System\FBA\RegMigrate
>
>
> "Franz Leu" wrote:
>
>> Hi group
>>
>> I want to overwrite some default registry keys for i.e. doubleclickspeed,
>> power configuration setting .... at either CD level or as extra reg key
>> in
>> TD.
>> What built order do I have to set for these to take effect?
>> Is there something else I need to take care?
>>
>> Thank and best regards
>> Franz
>>
>>

KM
07-09-2005, 10:24 PM
Franz,

RegMigrate is a nice but undocumented feature of FBA.
You can search this NG archive and find some hints about it.

There is also a recent blog from Microsoft product folks on the topic:
http://blogs.msdn.com/embedded/archive/2005/04/25/411763.aspx


Btw, another way for you to have the values set properly in TD is to either
find out what components hold particular reg.entries and set the build older
above those, or change the values in those components registry sections
directly.

KM

> Nyquist,
> Thanks for your hint.
> However, I could not find any documentation on this topic.
> Do you have a link ?
> Franz
>
> "Nyquist" <Nyquist@discussions.microsoft.com> schrieb im Newsbeitrag
> news:292C0A8A-1E21-4EC4-BC87-D48F48B83403@microsoft.com...
>> Hi Franz Leu,
>> Use FBA Registry Migrate key, Any keys that are under
>> this
>> key will be migrated into the registry during FBA
>> Set the registry key under the following path,
>> HKLM\System\FBA\RegMigrate
>>
>>
>> "Franz Leu" wrote:
>>
>>> Hi group
>>>
>>> I want to overwrite some default registry keys for i.e.
>>> doubleclickspeed,
>>> power configuration setting .... at either CD level or as extra reg key
>>> in
>>> TD.
>>> What built order do I have to set for these to take effect?
>>> Is there something else I need to take care?
>>>
>>> Thank and best regards
>>> Franz
>>>
>>>
>

Franz Leu
07-09-2005, 10:24 PM
Hi KM,

Thanks for your help.
I tried to add it as extra registry data with a built order of 8501.
It's regarding the power policies and I added it to the HK_CU and the
HK_U\.DEFAULT
However, it does not take effect.
I tried to completely disable Display Powersave, since the setting "Always
On" in TD still includes a Display power save of 20min.
I alspo tried to preset the doubleclickspeed and some other setting the same
way, without success.
What am I doing wrong?

Thanks and best regards
Franz


"KM" <konstmor@nospam_yahoo.com> schrieb im Newsbeitrag
news:e6TIzmcXFHA.3712@TK2MSFTNGP09.phx.gbl...
> Franz,
>
> RegMigrate is a nice but undocumented feature of FBA.
> You can search this NG archive and find some hints about it.
>
> There is also a recent blog from Microsoft product folks on the topic:
> http://blogs.msdn.com/embedded/archive/2005/04/25/411763.aspx
>
>
> Btw, another way for you to have the values set properly in TD is to
> either find out what components hold particular reg.entries and set the
> build older above those, or change the values in those components registry
> sections directly.
>
> KM
>
>> Nyquist,
>> Thanks for your hint.
>> However, I could not find any documentation on this topic.
>> Do you have a link ?
>> Franz
>>
>> "Nyquist" <Nyquist@discussions.microsoft.com> schrieb im Newsbeitrag
>> news:292C0A8A-1E21-4EC4-BC87-D48F48B83403@microsoft.com...
>>> Hi Franz Leu,
>>> Use FBA Registry Migrate key, Any keys that are under
>>> this
>>> key will be migrated into the registry during FBA
>>> Set the registry key under the following path,
>>> HKLM\System\FBA\RegMigrate
>>>
>>>
>>> "Franz Leu" wrote:
>>>
>>>> Hi group
>>>>
>>>> I want to overwrite some default registry keys for i.e.
>>>> doubleclickspeed,
>>>> power configuration setting .... at either CD level or as extra reg key
>>>> in
>>>> TD.
>>>> What built order do I have to set for these to take effect?
>>>> Is there something else I need to take care?
>>>>
>>>> Thank and best regards
>>>> Franz
>>>>
>>>>
>>
>
>

KM
07-09-2005, 10:25 PM
Franz,

Did you try setting (changing) the values at runtime? Did it work?
The settings might get overwritten by some component install during FBA so you want to set them in late FBA phase.

KM


> Thanks for your help.
> I tried to add it as extra registry data with a built order of 8501.
> It's regarding the power policies and I added it to the HK_CU and the HK_U\.DEFAULT
> However, it does not take effect.
> I tried to completely disable Display Powersave, since the setting "Always On" in TD still includes a Display power save of 20min.
> I alspo tried to preset the doubleclickspeed and some other setting the same way, without success.
> What am I doing wrong?
>
> Thanks and best regards
> Franz
>
>
> "KM" <konstmor@nospam_yahoo.com> schrieb im Newsbeitrag news:e6TIzmcXFHA.3712@TK2MSFTNGP09.phx.gbl...
>> Franz,
>>
>> RegMigrate is a nice but undocumented feature of FBA.
>> You can search this NG archive and find some hints about it.
>>
>> There is also a recent blog from Microsoft product folks on the topic:
>> http://blogs.msdn.com/embedded/archive/2005/04/25/411763.aspx
>>
>>
>> Btw, another way for you to have the values set properly in TD is to either find out what components hold particular reg.entries
>> and set the build older above those, or change the values in those components registry sections directly.
>>
>> KM
>>
>>> Nyquist,
>>> Thanks for your hint.
>>> However, I could not find any documentation on this topic.
>>> Do you have a link ?
>>> Franz
>>>
>>> "Nyquist" <Nyquist@discussions.microsoft.com> schrieb im Newsbeitrag news:292C0A8A-1E21-4EC4-BC87-D48F48B83403@microsoft.com...
>>>> Hi Franz Leu,
>>>> Use FBA Registry Migrate key, Any keys that are under this
>>>> key will be migrated into the registry during FBA
>>>> Set the registry key under the following path,
>>>> HKLM\System\FBA\RegMigrate
>>>>
>>>>
>>>> "Franz Leu" wrote:
>>>>
>>>>> Hi group
>>>>>
>>>>> I want to overwrite some default registry keys for i.e. doubleclickspeed,
>>>>> power configuration setting .... at either CD level or as extra reg key in
>>>>> TD.
>>>>> What built order do I have to set for these to take effect?
>>>>> Is there something else I need to take care?
>>>>>
>>>>> Thank and best regards
>>>>> Franz
>>>>>
>>>>>
>>>
>>
>>
>

Franz Leu
07-09-2005, 10:25 PM
KM

I tried everything :-||. I just dont get what I am doing wrong.
I created a component which has only Registry Data. The string I add(!) to
the registry are OK. However, the strings I try to override some default
settings of windows like these:
HKEY_CURRENT_USER\Control Panel\PowerCfg\PowerPolicies\3
HKEY_USERS\.DEFAULT\Control Panel\PowerCfg\PowerPolicies\3
just dont take effect. They keep their original value.
Setting at runtime works perfect. I tried different setting for build order.
What value do you suggest?

(It makes me nuts)
Thanks for your help
Franz

>
> Did you try setting (changing) the values at runtime? Did it work?
> The settings might get overwritten by some component install during FBA so
> you want to set them in late FBA phase.
>
> KM
>
>
>> Thanks for your help.
>> I tried to add it as extra registry data with a built order of 8501.
>> It's regarding the power policies and I added it to the HK_CU and the
>> HK_U\.DEFAULT
>> However, it does not take effect.
>> I tried to completely disable Display Powersave, since the setting
>> "Always On" in TD still includes a Display power save of 20min.
>> I alspo tried to preset the doubleclickspeed and some other setting the
>> same way, without success.
>> What am I doing wrong?
>>
>> Thanks and best regards
>> Franz
>>
>>
>> "KM" <konstmor@nospam_yahoo.com> schrieb im Newsbeitrag
>> news:e6TIzmcXFHA.3712@TK2MSFTNGP09.phx.gbl...
>>> Franz,
>>>
>>> RegMigrate is a nice but undocumented feature of FBA.
>>> You can search this NG archive and find some hints about it.
>>>
>>> There is also a recent blog from Microsoft product folks on the topic:
>>> http://blogs.msdn.com/embedded/archive/2005/04/25/411763.aspx
>>>
>>>
>>> Btw, another way for you to have the values set properly in TD is to
>>> either find out what components hold particular reg.entries and set the
>>> build older above those, or change the values in those components
>>> registry sections directly.
>>>
>>> KM
>>>
>>>> Nyquist,
>>>> Thanks for your hint.
>>>> However, I could not find any documentation on this topic.
>>>> Do you have a link ?
>>>> Franz
>>>>
>>>> "Nyquist" <Nyquist@discussions.microsoft.com> schrieb im Newsbeitrag
>>>> news:292C0A8A-1E21-4EC4-BC87-D48F48B83403@microsoft.com...
>>>>> Hi Franz Leu,
>>>>> Use FBA Registry Migrate key, Any keys that are under
>>>>> this
>>>>> key will be migrated into the registry during FBA
>>>>> Set the registry key under the following path,
>>>>> HKLM\System\FBA\RegMigrate
>>>>>
>>>>>
>>>>> "Franz Leu" wrote:
>>>>>
>>>>>> Hi group
>>>>>>
>>>>>> I want to overwrite some default registry keys for i.e.
>>>>>> doubleclickspeed,
>>>>>> power configuration setting .... at either CD level or as extra reg
>>>>>> key in
>>>>>> TD.
>>>>>> What built order do I have to set for these to take effect?
>>>>>> Is there something else I need to take care?
>>>>>>
>>>>>> Thank and best regards
>>>>>> Franz
>>>>>>
>>>>>>
>>>>
>>>
>>>
>>
>
>

KM
07-09-2005, 10:25 PM
Franz,

> I tried everything :-||. I just dont get what I am doing wrong.
> I created a component which has only Registry Data. The string I add(!) to the registry are OK. However, the strings I try to
> override some default settings of windows like these:
> HKEY_CURRENT_USER\Control Panel\PowerCfg\PowerPolicies\3
> HKEY_USERS\.DEFAULT\Control Panel\PowerCfg\PowerPolicies\3
> just dont take effect. They keep their original value.
> Setting at runtime works perfect.

That's the hope. It works at runtime, so you can automate it.

> I tried different setting for build order.

That won't help since the settings get overwritten at runtme during FBA by a system component.

> What value do you suggest?

You need to set the settings at runtime during FBA at very late FBA phase (>8500 or >12000). You can use FBA Generic command to
import a .reg file or use reg.exe utility.
Although I'd prefer a little bit different implementation if you happen to include Explorer shell. Just create a selfcleaning
(selfdeleting) batch file that will import .reg file or use reg.exe to import the values. Put the .bat file in All User\StartUp
items and that's it.

KM

>> Did you try setting (changing) the values at runtime? Did it work?
>> The settings might get overwritten by some component install during FBA so you want to set them in late FBA phase.
>>
>> KM
>>
>>
>>> Thanks for your help.
>>> I tried to add it as extra registry data with a built order of 8501.
>>> It's regarding the power policies and I added it to the HK_CU and the HK_U\.DEFAULT
>>> However, it does not take effect.
>>> I tried to completely disable Display Powersave, since the setting "Always On" in TD still includes a Display power save of
>>> 20min.
>>> I alspo tried to preset the doubleclickspeed and some other setting the same way, without success.
>>> What am I doing wrong?
>>>
>>> Thanks and best regards
>>> Franz
>>>
>>>
>>> "KM" <konstmor@nospam_yahoo.com> schrieb im Newsbeitrag news:e6TIzmcXFHA.3712@TK2MSFTNGP09.phx.gbl...
>>>> Franz,
>>>>
>>>> RegMigrate is a nice but undocumented feature of FBA.
>>>> You can search this NG archive and find some hints about it.
>>>>
>>>> There is also a recent blog from Microsoft product folks on the topic:
>>>> http://blogs.msdn.com/embedded/archive/2005/04/25/411763.aspx
>>>>
>>>>
>>>> Btw, another way for you to have the values set properly in TD is to either find out what components hold particular
>>>> reg.entries and set the build older above those, or change the values in those components registry sections directly.
>>>>
>>>> KM
>>>>
>>>>> Nyquist,
>>>>> Thanks for your hint.
>>>>> However, I could not find any documentation on this topic.
>>>>> Do you have a link ?
>>>>> Franz
>>>>>
>>>>> "Nyquist" <Nyquist@discussions.microsoft.com> schrieb im Newsbeitrag
>>>>> news:292C0A8A-1E21-4EC4-BC87-D48F48B83403@microsoft.com...
>>>>>> Hi Franz Leu,
>>>>>> Use FBA Registry Migrate key, Any keys that are under this
>>>>>> key will be migrated into the registry during FBA
>>>>>> Set the registry key under the following path,
>>>>>> HKLM\System\FBA\RegMigrate
>>>>>>
>>>>>>
>>>>>> "Franz Leu" wrote:
>>>>>>
>>>>>>> Hi group
>>>>>>>
>>>>>>> I want to overwrite some default registry keys for i.e. doubleclickspeed,
>>>>>>> power configuration setting .... at either CD level or as extra reg key in
>>>>>>> TD.
>>>>>>> What built order do I have to set for these to take effect?
>>>>>>> Is there something else I need to take care?
>>>>>>>
>>>>>>> Thank and best regards
>>>>>>> Franz
>>>>>>>
>>>>>>>
>>>>>
>>>>
>>>>
>>>
>>
>>
>


Overwriting default registry keys