/build/static/layout/Breadcrumb_cap_w.png

KACE 1000 Custom Inventory Rule for Registry not processing - error=183

I've setup a script using Dell's CCTK utility that checks if a PC is setup for Wake on LAN and then writes a custom registry key to indicate if it's enabled or disabled. I'm trying to create a custom inventory rule to query that key and give me the state of WOL across our machines.

It's working on my 32-bit machine, but not 64. I've read other posts that indicate you need to specify HKLM64 to query the 64-bit hive and I've done that, but it isn't working.

Here's the KDeploy log:

---------------------

[Fri Oct 11 09:13:22 2013] [CDeployController::ExecuteCustomInventoryRule] rule ID [54334] : issuing rule [RegistryValueEquals(HKEY_LOCAL_MACHINE\SOFTWARE\CSUS,Wake_On_LAN,Enabled) OR RegistryValueEquals(HKEY_LOCAL_MACHINE64\SOFTWARE\CSUS,Wake_On_LAN,Enabled);]

[Fri Oct 11 09:13:22 2013] Custom Inventory Rule failed on registry operation: logop=2, key='HKEY_LOCAL_MACHINE\SOFTWARE\CSUS': error=183

[Fri Oct 11 09:13:22 2013] Custom Inventory Rule failed on registry operation: logop=2, key='HKEY_LOCAL_MACHINE64\SOFTWARE\CSUS': error=183

[Fri Oct 11 09:13:22 2013] [CDeployController::ExecuteCustomInventoryRule] rule [54334] statement result: "", FALSE

---------------------

"HKEY_LOCAL_MACHINE64\SOFTWARE\CSUS,Wake_On_LAN,Enabled" should be evaluating to TRUE on this PC.


0 Comments   [ + ] Show comments

Answers (2)

Posted by: AbhayR 10 years ago
Red Belt
1

As long as it has permissions to SYSTEM user, it should be fine.

Posted by: AbhayR 10 years ago
Red Belt
0

Where are you placing the Wake_On_LAN on your 64 bit machine? Please give the full path


Comments:
  • HKEY_LOCAL_MACHINE\SOFTWARE\CSUS is where the key is on a 64bit when you open up Regedit after the script is run. - jones948 10 years ago
    • It is working for me. What is your agent version? See below.

      --------------------------
      KDeploy custominventory processing 1 rules
      [CDeployController::ExecuteCustomInventoryRule] rule ID [1355] : issuing rule [RegistryValueEquals(HKEY_LOCAL_MACHINE\SOFTWARE\CSUS,Wake_On_LAN,Enabled) OR RegistryValueEquals(HKEY
      _LOCAL_MACHINE64\SOFTWARE\CSUS,Wake_On_LAN,Enabled);]
      Custom Inventory Rule failed on registry operation: logop=2, key='HKEY_LOCAL_MACHINE\SOFTWARE\CSUS': error=183
      [CDeployController::ExecuteCustomInventoryRule] rule [1355] statement result: ;1355, TRUE
      KDeploy finished processing 1 custominventory rules, sending response
      ---------------------------


      What happens if you try these 2 rules seprately

      1. RegistryValueEquals(HKEY
      _LOCAL_MACHINE64\SOFTWARE\CSUS,Wake_On_LAN,Enabled);

      2. RegistryKeyExists(HKEY
      _LOCAL_MACHINE64\SOFTWARE\CSUS) - AbhayR 10 years ago
      • Agent 5.525198 and "FALSE" on both rules run separately.

        However, I think I'm running into a permissions problem. I granted "Everyone" full control over that registry key and now the custom inventory is working fine on all 5 of my test machines. - jones948 10 years ago

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ