Manager Server box remains visible

When I run ManagerServer.exe, a Command box comes up and it has to be visible (or minimised) all the time and I keep accidentally closing it thinking it’s another CMD box I’ve left open. Can this run as a service or elsewhere in the background?

Are you using the Server version?

I remember reading something about running the exe file as a service, but don’t recall if it was possible. Try searching the forum.

I’ve just tried running as a service using the SVRSTART utility. It does actually work for a few seconds but crashes with “Er 1053 - The service did not start within a timely fashion.”

Yes @dcVest I’m running the server version. Yes I did a search of the forum but couldn’t find anything.

you can run it as a schedule task using windows task scheduler. The xml file should look like this:

Thanks @pandhm. Does this mean it will run without the cmd box and also start up with out the UAC acceptance box coming up?

True

Also have you got that available as text rather than a graphics image please? Thanks

I can give you the text but it will not work to your server, you can use it only as help to create one schedule task in your machine.

Yes I realise that. However, it would be useful to save typing it all out.

indent preformatted text by 4 spaces

<?xml version="1.0" encoding="UTF-16"?>
<Task version="1.2" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
  <RegistrationInfo>
    <Date>2016-11-02T11:18:49.8208927</Date>
    <Author>_______________________</Author>
  </RegistrationInfo>
  <Triggers>
    <BootTrigger>
      <Enabled>true</Enabled>
    </BootTrigger>
  </Triggers>
  <Principals>
    <Principal id="Author">
      <UserId>MANAGER\manager</UserId>
       <LogonType>Password</LogonType>
      <RunLevel>HighestAvailable</RunLevel>
    </Principal>
  </Principals>
  <Settings>
    <MultipleInstancesPolicy>IgnoreNew</MultipleInstancesPolicy>
    <DisallowStartIfOnBatteries>true</DisallowStartIfOnBatteries>
    <StopIfGoingOnBatteries>true</StopIfGoingOnBatteries>
    <AllowHardTerminate>true</AllowHardTerminate>
    <StartWhenAvailable>true</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>E:\Dell7500\ManagerServer\ManagerServer.exe</Command>
      <Arguments>-port 80 -path "C:\Bios\Manager"</Arguments>
      <WorkingDirectory>E:\DELL7500\ManagerServer\</WorkingDirectory>
    </Exec>
  </Actions>
</Task>

Fantastic. I’ll have a play around with it. Many thanks for your help.

change accordingly the above

I mean the paths

It starts the software everytime the machine is booting

You have to import it to the task scheduler of windows

That works! Absolutely fantastic. I’m very grateful. A good solution for others I am sure (unless @lubos has a better solution of course!).

:slight_smile: Give me a like then!!! :slight_smile:
Gland I helped

2 Likes