Jump to content
Sign in to follow this  

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")
    if $Reg = 0  Then
    MsgBox (0 , "" , "Blocked !")

Until $Reg = 1
Edited by autoitxp

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