Any way to avoid “Run as Administrator?”

Post Reply
kd7mw
Advanced Class
Posts: 50
Joined: 10 Feb 2018, 06:03

Any way to avoid “Run as Administrator?”

Post by kd7mw »

Is there a way to avoid having to “Run as Administrator” when I’m using Log4OM 2 with WSJT-X, JTDX, or FLdigi? Would using Win4Icom and perhaps Com0com as the rig control “traffic cop” help? I like having QSO data from the digital programs populate into Log4OM. But I fear the “run as administrator” solution is a band-aid that may bite us in future. I do understand that it’s largely a Windows design issue.

I run an Icom 7300, Log4OM current 2.32.0.0, Windows 11. Everything works well and has been stable for some time. I have never liked the idea of having programs routinely running as administrator. It leaves an attack vector open. The recent wave of ransomware attacks affecting ARRL, the Seattle Public Library, hospitals, car dealerships, etc. has made me more concerned.
User avatar
KD0ZV
Log4OM Alpha Team
Posts: 738
Joined: 04 Mar 2015, 13:42
Location: Ankeny, Iowa
Contact:

Re: Any way to avoid “Run as Administrator?”

Post by KD0ZV »

Have you tried it without?

I know its been a recommended method but I don't run anything as administrator and have not for years. My login has admin rights beyond that everything is run without elevated privileges and works fine business.

Rich
kd0zv
kd7mw
Advanced Class
Posts: 50
Joined: 10 Feb 2018, 06:03

Re: Any way to avoid “Run as Administrator?”

Post by kd7mw »

Yes, lately I have been running it without elevating to admin, and it usually works. At least, when only one other program is communicating with Log4OM, in my case, JTDX. My guess is that running as admin is a very effective catch-almost-all solution, so the Log4OM manual and support people recommend it, and it's the solution of first resort. I sympathize. Log4OM has to run in all sorts of environments with both computer-savvy and not so savvy hams running heaven knows what else. So it's very difficult and time-consuming to tease out all possibilities.

BUT, my point is that lately malware and cyber crime has increased exponentially. Running software "as administrator" leaves a gaping hole in your computer security. So I want to avoid it if possible.

I communicated with the author of Win4Icom and mentioned this issue. He is familiar with Log4OM. He says running without elevation works most of the time. Once in a while, things don't communicate. Often after an update. At which point you just run everything as admin once, and then go back to ordinary user status, and all is fixed. He attributes this to an intermittent bug which affects more than just Log4OM.
See here: https://groups.io/g/win4icomsuite/message/4766

My guess is that the need to run as administrator depends on several factors, including:
  • Are you using OmniRig?
    Does it have to talk to more than one program?
    Do the other programs "play nice" as Windows, OmniRig and Log4OM expects?
    What version of Windows are you running?
    Was anything updated since the last time you ran Log4OM? That includes Windows.
    Did you mess with folder permissions?
    Did you install some of the affected software "as administrator, and some things not?"
    What is the phase of the moon, the sunspot number and the K-index? :D
I've read frequently that N3FJP's logging software (which has its own API and doesn't use OmniRig) does not need to be run as administrator during regular operation, only to occasionally fix something.

73,
--Peter, KD7MW
N6VH
Old Man
Posts: 204
Joined: 07 Nov 2015, 15:41

Re: Any way to avoid “Run as Administrator?”

Post by N6VH »

I never run Log4OM as administrator, and don't have any problems. I think the main reason for doing this is if you have more than one program accessing omnirig at the same time. The only program that I use with omnirig is Log4OM. I use Win4Yaesu, which has the ability to have several programs access the Yaesu CAT at one time. There are also versions for Icom and Elecraft.

73,

Jim N6VH
Post Reply