Hello.  I have been trying to use our KACE 1000 to create a script to change two start menu shortcuts that are corrupt.  I've hit a dead end as I cannot find a way via KACE to make this work.  I've created a batch file that if run as Administrator, it does work and replaces the short cuts.  However, running the batch file in KACE both with the builtin batch file tool and a manual batch don't work.  The command prompt on the client system just hangs.  I did set the run as permission with our network administrator credentials.

Any suggestions would be really appreciated.

Thank you.

0 Comments   [ - ] Hide Comments


Please log in to comment

Answer this question or Comment on this question for clarity



you should be able to create a script (run as system) to xcopy the files.  Upload the links as dependencies and use xcopy to move them from the kace directory to C:\ProgramData\Microsoft\Windows\Start Menu\Programs\whereever

launch a program 

directory  $(KACE_SYS_DIR)
file xcopy.exe
parameters $(KACE_DEPENDENCY_DIR)\*.lnk C:\ProgramData\Microsoft\Windows\Start Menu\Programs\whereever /q /y

Answered 04/16/2013 by: SMal.tmcc
Red Belt

  • I tried to upload the two shortcuts and KACE, instead of taking the shortcuts themselves, converts it to the path of the shortcuts. So KACE wants to look directly at the exe.
    Is there a way around this?
  • zip the two files up and upload that zip as dependency
    for verify look for the files, if they exist delete them, then use "unzip a file" instead. If they are in 2 different spots you may have to do 2 unzips.
    • use $(KACE_DEPENDENCY_DIR) for the directory, your file.zip for the file and target where you want to place the shortcut(s)
Please log in to comment