Jump to content
Sign in to follow this  

Windows firewall exceptions

Recommended Posts


Hi to all,

I am running a script in AutoIT version and when I compile it an alert message for windows firewall appear, I unblock it and work all fine every time that I run the compiled acript, but I have 300 computers.

I add the following line code in top of the script:

RegWrite ("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\DomainProfile\AuthorizedApplications\List",@ScriptFullPath,"REG_SZ",@ScriptFullPath&":lmao::Enabled:"&@ScriptName)

The problem is each time that I run the compiled Script the alert of windows firewall appear... :whistle:

Please help me.

Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this