Follow

Agent procedures - deleteDirectory with "recursively delete" option fails on agents with Italian Windows installation

Problem

When running agent procedure with deleteDirectory step, with "recursively delete" option selected, for a directory which contains sub-directories, the procedure will always fail on agents with Italian language Windows installation.

Cause

The problem has been documented.

Resolution

To workaround the problem, replace the deleteDirectory step with ExecuteShellCommand, and call this command to delete the folder: -

rd /s /q "x:\folder"

(replace x:\folder with actual folder to be deleted)

This article will be updated when a permanent solution is available.

Applies to

Kaseya VSA (all versions)

Was this article helpful?
1 out of 1 found this helpful
Have more questions? Submit a request

0 Comments

Article is closed for comments.