Run application on Windows server without disconnecting

2 posts · Closed

Victor Guest
2 Dec 2021

Hi,

We recently bought Connection Emulator and we would like it to run on a Windows server without disconnecting. At the moment the application only runs per user account and it seems to need licensing for each user that is logged in.

Is it possible to have the application maintain the same session for all users that are logged in (i.e. the same information is displayed for all, and a change by any user reflects on all sessions)? Also, we would like to keep the application running even when the user logs off. Would this be possible to setup?

Thanks,
Victor

Ann SoftPerfect
2 Dec 2021

Yes, it is possible to set a licence on the computer globally, and then run the software without a user login. Here is how:

  1. Create a REG file as described here, then import it in the registry. This will set your licence to a key under HKLM, and the Connection Emulator will launch as licensed for any user.
  2. Create an XML profile with your emulation settings, i.e. choose your settings in Connection Emulator and then save them to a file via File - Save Profile in the main menu.
  3. Once the above is done, you can create a scheduled task to run the software without logon. The task needs to run on boot whether the user logs in or not and execute the following command line:
C:\Program Files\SoftPerfect Connection Emulator\consim.exe /runtime:0 /hide C:\Test\myprofile.xml

Below is an example of a scheduler entry. You can copy it to your system, and after a reboot the software should start automatically and begin the emulation with the specified profile file.

<?xml version="1.0" encoding="UTF-16"?>
<Task version="1.2" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
  <RegistrationInfo>
    <Date>2021-12-02T14:12:27.1163654</Date>
    <Author>DESKTOP\USER</Author>
    <URI>\CE</URI>
  </RegistrationInfo>
  <Triggers>
    <BootTrigger>
      <Enabled>true</Enabled>
    </BootTrigger>
  </Triggers>
  <Principals>
    <Principal id="Author">
      <UserId></UserId>
      <LogonType>S4U</LogonType>
      <RunLevel>LeastPrivilege</RunLevel>
    </Principal>
  </Principals>
  <Settings>
    <MultipleInstancesPolicy>IgnoreNew</MultipleInstancesPolicy>
    <DisallowStartIfOnBatteries>true</DisallowStartIfOnBatteries>
    <StopIfGoingOnBatteries>true</StopIfGoingOnBatteries>
    <AllowHardTerminate>false</AllowHardTerminate>
    <StartWhenAvailable>false</StartWhenAvailable>
    <RunOnlyIfNetworkAvailable>false</RunOnlyIfNetworkAvailable>
    <IdleSettings>
      <StopOnIdleEnd>true</StopOnIdleEnd>
      <RestartOnIdle>false</RestartOnIdle>
    </IdleSettings>
    <AllowStartOnDemand>true</AllowStartOnDemand>
    <Enabled>true</Enabled>
    <Hidden>false</Hidden>
    <RunOnlyIfIdle>false</RunOnlyIfIdle>
    <WakeToRun>false</WakeToRun>
    <ExecutionTimeLimit>PT0S</ExecutionTimeLimit>
    <Priority>7</Priority>
  </Settings>
  <Actions Context="Author">
    <Exec>
      <Command>"C:\Program Files\SoftPerfect Connection Emulator\consim.exe"</Command>
      <Arguments>/runtime:0 /hide C:\Test\myprofile.xml</Arguments>
    </Exec>
  </Actions>
</Task>
This topic is closed. It has had no new posts for over a year, so the software versions it talks about may be out of date. Start a new topic in Connection Emulator if you have a similar question.