hello all-


i am trying to remove this folder from all users pc, can someone please help me on how i can get this accomplish in kace 1000. i have a batch that i can use. do you guys know of  vbs script i can use.


Delete “ ~Cache~ ” folder in the following path:


rmdir /s /q "C:\Summit\Teller\ExePath\cashe"








Answer Summary:
0 Comments   [ + ] Show Comments


Please log in to comment

Community Chosen Answer


Online Kscript.

VERIFY: A directory exists.


REMEDIATION: Run batch file

@echo off

rmdir /s /q "C:\Summit\Teller\ExePath\cache"

Answered 02/12/2013 by: dugullett
Red Belt

  • VB would mean extra lines when only the one is needed. Is there any particular reason you want VB?
  • no reason dugullett somone told me that VB works better in KACE
    • Well if you really want to create your VB. Upload it as a dependency. Use the same VERIFY step.

      Under the REMEDIATION: Launch a program.
      Directory: $(KACE_SYS_DIR)
      File: cscript.exe
      Parameters: $(KACE_DEPENDENCY_DIR)\<script>.vbs

      As far as writing the script, since that one is an easier one I would Google it. There are a ton of examples out there.
  • dugullett i dont have the option to run bactch file in remediation
    • Make sure Windows is selected as the OS.
  • got it in the parameters section what should i use

    Run the batch file “REMOVE CACHE†with params “rmdir /s /q â€C:\Summit\Teller\ExePath\cache“â€.EditRun a batch file...
    Script Name:
    Batch file: @echo off

    Wait for completion
  • now i try to execute i am getting Log for REMOVE CACHE FOLDER on SUN-TRAIN-03[ Show All ]


    Started: 02/12/2013 15:45:32
    Finished: 02/12/2013 15:45:32
    Elapsed Time: 0 second
    Status: 3

    Output Log
    Skipping 'REMOVE CACHE FOLDER' because not allowed to execute logged off
    • Check mark the box under the schedule settings "Allow Run While Logged Off".
  • thanks for all your help dugullett
Please log in to comment



My scripts pretty much all have this as the end of a run program SYS\cmd.exe task:

/C "rd /s /q "$(KACE_DEPENDENCY_DIR)""
Answered 02/12/2013 by: worzie
Second Degree Green Belt

Please log in to comment
This content is currently hidden from public view.
Reason: Removed by member request
For more information, visit our FAQ's.

Answer this question or Comment on this question for clarity