Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.9.1 available

The official documentation can be found on http://wiki.ocsinventory-ng.org. Read it before asking your question.

using ocs teledeploy functionnality


I want to use ocs teledeploy functionnality to clear a browser cache (ie) on client machines. I have 90 clients and I just need to run the following command: C:\Windows\System32\RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 255

I used the execute action to run this command but nothing has changed. Then I used the launch action to launch a .bat file with this command. even adding start didnt resolve the issue. the package is always downloaded successfully but nohting has been executed on the client machine to proove that the cache has been cleaned.

How can I di this action please. it's a production issue and I need to relove this ASAP. 


in OCS Inventory NG agent for Unix by (310 points)

1 Answer

0 votes
hy, first of all i normally don't reply to users which use the word ASAP in big letters.

Your command should work - but only to local system account( under whoch ocs-inventory service works)

You need a script which loops through everyer user folder.

like this script


Then it works.

Kind regards

by (20.2k points)
Powered by Question2Answer