/build/static/layout/Breadcrumb_cap_w.png

KACE Product Support Question


How do I get a .reg file to install via KACE client scripts?

09/04/2015 1683 views
I have attempted to use both the Configuration Policies \ Registry script generator and an Online KScript using a .reg dependency, but neither process will actually created the registry key and values I want.

Configuration Policies \ Registry script generator, generates the following...

Verify

  1. Verify that “HKLM\SOFTWARE\Wow6432Node\CambridgeSoft\ChemBioDraw\15.0\Ultra” exists.
    trashcan-icon.png
  2. Verify that “HKLM\SOFTWARE\Wow6432Node\CambridgeSoft\ChemBioDraw\15.0\Ultra!Launch Count” is equal to “0x00000014”.
    trashcan-icon.png
  3. Verify that “HKLM\SOFTWARE\Wow6432Node\CambridgeSoft\ChemBioDraw\15.0\Ultra!User Name” is equal to “User”.
    trashcan-icon.png
  4. Verify that “HKLM\SOFTWARE\Wow6432Node\CambridgeSoft\ChemBioDraw\15.0\Ultra!Organization” is equal to “Grinnell College”.
    trashcan-icon.png
  5. Verify that “HKLM\SOFTWARE\Wow6432Node\CambridgeSoft\ChemBioDraw\15.0\Ultra!Serial Number” is equal to “REDACTED”.
    trashcan-icon.png
  6. Verify that “HKLM\SOFTWARE\Wow6432Node\CambridgeSoft\ChemBioDraw\15.0\Ultra!Activation Code” is equal to “REDACTED”.
    trashcan-icon.png
  7. Verify that “HKLM\SOFTWARE\Wow6432Node\CambridgeSoft\ChemBioDraw\15.0\Ultra!Success” is equal to “hex:01”.
    trashcan-icon.png
  8. Verify that “HKLM\SOFTWARE\Wow6432Node\CambridgeSoft\ChemBioDraw\15.0\Ultra!License” is equal to “Licensed to Grinnell College”.
    trashcan-icon.png
  9. Verify that “HKLM\SOFTWARE\Wow6432Node\CambridgeSoft\ChemBioDraw\15.0\Ultra!Warning” is equal to “CambridgeSoft Proprietary data: Do not redistribute outside of licensed customer site.”.

On Success

Remediation

  1. Set “HKLM\SOFTWARE\Wow6432Node\CambridgeSoft\ChemBioDraw\15.0\Ultra”.
    trashcan-icon.png
  2. Set “HKLM\SOFTWARE\Wow6432Node\CambridgeSoft\ChemBioDraw\15.0\Ultra!Launch Count” to “0x00000014”.
    trashcan-icon.png
  3. Set “HKLM\SOFTWARE\Wow6432Node\CambridgeSoft\ChemBioDraw\15.0\Ultra!User Name” to “User”.
  4. Set “HKLM\SOFTWARE\Wow6432Node\CambridgeSoft\ChemBioDraw\15.0\Ultra!Organization” to “Grinnell College”.
    trashcan-icon.png
  5. Set “HKLM\SOFTWARE\Wow6432Node\CambridgeSoft\ChemBioDraw\15.0\Ultra!Serial Number” to “REDACTED”.
    trashcan-icon.png
  6. Set “HKLM\SOFTWARE\Wow6432Node\CambridgeSoft\ChemBioDraw\15.0\Ultra!Activation Code” to “REDACTED”.
    trashcan-icon.png
  7. Set “HKLM\SOFTWARE\Wow6432Node\CambridgeSoft\ChemBioDraw\15.0\Ultra!Success” to “hex:01”.
    trashcan-icon.png
  8. Set “HKLM\SOFTWARE\Wow6432Node\CambridgeSoft\ChemBioDraw\15.0\Ultra!License” to “Licensed to Grinnell College”.
    trashcan-icon.png
  9. Set “HKLM\SOFTWARE\Wow6432Node\CambridgeSoft\ChemBioDraw\15.0\Ultra!Warning” to “CambridgeSoft Proprietary data: Do not redistribute outside of licensed customer site.”.
This script leaves no evidence that it does anything except the RunNow log that says Verify fails, and Remediation 1-9 Succeed.

My Online KScript does the following...

Verify
  1. Verify that “HKLM\SOFTWARE\Wow6432Node\CambridgeSoft\ChemBioOffice\15.0\Ultra” exists.

On Success

  1. Run the batch file “Install Grinnell_College_CBD15_64_Override_2015.reg” with params “”.
regedit.exe /s C:\ProgramData\Dell\KACE\kbots_cache\packages\kbots\1407\Grinnell_College_CBD15_64_Override_2015.reg

Remediation

  1. Run the batch file “Install Grinnell_College_CBD15_64_Override_2015.reg” with params “”.
regedit.exe /s C:\ProgramData\Dell\KACE\kbots_cache\packages\kbots\1407\Grinnell_College_CBD15_64_Override_2015.reg

The above script copies the .bat file and the .reg file out to the dependencies folder, and the logs show Verify failed, Remediation succeeded, but again, the registry key and values are not generated.

Incidentally, if I double click on the KACE batch file, then everything executes properly and the registry key and values ARE generated.
0 Comments   [ + ] Show comments

Comments


Be the first to answer this question

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