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
Please log in to comment


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
Please log in to comment
Answer this question or Comment on this question for clarity