Run as Administrator

General discussions about Log4OM features
Post Reply
WT0DX
Novice Class
Posts: 6
Joined: 02 Dec 2017, 22:17

Run as Administrator

Post by WT0DX » 18 Nov 2019, 23:38

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: 6319
Joined: 21 Jan 2013, 14:55
Location: Burnham on Crouch, Essex UK

Re: Run as Administrator

Post by G4POP » 19 Nov 2019, 05:36

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: 2542
Joined: 21 Jan 2013, 14:20
Location: Quarto d'Altino - Venezia (ITA)
Contact:

Re: Run as Administrator

Post by IW3HMH » 25 Nov 2019, 09:14

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

Post Reply