KACE Product Support Question

Issue with importing a .reg file

08/21/2014 3753 views
I have created a script to import a .reg file. on the workstation the .reg file and the Kace8925.bat file exist in C:\ProgramData\Dell\KACE\kbots_cache\packages\kbots\208

If i run the Kace8925.bat manually file it works fine. But if I run the script from within Kace it says it completed ok but it does not actually import the data.
Here is part of script, run as local system.

Can anyone assist with why it would not work ?

Add new dependency…

On Success

  1. Run the batch file uat.bat with params . Run a batch file...
    Script Name:  
    Batch file:  

      Wait for completion

Answer Summary:
1 Comment   [ + ] Show comment


  • I find it easier to Launch a program instead of a batch file.

    Dir - SYS
    File - cmd.exe
    Parameters /C regedit /s "$(KACE_DEPENDENCY_DIR)\uat.reg"
    • thanks for that, I will give that a go

All Answers

Ok ... after some more playing around I changed the Windows Run As to "Logged-in user" from "Local System" and this worked
Answered 08/21/2014 by: KiwiJJ
Orange Senior Belt

  • if the reg poke modifies the hkcu, it does need to be run as the current user
    • Yes, it was modifying the HKCU, thanks for the clarification

Don't be a Stranger!

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

Sign up! or login