How to successfully log a registry key in K1000 Scripting
I have been unable to successfully log a registry key after upgrading the K1000 to v5.3.53053. Now, the Run Now Status log says: 'HKLM\SOFTWARE\NameOfSoftware\Version5!ClientID' did not succeed: (0). I know the script can get to that key because, as a test, when I use the Delete Registry Value task, it can delete it. So before the upgrade, it worked, but now, it seems it can't log the value. I am running the script on a Windows XP SP3 computer. Any suggestions? Why isn't this working right?
Answers (1)
"LogRegistryValue" script task has a bug in 5.3 which is fixed in next release.
You can try Custom Inventory Rules if you only want to log registry values instead.
-Abhay
'Dell KACE| Quality Assurance Group'
Comments:
-
I'm currently on the v5.3.47927, not very reassuring if upgrading to 5.3 SP1 is going to break scripting. I have a post that I am trying to disable/enable UAC through registry values. Will we have the same problem?
(http://itninja.com/question/uac-set-registry-as-dword) - brad.pickett 12 years ago -
I'm currently on the v5.3.47927, not very reassuring if upgrading to 5.3 SP1 is going to break scripting. I have a post that I am trying to disable/enable UAC through registry values. Will we have the same problem?
(http://itninja.com/question/uac-set-registry-as-dword) - brad.pickett 12 years ago -
I'm currently on the v5.3.47927, not very reassuring if upgrading to 5.3 SP1 is going to break scripting. I have a post that I am trying to disable/enable UAC through registry values. Will we have the same problem?
(http://itninja.com/question/uac-set-registry-as-dword) - brad.pickett 12 years ago -
I'm on the latest version and I'm getting the same message as sgraves only for my key
"Logging registry value 'HKLM\System\CurrentControlSet\Services\lanmanserver\parameters!srvcomment' did not succeed: (0)"
This registry key is the system description and the key does have a value of Technology Services on my test computer. - jamesabullock 11 years ago -
On what agent version are you on? - AbhayR 11 years ago