¿ªÔÆÌåÓý

Locked Can't load JMRI4.18 on Windows 10 Laptop #windows10 #4-18


 

When I try to load 4.18 on a windows 10 machine I get the error message:

Error opening file for writing:

C:\Program Files (X86)\JMRI\LaunchJMRI.exe

If I ignore this and complete the install, JMRI crashes when it is opened.

I have turned of Windows Defender firewall and tried running the installation as an administrator.

Any thoughts are appreciated!

Thanks,

Jack Varadi


 

Hi Jack,

The firewall isn't the problem, but your antivirus is. Depending on how that works, you must add an exception for JMRI (whitelist it). These days most antivirus programs regard anything that they have no knowledge of as hostile and dangerous. So you need to either wait until the virus definitions have been updated by your antivirus provider and hope that they then include this version of JMRI, or find the way your AV can be overruled.

This will happen again, with each new release in which LaunchJMRI changes.

Wouter


On Sat, 8 Feb 2020 at 13:43, jackvaradi via Groups.Io <jackvaradi=[email protected]> wrote:
When I try to load 4.18 on a windows 10 machine I get the error message:

Error opening file for writing:

C:\Program Files (X86)\JMRI\LaunchJMRI.exe

If I ignore this and complete the install, JMRI crashes when it is opened.

I have turned of Windows Defender firewall and tried running the installation as an administrator.

Any thoughts are appreciated!

Thanks,

Jack Varadi


 

Win 10 also introduced the concept of "protected folders" which might be causing your issue.


 

Thank you for the suggestions!

Jack


 

Maybe try to run? the installation as administrator?


 

Other possible is do not try the update while there is a running copy of JMRI or you will get this message.

A? anti-virus app has a "quarantine" where downloaded, un-trusted apps, are placed.? Find it and tell the Anti-virus you trust the app in question.? OR wait for the next update of you Anti-Virus app.

Marc


 

Thanks for the help. My anti-virus software was the problem. One I updated it, JMRI loaded normally.

Jack Varadi