Each time a script (.bat) is launched on a windows agent, it creates a directory in "c2otmp" (in directory indicated on line scripts/tmpDir in oasisconfig.properties of PamAgent\.config)
Is that normal that those directories are not removed at the end of execution of scripts ?
There are thousands of directories in "c2otmp" on all our windows servers with PamAgent.
These temp files and folders should be cleaned up, they are only required while an instance is active.
These files can be cleaned up without much trouble with the Agent shut down. If there is a file that it cannot find it will recreate the temp files the process requires. This causes the process to be slightly slower, this increase should be slight enough that it is unnoticeable.
If the problem persists please open a support case and we can get the SE team to review.