Jump to content

security warning regtweak to inf?

Recommended Posts

How do you make this

Windows Registry Editor Version 5.00


to this work. I know what is wrong but I can't fix it. How to you make a dword add to the registry as I can't find out anything about it. I think that its the bit after "SaveZoneInformation", All of my other reg settings are standard strings.



AddReg = Securitywarning, Add.Uninstall

DelReg = Del.Registry


HKLM,%Uninstall%,UninstallString,,"rundll32.exe syssetup.dll,SetupInfObjectInstallAction DefaultUninstall 132 %01%\%thisfile%"


; Any variables you use need to be defined under [strings].
Current = "Software\Microsoft\Windows\CurrentVersion"
RunOnceEx = "SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx"
Uninstall   = "Software\Microsoft\Windows\CurrentVersion\Uninstall\%thisfile%"
thisfile    = "test.inf"
AppDesc     = " Disables Security Warning Box In SP2"

; key below to run any thing in the runonceex without needing to restart
; rundll32.exe iernonce.dll,RunOnceExProcess

; The command will run the section called [XXXXX] in the FILENAME.INF file  
; 128 tells setup to NOT restart if the inf needs to restart the pc
; rundll32 setupapi,InstallHinfSection XXXXX 128 .\FILENAME.INF

Link to comment
Share on other sites


Should be:


and the same syntax goes for the section [Del.Registry]

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
  • Recently Browsing   0 members

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