I use the following .reg file to stop Outlook blocking potentially unsafe attachments when I know the attachment is safe.
Code:
REGEDIT4

[HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Outlook\Security]
"Level1Remove"=".exe; .hlp; .inf"
I then use the following to reset to the default behaviour
Code:
REGEDIT4

[HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Outlook\Security]
"Level1Remove"=-
The trouble with the top one is that Outlook needs to be restarted for it to come into effect.
How can I close Outlook, enter the data into the registry and restart Outlook from a batch file?