Can't add a firewall rule because a folder is named like an enviroment variable.

Discussion in 'Windows Firewall Control (Binisoft)' started by Spiritus Sancti, Oct 11, 2016.

  1. Spiritus Sancti

    Spiritus Sancti Level 1

    Oct 6, 2016
    Windows 10
    I created a Portable App (BitKinex) with Cameyo.

    When I execute the BitKinex.cameyo.exe, the real program is under this path:
    "C:\Users\MyUserName\AppData\Roaming\VOS\BitKinex\PROG\%Program Files%\BitKinex\bitkinex.exe"

    When I want to add a rule to the windows firewall, it doesn't work because it thinks %Program Files% is an enviroment variable, but its not - it is just an folder named like an enviroment variable.

    When I make it with BiniSoft Interface, I simply don't get an rule.
    When I make it with Windows Firewall with Advanced Security, I get following Error Msg:
    An error occurred while adding a rule.

    Error: The parameter is incorrect

    Status: The application name could not be resolved​

    I also tried it per CMD, with follwing command:
    netsh advfirewall firewall add rule name="BitKinex" dir=out action=allow program="C:\Users\MyUserName\AppData\Roaming\VOS\BitKinex\PROG\%Program Files%\BitKinex\bitkinex.exe" enable=yes​
    but then I get this error msg:
    The application name could not be resolved.

    I can not rename the folder, this just doesn't work with Cameyo.

    Is there a workaround??
  2. S-ed

    S-ed New Member

    Aug 10, 2017
    Windows 10
Similar Threads Forum Date
SOLVED Can't open google chrome; pc very slow; firewall malfunctioning messages Malware Removal Assistance For Windows May 21, 2015
Can't get rid of trojan.trojandropper.addrop Malware Removal Assistance For Windows Mar 6, 2018
7 Cryptominers & Cryptomining Botnets You Can't Ignore News Archive Mar 1, 2018
  • About Us

    Our community has been around since 2010, and we pride ourselves on offering unbiased, critical discussion among people of all different backgrounds about security and technology . We are working every day to make sure our community is one of the best.
  • Need Malware Removal Help?

    If you're being redirected from a site you’re trying to visit, seeing constant pop-up ads, unwanted toolbars or strange search results, your computer may be infected with malware. We offer free malware removal assistance to our members in the Malware Removal Assistance forum.
  • Quick Tip

    Without meaning to, you may click a link that installs malware on your computer. To keep your computer safe, only click links and downloads from sites that you trust. Don’t open any unknown file types, or download programs from pop-ups that appear in your browser.