How do I get a .reg file to install via KACE client scripts?
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
- Verify that “HKLM\SOFTWARE\Wow6432Node\CambridgeSoft\ChemBioDraw\15.0\Ultra” exists.
- Verify that “HKLM\SOFTWARE\Wow6432Node\CambridgeSoft\ChemBioDraw\15.0\Ultra!Launch Count” is equal to “0x00000014”.
- Verify that “HKLM\SOFTWARE\Wow6432Node\CambridgeSoft\ChemBioDraw\15.0\Ultra!User Name” is equal to “User”.
- Verify that “HKLM\SOFTWARE\Wow6432Node\CambridgeSoft\ChemBioDraw\15.0\Ultra!Organization” is equal to “Grinnell College”.
- Verify that “HKLM\SOFTWARE\Wow6432Node\CambridgeSoft\ChemBioDraw\15.0\Ultra!Serial Number” is equal to “REDACTED”.
- Verify that “HKLM\SOFTWARE\Wow6432Node\CambridgeSoft\ChemBioDraw\15.0\Ultra!Activation Code” is equal to “REDACTED”.
- Verify that “HKLM\SOFTWARE\Wow6432Node\CambridgeSoft\ChemBioDraw\15.0\Ultra!Success” is equal to “hex:01”.
- Verify that “HKLM\SOFTWARE\Wow6432Node\CambridgeSoft\ChemBioDraw\15.0\Ultra!License” is equal to “Licensed to Grinnell College”.
- 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
- Set “HKLM\SOFTWARE\Wow6432Node\CambridgeSoft\ChemBioDraw\15.0\Ultra”.
- Set “HKLM\SOFTWARE\Wow6432Node\CambridgeSoft\ChemBioDraw\15.0\Ultra!Launch Count” to “0x00000014”.
- Set “HKLM\SOFTWARE\Wow6432Node\CambridgeSoft\ChemBioDraw\15.0\Ultra!User Name” to “User”.
- Set “HKLM\SOFTWARE\Wow6432Node\CambridgeSoft\ChemBioDraw\15.0\Ultra!Organization” to “Grinnell College”.
- Set “HKLM\SOFTWARE\Wow6432Node\CambridgeSoft\ChemBioDraw\15.0\Ultra!Serial Number” to “REDACTED”.
- Set “HKLM\SOFTWARE\Wow6432Node\CambridgeSoft\ChemBioDraw\15.0\Ultra!Activation Code” to “REDACTED”.
- Set “HKLM\SOFTWARE\Wow6432Node\CambridgeSoft\ChemBioDraw\15.0\Ultra!Success” to “hex:01”.
- Set “HKLM\SOFTWARE\Wow6432Node\CambridgeSoft\ChemBioDraw\15.0\Ultra!License” to “Licensed to Grinnell College”.
- 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...
My Online KScript does the following...
Verify
- Verify that “HKLM\SOFTWARE\Wow6432Node\CambridgeSoft\ChemBioOffice\15.0\Ultra” exists.
On Success
- Run the batch file “Install Grinnell_College_CBD15_64_Override_2015.reg” with params “”.
Remediation
- Run the batch file “Install Grinnell_College_CBD15_64_Override_2015.reg” with params “”.
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
Answers (0)
Please log in to answer
Be the first to answer this question