• January 21, 2018, 10:27:55 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Pages: 1 2 [3]

Author Topic: Run as Windows Service  (Read 1706 times)

GreenBay42

  • Administrator
  • Level 5 Member
  • *
  • Posts: 590
Re: Run as Windows Service
« Reply #30 on: November 08, 2017, 07:46:27 AM »

Thanks for the find. I am glad you found the issue cuz it was bugging me. I will let tech support know and maybe better installation instructions can be included with the software download.
Logged

Datre

  • Level 1 Member
  • *
  • Posts: 2
Re: Run as Windows Service
« Reply #31 on: December 29, 2017, 04:39:43 PM »

For me (Windows 8.1 64bits), the method of arthurlin43 did not work properly.
I had to run LoaderServiceSetup.msi as administrator (install.bat was not enough). Then, I ticked the box "Run a Windows Service", but at startup Windows, Monitor launched anyway asking for a privilege elevation. The service did not seem to start.

I used another method that worked the first time:
- Launch LoaderServiceSetup.msi and uninstall.
- Download NSSM v2.24 (https://nssm.cc/)
- Copy of nssm.exe into C:\Program Files (x86)\D-Link\D-ViewCam
- As administrator, run nssm.exe install D-ViewCam (We can put a name other than D-ViewCam).
- In path, indicate where MainConsole.exe is located


We can also put the service in delayed start.

To create the service, click on "Install service"

Start the task manager. Boot tab, select D-ViewCam (if present) and disable it.


Finally, either start the D-ViewCam service in the service manager or reboot.
« Last Edit: December 29, 2017, 04:42:50 PM by Datre »
Logged

Red90

  • Level 2 Member
  • **
  • Posts: 38
Re: Run as Windows Service
« Reply #32 on: December 30, 2017, 07:06:35 AM »

When I run it as a service, the main console starts to run before you log in, so there is no need or possibility for it to ask for elevated privileges.  You do not need to do any of the things you describe.

FYI, it does not actually "run as a service".  It simply starts the main console PROGRAM when the computer is booted up, before logging in.  It is not a service, but a normal program.
Logged
Pages: 1 2 [3]