Jump to content

Registry key Blocking


Recommended Posts

Hello !

im using Comodo proactive Defence it look up registry keys. my question is when i run my application it try to set registry key in RUN path. if i press Block at my comodo proactive defence it blocks and pop up Blocked msg comes offcourse $reg set to 0. I wanted to ask at least 3 times user allow my application if he refuse then it should not ask again but at least 3 times i wanted to ask user to allow application how to do that ?

Local $Reg = RegWrite("HKLM\SOFTWARE\MICROSOFT\WINDOWS\CURRENTVERSION\RUN", "myfile", "REG_SZ", "c:\myfile.exe")
Do
    if $Reg = 0  Then
    MsgBox (0 , "" , "Blocked !")
    EndIf

Until $Reg = 1
Edited by autoitxp
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...