• February 20, 2018, 07:40:19 AM
  • 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 2140 times)

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 44558
  • D-Link Global Forum Moderator
    • New DIR-890L Router with SmartConnect™ Technology
Re: Run as Windows Service
« Reply #15 on: November 06, 2017, 10:12:30 AM »

Ya I believe you need admin rights. Mines installed on a Windows 7 x32 PC and the check box is selectable for me.
Logged
Cable:200mb/10Mb>Motorola MB7420>COVR3902>HP 24pt Gb Switch. 3xDGL-4500s,DIR-857,835,827,815,890L,880L,868L,865L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L and 960L.
Go Here>Router Troubleshooting

GreenBay42

  • Administrator
  • Level 5 Member
  • *
  • Posts: 678
Re: Run as Windows Service
« Reply #16 on: November 06, 2017, 10:18:42 AM »

Me too. I cannot make it grayed out.

arthurlin - are you logged in dviewcam as "admin" or did you create users and using a different account?
Logged

arthurlin43

  • Level 1 Member
  • *
  • Posts: 10
Re: Run as Windows Service
« Reply #17 on: November 06, 2017, 01:35:21 PM »

My system is a freshly installed Windows 10.0.15063 - perhaps there are something specific to the OS version.

From windows user - I have one and only user with admin right.  I have created an user account for Dview called "admin" with a password - this is supplied in the "Auto-Login" SETUP section.

I have also tried to uninstall/re-install Dview that has no apparent value.   I cannot remember if I have done "Run As Administrator" to install Dview (most likely not) but it has enough privilege to install Dview and Device pack and C run time etc.

During my attempt to re-install - I have started the installer with "Run as Administrator" that doesn't seem to make any difference.

I have also stop MainConsole.exe (exit from console) - and tried to start Dview from Windows Start menu with "Run As Administrator" that doesn't appear to make any difference either.
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 44558
  • D-Link Global Forum Moderator
    • New DIR-890L Router with SmartConnect™ Technology
Re: Run as Windows Service
« Reply #18 on: November 06, 2017, 01:37:13 PM »

Can you log in to this Windows with the actual Administrator account and see if there is any differences?
Logged
Cable:200mb/10Mb>Motorola MB7420>COVR3902>HP 24pt Gb Switch. 3xDGL-4500s,DIR-857,835,827,815,890L,880L,868L,865L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L and 960L.
Go Here>Router Troubleshooting

GreenBay42

  • Administrator
  • Level 5 Member
  • *
  • Posts: 678
Re: Run as Windows Service
« Reply #19 on: November 06, 2017, 03:14:30 PM »

If you log into dviewcam as admin, Click the Settings icon (wrench) > Setting > User Account Setting. Click on the admin account and click the Privilege tab. Are there any items unchecked?
Logged

arthurlin43

  • Level 1 Member
  • *
  • Posts: 10
Re: Run as Windows Service
« Reply #20 on: November 07, 2017, 07:39:47 AM »

Thank you for staying with me on this seemingly impossible problem.

I managed to disable UAC - after reboot and re-install as an administrator - the behavior remains the same.  The choice is still grayed out.

A quick observation - the reinstall does not seem to be the same as a fresh install.  For one thing the new install picks up my  camera/storage/password settings - so there are some residual effects from the last installation.  Maybe that is causing all my tests that the installs haven't gone back to setup the run as service properly.



Logged

Red90

  • Level 2 Member
  • **
  • Posts: 38
Re: Run as Windows Service
« Reply #21 on: November 07, 2017, 08:37:30 AM »

Try changing some options and see if it comes to life.  Try and match my screenshot.
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 44558
  • D-Link Global Forum Moderator
    • New DIR-890L Router with SmartConnect™ Technology
Re: Run as Windows Service
« Reply #22 on: November 07, 2017, 09:25:34 AM »

Can you log in to this Windows with the actual Administrator account and see if there is any differences?

Thank you for staying with me on this seemingly impossible problem.

I managed to disable UAC - after reboot and re-install as an administrator - the behavior remains the same.  The choice is still grayed out.

A quick observation - the reinstall does not seem to be the same as a fresh install.  For one thing the new install picks up my  camera/storage/password settings - so there are some residual effects from the last installation.  Maybe that is causing all my tests that the installs haven't gone back to setup the run as service properly.
Logged
Cable:200mb/10Mb>Motorola MB7420>COVR3902>HP 24pt Gb Switch. 3xDGL-4500s,DIR-857,835,827,815,890L,880L,868L,865L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L and 960L.
Go Here>Router Troubleshooting

arthurlin43

  • Level 1 Member
  • *
  • Posts: 10
Re: Run as Windows Service
« Reply #23 on: November 07, 2017, 10:56:20 AM »

Can you log in to this Windows with the actual Administrator account and see if there is any differences?

On the Windows 10 machine - I have only one user account that has the administrator role.
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 44558
  • D-Link Global Forum Moderator
    • New DIR-890L Router with SmartConnect™ Technology
Logged
Cable:200mb/10Mb>Motorola MB7420>COVR3902>HP 24pt Gb Switch. 3xDGL-4500s,DIR-857,835,827,815,890L,880L,868L,865L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L and 960L.
Go Here>Router Troubleshooting

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 44558
  • D-Link Global Forum Moderator
    • New DIR-890L Router with SmartConnect™ Technology
Re: Run as Windows Service
« Reply #25 on: November 07, 2017, 11:03:48 AM »

I'm loading up my Windows 10 PC now and will try this out...
Logged
Cable:200mb/10Mb>Motorola MB7420>COVR3902>HP 24pt Gb Switch. 3xDGL-4500s,DIR-857,835,827,815,890L,880L,868L,865L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L and 960L.
Go Here>Router Troubleshooting

arthurlin43

  • Level 1 Member
  • *
  • Posts: 10
Re: Run as Windows Service
« Reply #26 on: November 07, 2017, 11:20:57 AM »

Made no difference -

I have done

net user Administrator /active:yes
logout
login in (as Administrator)
  windows prepare the user for the first time ...

Check MainConsole.exe - System settings - the "Run as Windows Service" is still grayed out.

Uninstall from control panel/application

Install D-view and look at MainConsole again - "Run as Windows Service" is still grayed out.

Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 44558
  • D-Link Global Forum Moderator
    • New DIR-890L Router with SmartConnect™ Technology
Re: Run as Windows Service
« Reply #27 on: November 07, 2017, 11:25:06 AM »

Ok, just confirmed this as well. I'm not getting the service enabled on mine either. Both User with Admin and full Administrator account in Windows 10:


Ran install from user account with admin and set install to run with Admin rights.
Logged
Cable:200mb/10Mb>Motorola MB7420>COVR3902>HP 24pt Gb Switch. 3xDGL-4500s,DIR-857,835,827,815,890L,880L,868L,865L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L and 960L.
Go Here>Router Troubleshooting

arthurlin43

  • Level 1 Member
  • *
  • Posts: 10
Re: Run as Windows Service
« Reply #28 on: November 07, 2017, 02:10:08 PM »

If you bang the head against the wall hard enough, sometimes it works.

I was fussing around and noticed something in the D-view's installed directory.

C:\Program Files (x86)\D-Link\D-ViewCam\LoaderService>dir
 Volume in drive C has no label.
 Volume Serial Number is A811-D24D

 Directory of C:\Program Files (x86)\D-Link\D-ViewCam\LoaderService

11/08/2017  03:16 AM    <DIR>          .
11/08/2017  03:16 AM    <DIR>          ..
07/14/2016  02:03 PM                45 install.bat
07/14/2016  02:03 PM           399,872 LoaderServiceSetup.msi
06/19/2017  07:42 PM           480,208 setup.exe
07/14/2016  02:03 PM                47 uninstall.bat
               4 File(s)        880,172 bytes
               2 Dir(s)  155,298,811,904 bytes free

Just for kicks - I ran the "install.bat" from command prompt with "Administrators".

This created a "LoaderService" in the Windows Service control panel.   Surprisingly - this "Run as Windows Service" is now selectable.

Very amazing.  I am officially happy.
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 44558
  • D-Link Global Forum Moderator
    • New DIR-890L Router with SmartConnect™ Technology
Re: Run as Windows Service
« Reply #29 on: November 07, 2017, 02:55:33 PM »

Thanks for the find. I can confirm this. I guess in Windows 10, that service installer is not being ran upon main installation. I'll have D-Link check on that.  ;)
Logged
Cable:200mb/10Mb>Motorola MB7420>COVR3902>HP 24pt Gb Switch. 3xDGL-4500s,DIR-857,835,827,815,890L,880L,868L,865L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L and 960L.
Go Here>Router Troubleshooting
Pages: 1 [2] 3