Change location of keystroke files

When you install the Control Room, the keystroke files are stored in the system temp folder. You can change the location of the keystroke files to a custom location.

Prerequisites

Stop the following Automation Anywhere Control Room services before you change the location of the Control Room keystroke files.
  • Automation Anywhere Control Room Caching
  • Automation Anywhere Control Room Service

Procedure

  1. Create a new folder to move the existing keystroke files from the system temp folder to the Control Room temp folder.
    Example: C:\ProgramData\AutomationAnywhere\CRTemp
  2. Run the command prompt in administrator mode.
  3. Go to the Automation Anywhere installation path using the CD command in the command prompt window: C:\Program Files\Automation Anywhere\Enterprise\ nssm
  4. Go to Services and select the Properties option from the context menu for Automation Anywhere Control Room Caching.
  5. Copy the Service name from Automation Anywhere Control Room Caching window.
  6. In the command prompt window, enter the command nssm.exe edit and paste the service name (Automation Anywhere Control Room Caching) that you copied in Step 5.
  7. In the NSSM service editor window, select the Application tab and copy the value of the Arguments field.
  8. Open any XML editor such as Notepad++ and enter -Djava.io.tmpdir="C:\ProgramData\AutomationAnywhere\CRTemp followed by a space and the copied arguments from Step 7.
  9. Save the file.
  10. Copy the property and enter it in the Arguments field of the NSSM service editor window.
  11. Click Edit service.
  12. Repeat Steps 4 through 11 for Automation Anywhere Control Room Service.
  13. If you have a cluster-based setup, perform Steps 1 through 11 on each node.
  14. Start the following Automation Anywhere Control Room services.
    • Automation Anywhere Control Room Caching
    • Automation Anywhere Control Room Service