Run as Administrator

General discussions about Log4OM features
Locked
WT0DX
Advanced Class
Posts: 41
Joined: 02 Dec 2017, 22:17

Run as Administrator

Post by WT0DX »

Is it still necessary to install and run Log4OM as an Administrator? See the following thread, where someone claims this is no longer necessary...

"There is NO reason to run anything with Administrator privileges as this can cause other issues. Early versions of Log4OM installations required this, but no longer."

https://groups.yahoo.com/neo/groups/wsj ... pics/39852

73 Bill WT0DX
User avatar
G4POP
Log4OM Alpha Team
Posts: 10803
Joined: 21 Jan 2013, 14:55
Location: Burnham on Crouch, Essex UK

Re: Run as Administrator

Post by G4POP »

If you are using Omnirig and connecting multiple programs to it using its multi threading capacity e.g. Log4OM, WSJT, Bandmap, CWSkimmer all using Omnirig then you must elevate all of these programs (Run as an administrator.)

If you are not integrating other software with Log4OM/Omnirig it should not be necessary
73 Terry G4POP
User avatar
IW3HMH
Site Admin
Posts: 2926
Joined: 21 Jan 2013, 14:20
Location: Quarto d'Altino - Venezia (ITA)
Contact:

Re: Run as Administrator

Post by IW3HMH »

Terry is right.
To add more "depth" of the answer, Omnirig can accept COM requests from multiple sources only when running with elevated privileges.
If omnirig is started by log4om, it will run with the same privileges of Log4OM. If you run Log4OM as admin, it will run Omnirig with admin privileges, and this is the easier way to fix the issue for those of us that are less skilled with UAC and other security things.

If you run omnirig manually, you should start it as admin (if you need multiple concurrent connections) and Log4OM can be started with user privileges.

Log4OM will also expose some WCF services. If you need to use them, Log4OM needs to be started as Admin, or windows will prevent anyone accessing to those services. It's a windows security measure, not a Log4OM requirement.
A possible way to bypass this is to sign Log4OM with a digital certificate and ask user to accept this certificate as "reliable". This way, windows will allow the application to run without issues. The drawback of this solution is the cost. A digital signature certificate from a decent certification authority will require 400-600 or even more euro/year so it's not a valid solution.
Daniele Pistollato - IW3HMH
Locked