Post Reply 
MinimServer start as a service on Windows
09-11-2015, 23:11 (This post was last modified: 09-11-2015 23:18 by Nicks.)
Post: #9
RE: MinimServer start as a service on Windows
(08-11-2015 23:50)simoncn Wrote:  MinimServer uses the startup directory location to compute the location of its configuration files. If you use a different directory for startup, MinimServer will go into test mode, which isn't supported or recommended.

Is there some reason why you can't configure the Windows service to change directory to the "lib" directory before starting MinimServer? For example, you could do this by running a cmd.exe /c script that sets the directory and then starts MinimServer.

Thanks for the clarification.

The AppDirectory string in the registry is intended to ensure the "srvany.exe" service does indeed start MinimServer in the 'lib' directory. But I cannot get this to work using the Microsoft srvany.exe service method or alternative service wrappers - at least not on this system. Its been optimized by disabling many standard service so perhaps this is the issue. I've also tried calling a batch / script file but this doesn't work because it doesn't provide the control functions and feedback expected of services that the srvany.exe and other service wrappers provide.

So I've taken a different approach which is much easier to implement:-

1) Place the MinimServer desktop shortcut into the start-up folder of the local user account:
Enter "shell:startup" from the run command window (Window key + R) and copy the MinimServer desktop shortcut into the startup folder.

2) Enable Autologon: using https://technet.microsoft.com/en-us/sysi.../autologon

Now the system boots, automatically starts a local user session and MinimServer. :-)
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: MinimServer start as a service on Windows - Nicks - 09-11-2015 23:11

Forum Jump:


User(s) browsing this thread: 1 Guest(s)