Overview
The Logon Components are crucial to the functionality of Login Enterprise. This part ensures the software starts as soon as the users log in.
Downloading Logon Components
To download either of these components:
- In the Login Enterprise sidebar menu, navigate to Configuration > Accounts.
- In Accounts, select Downloads.
The Logon component must run when a Login Enterprise virtual user logs into the desktop. Therefore, it must be located somewhere accessible by the virtual user when it logs on to the system. There are multiple ways to do this:
- You can either run the component in the user properties for the AD User Object or in the AD Group Policy.
- You can run it via UEM tooling, such as RES Workspace Manager or AppSense.
Login Enterprise has two options to start the virtual user within the Target session. The recommended option is the Logon Executable.
Logon Executable
Please note that the Logon Executable does not support server 2008 R2, Windows 7, and older versions of Windows.
Once you've downloaded and extracted the files from the Logon Executable, you need to run it. All we require is that the LoginPI.Logon.exe is executed with a single command-line parameter, the URL of your Login Enterprise environment. See the example below:
.\LoginPI.Logon.exe https://p05-appliance.play.loginvsi.com
Note the lack of a forward slash character after the base URL string.
You can implement this as the logon script command and place the executable in a location that is accessible by all Login Enterprise users. Or you can create your logon script with this command that is then executed by your preferred setup.
Desktop Connection
If you are using the Desktop Connector for Application or Continuous tests, there is one exception on the command-line parameter. You might need to add the test name, so the command will look like the following:
.\LoginPI.Logon.exe https://p05-appliance.play.loginvsi.com "Test Desktop"
If you are on a version below 4.4.X, you will need to add the guid at the end of the command line parameters as shown in the example below:
.\LoginPI.Logon.exe https://p05-appliance.play.loginvsi.com ebdfa18b-772b-4423-8069-5211c7a62688
The GUID at the end of this command is the unique ID of the environment you have configured with the desktop connector. The easiest way of finding out the GUID of the environment is by opening the environment configuration page and selecting the environment. In the URL bar of your browser, you can see the ID at the end of the URL.
If your company uses Windows 10, there will be a short delay before the Logon script starts running. To speed up the process, Microsoft has released a fix. For more details, see Logon scripts don't run for five minutes.
Logon Script
The Logon script is meant to be used in older environments that the Logon Executable does not support. To use the Logon Script, download it and attach it to the user. There are multiple ways to do this:
- You can either run the component in the user properties for the AD User Object or in the AD Group Policy.
- You can run it via UEM tooling, such as RES Workspace Manager or AppSense.
The Logon Script uses PowerShell. Your test users must be allowed to run this in power-shell's full language mode. For more information on the Logon Script, see Antivirus and app blocker exclusion.