naru Posted August 25, 2017 Posted August 25, 2017 How Can i add Inbond/outbond rule in windows firewall and block/allow some applications ?
Moderators JLogan3o13 Posted August 25, 2017 Moderators Posted August 25, 2017 @Nareshm STOP posting the same questions in multiple spots. You have been around long enough to know better. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum!
naru Posted August 25, 2017 Author Posted August 25, 2017 (edited) @water I am trying to block my windows application for 1 second, But not working My Code is RunWait(@ComSpec & ' /c ' & 'netsh advfirewall firewall add rule name="My Application" dir=in action=Block program="C:\MyApp\MyApp.exe" enable=yes') Sleep(1000) RunWait(@ComSpec & ' /c ' & 'netsh advfirewall firewall add rule name="My Application" dir=in action=allow program="C:\MyApp\MyApp.exe" enable=yes') Edited August 25, 2017 by Nareshm
Moderators JLogan3o13 Posted August 25, 2017 Moderators Posted August 25, 2017 Last time @Nareshm, stick to one thread or you will find yourself unable to post "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now