Two instances of Astro-Physics V2 driver open


Yves Laroche
 


Bill Long
 

No, it should not. 


From: ap-gto@... on behalf of 'Yves Laroche' yves.laroche@... [ap-gto]
Sent: Saturday, September 21, 2019 10:34 PM
To: ap-gto@...
Subject: Re: [ap-gto] Two instances of Astro-Physics V2 driver open
 
 

Maybe installing the software "as administrator" can cause another kind of behaviour.


Yves




Le 22/09/19 01:30, "Bill Long bill@... [ap-gto]" a écrit :

Then it should not run under admin context. 



From: ap-gto@... on behalf of 'Yves Laroche' yves.laroche@... [ap-gto]
Sent: Saturday, September 21, 2019 10:25 PM
To: ap-gto@...
Subject: Re : Re: [ap-gto] Two instances of Astro-Physics V2 driver open

Bill,


It was already unchecked.

Yves



Le 22/09/19 01:24, "Bill Long bill@... [ap-gto]" a écrit :

I just tested the same thing. 

Right click on the EXE, and go to compatibility and uncheck "Run as Administrator". 



From: ap-gto@yahoogroups...com on behalf of Bill Long bill@... [ap-gto]
Sent: Saturday, September 21, 2019 10:16 PM
To: ap-gto@...
Subject: Re: [ap-gto] Two instances of Astro-Physics V2 driver open

What version of APCC Pro?



From: ap-gto@yahoogroups...com on behalf of 'Yves Laroche' yves.laroche@... [ap-gto]
Sent: Saturday, September 21, 2019 10:04 PM
To: ap-gto@...
Subject: Re: [ap-gto] Two instances of Astro-Physics V2 driver open

Bill,


Some clouds appeared so decided to shutdown APCC to test something.

I've started APCC directly from C:\Program Files (x86)\Astro-Physics\APCC Pro to bypass any shortcuts who may have "run as administrator".  The executable properties has no "run as administrator" but the "Elevated" mention of APCC is still there.

Is there a way to cancel such elevated privileges?

Regards,
Yves




Le 22/09/19 00:44, "Bill Long bill@... [ap-gto]" a écrit :

Yes it is running as admin if it says "Elevated".

Granting UAC permission to install something is not the same as its context in which it runs afterwards.



From: ap-gto@yahoogroups..com on behalf of 'Yves Laroche' yves.laroche@... [ap-gto]
Sent: Saturday, September 21, 2019 9:40 PM
To: ap-gto@...
Subject: RE: [ap-gto] Two instances of Astro-Physics V2 driver open

Hi Ray,


My APCC is working with an "Elevated" description at the upper left window side.  Does it mean that is running "as administrator"?

Another thing...I always installing my software "as administrator".  Does this install the software the same as running it "as administrator"?  Thanks!!! 

Regards,
Yves



Le 22/09/19 00:18, "'Ray Gralak (Groups)' groups3@... [ap-gto]" a écrit :

> Ray I have Windows Pro and have always been an admin on my own machine, so are you saying I should not run
> both APCC & PHD2 without admin level privs?

This has been said a million times before but running an application on a Windows account with admin privs is *not* the same as
running the application "as administrator".

Running an application "as administrator" runs the application under a special Windows account different from your user account.
Running "as administrator" gives an application many more privileges to which the application shouldn't need access.

https://www.techspot.com/guides/1718-run-as-administrator-explained/

-Ray Gralak
Author of APCC (Astro-Physics Command Center): http://www.astro-physics.com/index.htm?products/accessories/software/apcc/apcc
Author of PEMPro V3: https://www.ccdware.com
Author of Astro-Physics V2 ASCOM Driver: https://www.siriusimaging.com/apdriver

> -----Original Message-----
> From: ap-gto@... [mailto:ap-gto@...]
> Sent: Saturday, September 21, 2019 8:49 PM
> To: ap-gto@...
> Subject: Re: [ap-gto] Two instances of Astro-Physics V2 driver open
>
>
>
> Ray I have Windows Pro and have always been an admin on my own machine, so are you saying I should not run
> both APCC & PHD2 without admin level privs?
>
>
> If the above is true, is there some way I can run them under my admin account without admin privs?
>
> Thank you!!
>
> steve
>
>
> ________________________________
>
> From: ap-gto@... on behalf of 'Ray Gralak (Groups)'
> groups3@... [ap-gto]
> Sent: Saturday, September 21, 2019 11:13 PM
> To: ap-gto@...
> Subject: RE: [ap-gto] Two instances of Astro-Physics V2 driver open
>
>
>
> Hi Steve,
>
> APCC creates two virtual ports, one each for two instances of the AP V2 ASCOM driver. The first instance will
> open if the application opening the driver is run in your regular user account. The second instance will open when
> an application (e.g. PHD2) has been run "as administrator".
>
> While this is a feature that no other ASCOM telescope driver has, it is not recommended to run applications "as
> administrator". Thus, assuming you didn't run APCC as administrator (don't!), you should not start PHD2 "as
> administrator".
>
> -Ray Gralak
> Author of APCC (Astro-Physics Command Center): http://www.astro-
> physics.com/index.htm?products/accessories/software/apcc/apcc
> Author of PEMPro V3: https://www.ccdware.com
> Author of Astro-Physics V2 ASCOM Driver: https://www.siriusimaging.com/apdriver
>
> > -----Original Message-----
> > From: ap-gto@... [mailto:ap-gto@...]
> > Sent: Saturday, September 21, 2019 7:07 PM
> > To: ap-gto@...
> > Subject: [ap-gto] Two instances of Astro-Physics V2 driver open
> >
> >
> >
> > I open APCC
> > connect to mount in APCC
> > connect to Astro-Physics V2 driver in APCC
> > Open PHD2 it opens a SECOND instance of the Astro-Physics V2 driver
> >
> > Now even if PHD is doing something wrong, I can't imagine two instances of the Astro-Physics V2 driver should
> be
> > allowed to open on the same computer. Am I wrong? Is there ever a situation where two instances of the Astro-
> > Physics V2 driver open on the same PC is legitimate?
> >
> > I am running an AP-900 mount & an AP-1600 mount for the first time ever in the observatory, on the same
> network.
> > Each mount is controlled by a separate laptop, each are connected via TCP/UDP with two distinct IP addresses.
> >
> > When I DO NOT open an instance of the Astro-Physics V2 driver in APCC and allow PHD2 to open an instance
> > everything runs like it should.
> >
> > I get about two clear nights a year, software errors are bad.
> > call me frustrated.
> >
> > Steve
> > retired software developer.
> >
> > p.s. I am running windows10.
> >
> >
> >
> >
> >
> >
>
>
>
>