Retrieve the AFAS Remote tool and record settings

You place the tool on the system on which you want to run it and you specify the settings.


Retrieve the AFAS Remote tool (once only)

You need the AfasRemoteCmd.exe tool to be able to use AFAS Remote.

To retrieve the AFAS Remote tool:

  1. You can retrieve the tool in two ways:
    • Local installation

      The tool is in the following location:

      \Program Files (x86)\Profit\AFAS Windows\Kernel\Bin\AfasRemoteCmd.exe

    • Download (AFAS Online)

      Download the tool from the AFAS website. This is a zip file; you must extract it. This tool is suitable for Profit 2016.2.08 and later updates. Use the Dutch Help Page to download the tool.

  2. Place the tool on the system that you will use to run command lines.


    You are going to run AFAS Remote from a local server.

    Create the C:\AfasRemote folder.

    Place the AfasRemoteCmd.exe tool in this folder.

    If you add a token at a later stage, also place token.xml in this folder.

Generate a settings file

If you perform these steps for the first time, the tool creates a settings file on your local system.

If you get a new token, follow these steps to register the new token in the settings file. The token is encrypted and stored here.

To generate a settings file:

  1. You must log on to the system on which afasremotecmd.exe resides, using the user name of the default user of the Command Line Utility.
  2. Create a batch file with the following content:

    AfasRemoteCmd.exe /O"<environment name>" IMPORTTOKEN /F"Token.xml"


    Environment name: O12345AA

    File location: C:\AfasRemote

    Command line:

    C:\AfasRemote\AfasRemoteCmd.exe /O"O12345AA" IMPORTTOKEN /F"C:\AfasRemote\Token.xml"

Change web services URL

The settings file contains the URL of the Profit Web services.

To change the URL of the Profit Web services:

  1. Start Windows Explorer and open the following folder:

    %AppData%\AFAS Software\RemoteCmd

  2. Open 'Settings.xml'.

  3. Change the URL of the Profit Web services:
    • AFAS Online

      The URL must contain the correct participant number.

    • Local installation

      Use the URL of the Webservices in the local installation.

    • AFAS Accept (early adopters)

      Copy the below line and paste it into the settings file:

      <AFASRemote URL="">

  4. Save the file.

Directly to

  1. Configure the AFAS Remote command line
  2. Configure a queue
  3. Authorise the queue menu options
  4. Check the systems requirements for AFAS Remote
  5. Authorise AFAS Remote
  6. Create an app connector, user and token
  7. Retrieve the AFAS Remote tool and record settings
  8. Manage AFAS Remote