Allow program through firewall (1 Viewer)

Freshman

Registered User.
Local time
Today, 17:48
Joined
May 21, 2010
Messages
437
Hi all,
I've often been interrupter by someone already doing something in VBA which I though is impossible. Let's hope this is one more such case :)

Is it possible to allow a spesific program through the firewall using VBA?

Thanks
Pierre
 

Freshman

Registered User.
Local time
Today, 17:48
Joined
May 21, 2010
Messages
437
Looks like I'm about to interrupt myself :)

I found something said to do the job:

http://support.microsoft.com/kb/947709

Coverted into a Shell comand it should work like this I recon.

Shell "netsh advfirewall firewall add rule name=xxxxxx dir=in action=allow program=yyyyyy enable=yes"

xxxxx = Nickname of App
yyyy = Full path of App

Would however like to hear if it works on all versions of Windows as the article states that this is the new format to be used in Windows from now on.

I want to use it to make sure apps like WPut.exe and FGet.exe used for File Transfer is allowed by the User's Firewall. Most do, but you get the odd User with a over-protective firewall setting and instread of doing those manually I'd like to use a script for all.

Thanks
Pierre
 

Users who are viewing this thread

Top Bottom