in

www.xpefiles.com

Determining which component sets a particular registry value?

Last post 02-04-2008 3:21 AM by mpietrek. 5 replies.
Page 1 of 1 (6 items)
Sort Posts: Previous Next
  • 01-27-2008 6:38 PM

    Determining which component sets a particular registry value?

    I am trying to create a component to enable ClearType. I know which registry values need to be changed but there is another component that is also setting these values and I need to know which component it is in order to set a build order dependency. How can I figure out which components are setting a particular registry value?

  • 01-28-2008 11:46 AM In reply to

    • mambo
    • Top 50 Contributor
    • Joined on 11-28-2007
    • Posts 6

    Re: Determining which component sets a particular registry value?

    I've the same problem. I set the two extra registry data in TD (default build order dependency: 1000):
     

    • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa    Value:    limitblankpassworduse="0"   (Disable)
    • HKLM\SOFTWARE\Microsoft\Windows\Current Version\Explorer\BitBucket  Value: NukeOnDelete=”1” (Permanently Delete)

    but after the FBA all the registry return to their original value. What Should I do? How can I find out which components are setting the registry value? Which build order should I set?

     

    Many Thanks for the support. 

    Filed under: ,
  • 01-29-2008 10:41 AM In reply to

    Re: Determining which component sets a particular registry value?

    Recently I had the same problems with some Explorer Registry Values. He always overwrote some (but not all) of my settings in HKCU.

    The only solution I found working was loading a small .reg file by a RunOnce entry.

    This proved quite useful because maintaining that small .reg file in a RCS is much easier than the >100MB .slx file
     


     

  • 01-31-2008 10:54 AM In reply to

    • bcombs
    • Top 10 Contributor
    • Joined on 07-24-2007
    • Cincinnati, OH
    • Posts 316

    Re: Determining which component sets a particular registry value?

    mpietrek:

    Recently I had the same problems with some Explorer Registry Values. He always overwrote some (but not all) of my settings in HKCU.

    The only solution I found working was loading a small .reg file by a RunOnce entry.

    This proved quite useful because maintaining that small .reg file in a RCS is much easier than the >100MB .slx file

    Hey guys,

    You can certainly do a RunOnce entry to solve the problem if you can't figure out which default component is overwriting your registry values. However, there is a utility on here: http://xpefiles.com/cs/files/folders/software/entry677.aspx that includes a component named ConfigurationExplorer. This utility allows you to search the components in your active configuration for certain registry values. Once you have determined the component that has the registry value you can create a build order dependency that will allow your component containing the "new" values to be created after the default component that contains the "old" values. I'll put a new blog entry in that outlines how to do this for a custom desktop wallpaper (a common one which requires a build order dependency on Win32API User).

    HTH,
    Brad

    Visit the Windows Embedded Standard team blog: http://blogs.msdn.com/embedded/default.aspx

  • 02-01-2008 10:19 AM In reply to

    • mambo
    • Top 50 Contributor
    • Joined on 11-28-2007
    • Posts 6

    Re: Determining which component sets a particular registry value?

    Please can you tell me how can I configure a RunOnce entry in my component  where I  set only this registry data.

    • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa    Value:    limitblankpassworduse="0"   (Disable)
    • HKLM\SOFTWARE\Microsoft\Windows\Current Version\Explorer\BitBucket  Value: NukeOnDelete=”1” (Permanently Delete)

     

    Which "FilePath"  I set and which "value" in the extended properties?

     

    Many Thanks for the attention.

    Matteo 

    Filed under:
  • 02-04-2008 3:21 AM In reply to

    Re: Determining which component sets a particular registry value?

    Have a look at

    c:\WINDOWS\system32\reg.exe add /?

     e.g.

    REG ADD HKLM\Software\MyCo /v Data /t REG_BINARY /d fe340ead
Page 1 of 1 (6 items)
© 2007 www.XPeFiles.com
Powered by Community Server (Commercial Edition), by Telligent Systems