RegistryValueReturn don't work if registry key changes
I have a custom invetory field the query a registry key with RegistryValueReturn.
RegistryValueReturn(HKEY_LOCAL_MACHINE\SOFTWARE\COMPANYNAME\SOFTWARENAME, SupportUserName, TEXT)
Initially it works but if this key changes KACE or better the the custom inventory item don't change too.
I see the wrong value also in kdeploy.log
[Thu Jan 09 17:49:31 2014] [CDeployController::ExecuteCustomInventoryRule] rule ID [12345] : issuing rule [RegistryValueReturn(HKEY_LOCAL_MACHINE\SOFTWARE\COMPANYNAME\SOFTWARENAME, SupportUserName, TEXT);]
[Thu Jan 09 17:49:31 2014] [OUT] OLDVALUE [OUT]
But if i run a reg query on the path i'll get the right value.
reg query HKLM\Software\COMPANYNAME\SOFTWARENANE /v SupportUserName
0 Comments
[ + ] Show comments
Answers (1)
Please log in to answer
Posted by:
SMal.tmcc
10 years ago