product icon

Configure LastPass Universal Proxy 4.x using command line interface (CLI) on Windows

    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 Set up LastPass Universal Proxy v4.x for more information on downloading and installing LastPass Universal Proxy.
    About this task:
    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 Configure LastPass Universal Proxy 4.x with the configuration file without using the CLI tool on Windows.

      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.