Howes Posted November 10, 2015 Report post Posted November 10, 2015 Hello, I am wondering about creating a DCB item that will query a registry key that varies across the network. The key is an installation date, therefore it changes for every server. Should I approach this in a different manner? Thank you. Quote Share this post Link to post Share on other sites More sharing options...
GarthMJ Posted November 10, 2015 Report post Posted November 10, 2015 So What is the failed state? why do you care about this reg key? Quote Share this post Link to post Share on other sites More sharing options...
Howes Posted November 10, 2015 Report post Posted November 10, 2015 Internal fixes are distributed and a registry key is created with the date. Inside each date key it lists several string values that I'd like to evaluate (e.g. FixName: Nov15FixVer1.0 and FixInstallDate: 11-01-2015) My issue is instead of creating the registry key with a standard name it's generated with the installation date. So if I want to run DCB on all servers with, for example, all computer that have the Nov15FixVer1.0 I need to have a wildcard in in the registry key value. Quote Share this post Link to post Share on other sites More sharing options...
GarthMJ Posted November 10, 2015 Report post Posted November 10, 2015 Why don't you just look for FixName: Nov15FixVer1.0, instead? I know that I'm getting my first coffee, but IMO it would make more sense to Create REG keys like. HKLM\Software\<companyname>\Updates\Nov15FixVer1.0 then have keys under it. The only way to do wild cards like this is to use a script to detect if the SU is applied or not. Quote Share this post Link to post Share on other sites More sharing options...
Howes Posted November 10, 2015 Report post Posted November 10, 2015 I don't think I can create the item value HKLM\Software\Company\Updates\20150101\FixName\ where 20150101 changes. Yes, this is definitely a better REG key value; this was not thoroughly thought out initially. My next step will be to create a ps that will search for each entry and create a standard REG key. Thank you for your quick reply. Quote Share this post Link to post Share on other sites More sharing options...