How do I configure LastPass Universal Proxy using command line interface (CLI)?

After you have installed LastPass Universal Proxy, you can configure the settings using command line interface (CLI) to use LDAP, LDAPS or RADIUS protocols for forwarding authentication requests. This must be done as an administrator on a Windows server within your infrastructure where Universal Proxy is installed.

Before you begin: Check How do I set up LastPass Universal Proxy? for information on downloading and installing LastPass Universal Proxy.
Note: This feature requires an account with the LastPass Business + Advanced MFA add-on. How do I upgrade my LastPass Business account with an add-on?
Requirements for the configuration process:
  • Microsoft Windows operating system
  • Windows PowerShell 3.0 or higher
Note: We recommend to use the CLI tool when configuring Universal Proxy for the first time, as it generates an initial version of the file. Then, for further configurations you can use the configuration file.
  1. Open PowerShell and execute the following command:

    uproxy -configurationTool

  2. When the command line window opens, follow the instructions for configuring one of the following protocols:
  3. Once configured the configuration file is created with the settings in the C:\Program Files\LastPass\Universal Proxy\conf folder. For more information on how to use this file for configuration, see How do I configure LastPass Universal Proxy with the configuration file without using the CLI tool?.

    After each configuration with the CLI tool a new file is created and the previous configuration is saved in a server.properties_backup_timestamp file.