Jump to content

Recommended Posts

Posted

I run a little .REG to disable the Security warning on a couple of programs. I am using the .REG in the "Registry before" line but it does not seem to take effect fast enough before the Application starts to install. IS there a way to make the install wait until the Registry setting is complete? If i manually run it before i install the app it works.

Like adding a wait 10 seconds or something after the .reg runs.

Registry before: regedit /S %systemdrive%\install\CWS_REMOVAL\DIS_SECWARN.reg

Command 1:%systemdrive%\install\CWS_REMOVAL\aawsepersonal.exe /S

Registry after:regedit /S %systemdrive%\install\CWS_REMOVAL\ENA_SECWARN.reg

Code for DIS_SECWARN.reg (disables security warning for .exe files)

Windows Registry Editor Version 5.00


[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Associations]
"LowRiskFileTypes"=".exe;"

Code for ENA_SECWARN.reg:(enables security warning for .exe files)

Windows Registry Editor Version 5.00

[-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Associations]

BTW. this forum rocks.


  • 3 weeks later...
Posted
You could add it into the WPI.cmd reg file that runs at startup.

Does the reg file that WPI.cmd run re-enable the security warnings? Because I wouldn't want to leave .exe,.zip ,etc as lowrisk?

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

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