Delete folders/files under GlobalCache folder

  • 16 February 2023
  • 4 replies


Need help-

Can someone help me to how to delete files/folders under GlobalCache folder(C:\ProgramData\AutomationAnywhere\GlobalCache). Since it is required Admin Privilege to delete files under GlobalCache folder. How we can achieve it using BOT. 

4 replies

Userlevel 5
Badge +14

@Kandari 9606 

Add botrunner id / bot id  either at AutomationAnywhere folder or Global cache  with full control → Then folder delete works.. 

I tried, its working… try and let me know if you face any issue.


Process to add user → Rt click the folder, properties , security, Edit → Add user and select permissions as Allow all → Apply… 

Userlevel 6
Badge +16

Hi @Kandari 9606 

Connect with your IT and get the Read & Write Access to the Global Cache or Root Folder level to the respective bot id.


Userlevel 5
Badge +9

@Kandari 9606

Provide permission in the folder as above mentions, stop Automation Anywhere Bot Service and try delete it again.

Probably is better using a script to delete the folder Global-Cache. It will be recreated after start the AA Bot Agent Service.




Badge +2

@Kandari 9606  While bot running you delete those file which not using “Automation Anywhere Bot Service”.