Online licenses become invalid when no user is logged in to the system due to which Scheduled Task fails to run.

In order for the scheduled task to run, whether the user is logged on to a system or not, a script must be executed. Once the LMS client has been installed, it is necessary to set the proper settings on the scheduled task by executing the script.

To execute the script:

  1. From the Start menu, run the command prompt as administrator.
  1. Enter the command: powershell -Command "& 'C:\Program Files\Siemens\LMS\scripts\SetOnlineCheckUser.ps1'"
  1. Enter the password for the current user.
  • The scheduled task is successfully configured.