Wanted to capture [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Deployment 4]

"Task Sequence Name"="Medtronic Windows 7 LCD 64-bit Build"

I'm using RegistryValueReturn(HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Deployment 4,Task Sequence Name,text)

But it shows the error in Kdeplot log

[Thu Apr 11 15:22:18 2013] KDeploy    Custom Inventory Rule (9374) does not have correct arguments: RegistryValueReturn args=2

Samre rules works in Diffrent K1000 Box. Please suggest what can be done.

Answer Summary:
0 Comments   [ - ] Hide Comments


Please log in to comment

Answer this question or Comment on this question for clarity



Do you use different agent versions?
Be shure that you don't use any spaces in the Custom Inventory Rule.

Answered 04/11/2013 by: Nico_K
Red Belt

  • I was suspecting this. But value that i need to capture has space (Deployment 4,Task Sequence Name), any workaround for this.
  • possibly you need to escape (\ before the space, so (\ )) could fix. Did not tested it, so please give feedback if this was helpful
  • Thank you Nico, could you please let me know how to use it for (HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Deployment 4,Task Sequence Name,text
Please log in to comment