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
    14
    55
    Germany
    Windows 10
    Default-Deny
    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
    2
    0
    Earth
    Windows 10
Loading...
Similar Threads Forum Date
SOLVED Can't open google chrome; pc very slow; firewall malfunctioning messages Malware Removal Assistance For Windows May 21, 2015
RansomOff files Can't be Erased by Eraser Other Security for Windows Dec 13, 2017
SOLVED Can't remove chromesearch.win despite everything I've done. Malware Removal Assistance For Windows Nov 24, 2017