To disable the warning start the Group Policy Editor (Start > Run, type gpedit.msc and press OK) and go to:
User Configuration > Administrative Templates > Windows Components > Attachment Manager- then set Inclusion list for low file types to Enabled and enter the file types you don’t want to be warned about in
the box (for example: .exe).
(oak)