I'm trying to get EMSRV installed as a service on Windows 8.1 but I'm having some trouble. Has anyone done this before? Any help is appreciated.
It says "Windows 8.1 Full Version" but I don't think that is the "Pro" version. Why won't it run on the "Home" edition? It ran on my home edition of Windows 7.I am now able to get EMSRV installed as a service but it stops shortly after starting.
Great news!
Can you share the precise details to set this up?
--
You received this message because you are subscribed to a topic in the Google Groups "VA Smalltalk" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/va-smalltalk/Zm6Zvawq6Fg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to va-smalltalk...@googlegroups.com.
To post to this group, send email to va-sma...@googlegroups.com.
Visit this group at http://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/d/optout.
How to install EMSRV as an NT service (note, paths and file names are for VA Smalltalk v8.6Create EMSRVUSER (Find the place in Windows to create new usersAccount type of "Standard" is fineRemember the passwordIn a command window run as administrator (this is important).Change the directory to where emsrv.exe lives, probably something like this:cd Program Files (x86)\Instantiations\VA Smalltalk\8.6Then run the emsrv.exe program to install the service, being sure to use the triple double quotesand the password from the above user setup:emsrv -install -mp -u EMSRVUSER -p ThePasswordFromAbove -W """c:\Program Files (x86)\Instantiations\VA Smalltalk\8.6"""At this point the service should be installed. If you want it to start automatically you needto find it in the Services window and change the setting.Now in a file browser, find the manager file, it should be here(depending upon your VA Smalltalk version and its name,note: ProgramData is usually a hidden folder:c:\ProgramData\Instantiations\VA Smalltalk\8.6\manager\mgr86.datChange its Properties>Security to include the ERSRVUSER with "Full control".That should be it. I haven't done this and so far I haven't found a reason to butthere may be some value in setting up emsrv.exe to run as Administrator.
How did it go?
I can't seem to get the service to autostart. I define it as such but nothing happens. If I start it by hand, all is well. I'm going to try putting a command file with "sc start emsrv" in a start up folder and see how that goes.
As for the "triple double quotes", I'm going to stick my nose out a little here and do something I'm a little loath to do and that is criticize another programmer especially when he/she isn't around to defend them selves. I don't know what's up with the "triple double quotes"??? I can see one set, without one set windows treats the things between blanks as separate parameters so one set is needed to keep the path together. But why three? My guess is that the path is passed on to other things that also need the double quotes. I would prefer it if the programmer added the double quotes back when needed instead of us users having to wrap the path in triple double quotes.Anyway, we are big boys and supplying "triple double quotes" is no big deal but we do this so seldom and it is so easy to mess up that it is annoying.
On Friday, September 5, 2014 1:37:51 PM UTC-7, Louis LaBrunda wrote:How did it go?
On Friday, September 5, 2014 1:54:49 PM UTC-7, Richard Sargent wrote:On Friday, September 5, 2014 1:37:51 PM UTC-7, Louis LaBrunda wrote:How did it go?I tried it out and your instructions worked. I have EMSRV running.
FYI, you can find the service definition in the registry at HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EMSRV. If you exit the registry (with caution!), you can add a description to the Services display. e.g. add a new string value with the name "Description" and for my example with the value "ENVY Manager Service"
I have not done the shortcuts for starting and stopping the service.
FYI, you can find the service definition in the registry at HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EMSRV. If you exit the registry (with caution!), you can add a description to the Services display. e.g. add a new string value with the name "Description" and for my example with the value "ENVY Manager Service"Thanks. I did "exit the registry (with caution!)" (I'm sure meant "Edit"), I like having the description set.
I have not done the shortcuts for starting and stopping the service.I don't know why it won't auto start, it worked in windows 7, it must be a windows 8 security thing. Anyway my little command file that uses the "sc" command in a start up folder works fine.
On Monday, September 8, 2014 8:44:47 AM UTC-7, Louis LaBrunda wrote:FYI, you can find the service definition in the registry at HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EMSRV. If you exit the registry (with caution!), you can add a description to the Services display. e.g. add a new string value with the name "Description" and for my example with the value "ENVY Manager Service"Thanks. I did "exit the registry (with caution!)" (I'm sure meant "Edit"), I like having the description set.
Indeed I did. I can spell much better than I can type. :-)
I have not done the shortcuts for starting and stopping the service.I don't know why it won't auto start, it worked in windows 7, it must be a windows 8 security thing. Anyway my little command file that uses the "sc" command in a start up folder works fine.
I suspect it is a permissions issue. I noticed the "sc" command requires administrator privilege to run. So it *might* be the case that the EMSRVUSER doesn't have the necessary permissions to start the service. I really don't know much about how Windows manages services. But this might be what the "act as part of the operating system" privilege is all about.
It's not a big deal to have shortcuts for starting and stopping the service and having to give permission for them to execute.
Lou
Lou