NetTalk Central

Author Topic: Multi dll NTWS as a service?  (Read 6130 times)

JohanR

  • Sr. Member
  • ****
  • Posts: 375
    • View Profile
    • Email
Multi dll NTWS as a service?
« on: May 08, 2018, 01:49:28 AM »

Have gone through the docs etc..

Currently running on admin account as desktop app

But thought before I implement wanted to check if there any further resources or tips on this.
Webinars? Best examples to use? Any tips?
Any advantages in using the NTWS hosting app?

What is current best practice on server 2012 R2 to install NTWS as a service?


thanks

Johan


bshields

  • Sr. Member
  • ****
  • Posts: 392
    • View Profile
    • Inhabit
    • Email
Re: Multi dll NTWS as a service?
« Reply #1 on: May 08, 2018, 03:41:46 AM »
Hi Johan,

If you run as a service in Server2012(R2) you'll not be able to see the Nettalk app unless you start the service "Interactive Services Detection".

I think from memory, if your app does not run under the built-in SERVICES account, Interactive Services Detection won't work.

If you print, you'll probably need to install a printer on the server, even if one isn't connected. Generally, you cannot install a printer under the services account with some pain and suffering.

Regards
Bill


oggy

  • Full Member
  • ***
  • Posts: 219
    • View Profile
    • Email
Re: Multi dll NTWS as a service?
« Reply #2 on: May 08, 2018, 10:23:05 PM »
On win2012 you can run your app(s) like services, without problems.
You need to install it  under your account that is provided with full rights and privileges. And one more: If you are using one account to lets say, log into server via RDP session, DO NOT use that account to install your services app.
I have couple of apps running like server, on: Win 2008 , Win 2008 R2, Win 2012, Win 2012R....
If you have questions, just call.

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Multi dll NTWS as a service?
« Reply #3 on: May 09, 2018, 04:50:47 AM »
Hi Oggy,

>> If you are using one account to lets say, log into server via RDP session, DO NOT use that account to install your services app.

To be clear - you can _install_ the service using any account (as long as you run it As Administrator).

But you may then assign the service to run as a "user" (any user should be ok) from the windows Service Manager.

cheers
Bruce

JohanR

  • Sr. Member
  • ****
  • Posts: 375
    • View Profile
    • Email
Re: Multi dll NTWS as a service?
« Reply #4 on: May 09, 2018, 06:28:04 AM »
Hi,

working beautifully!
I used the gui to install the service, but not start it.
closed the webserver.
Then used the windows service manager to start the actual service.

Also implemented messagebox with silent logging , just in case there is a lost message() somewhere.

Once you figure out all the bits and bobs it's easy.

Thank you Capesoft!



Johan

oggy

  • Full Member
  • ***
  • Posts: 219
    • View Profile
    • Email
Re: Multi dll NTWS as a service?
« Reply #5 on: May 10, 2018, 12:23:21 AM »
Hi Oggy,


To be clear - you can _install_ the service using any account (as long as you run it As Administrator).

But you may then assign the service to run as a "user" (any user should be ok) from the windows Service Manager.

cheers
Bruce
Yes, I agreed. Just to clarify: I noticed that "problem" that if one use the same account for RDP connections and for service application, after disconecting from RDP session, the service just stop to responde... I do not blame selfservice of nettalk  :), its probably "bug" on server OS side....



Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Multi dll NTWS as a service?
« Reply #6 on: May 11, 2018, 01:22:55 AM »
I don't think it's a "bug" <g>. I think it's a setting...
But alas I don't recall the specifics offhand...