We are experiencing a problem in our organisation while upgrading one of the application which requires clearing the cache of that particular application from C:\users\%username%\AppData\Roaming\ClickSoftware\
We either have an option to delete the folder ClickSoftware itself or just to delete the contents of this folder.
Inorder to achieve this we have written a vbscript which works fine when executed manually, however when we push the same through LANDesk (v9.0 SP2 - patches up to date) it fails to clear the content. We are using the system account to distribute the package.
Thought UAC would be the culprit but it didnt work even after disabling the UAC & also tried the RunAS function by piping the local admin username & password ( this again works manually ) but fails via LANDesk Push.
OS Platform: Windows 7 Professional 32 Bit
Any fix would be highly appreciated as this issue has impacted our Production System big time