Scripting Question

How to make Windows Firewall Security alert silent using AutoIT?

11/22/2013 5173 views

HI All,

  I am working on IBM Lotus Quickr Connector. While installing this app following Windows firewall security alert is prompting.


Am using Auto It script to install it silently. The first installation is fine but if we uninstall and install the app for second time the installation process is not ending. In task manager the IBM_AutoIT.exe is still running. I am using the following code

$InstallCommand = @ScriptDir & "\Source\qkrconn.exe" & " /Install /quiet ADDLOCAL=WindowsExplorer,LotusNotes,MicrosoftOffice /NORESTART"
$pid = RunWait ($InstallCommand)

WinWaitActive("Authentication Required","","5")
  If WinExists("Authentication Required") Then

Is there anything wrong in this code

Can anybody help me with this issue.


Thanks in Advance


2 Comments   [ + ] Show comments


  • I am only considering this information: "...The first installation is fine but if we uninstall and install the app for second time the installation process is not ending."

    The issue could be because you need a reboot after the uninstallation in order for the second attempt of instalallation to be successful..
  • Even I reboot the machine same thing is happening

Community Chosen Answer


Maybe if you add a firewall exception for this via Group Policy this popup will never happen and keep your Autoit install from failing.

Answered 11/22/2013 by: darkhawktman
Green Belt

All Answers


netsh advfirewall firewall add rule name="My Application" dir=in action=allow program="C:\MyApp\MyApp.exe" enable=yes remoteip=,,LocalSubnet profile=domain

Answered 11/24/2013 by: rarao90
Senior Yellow Belt

This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ