I started getting an annoying message when debugging IIS on Windows 7 / Visual Studio 2010:
Title: Attach Security Warning
Message: Attaching to this process can potentially harm your computer. If the information below looks suspicious or you are unsure, do not attach to this process.
The solution for me was just a few steps…
- Close all Visual Studio instances.
- Ensure that you are a member of the local debuggers group (Control Panel, Administrative Tools, Local Security Policy, Security Settings, Local Poliies, User Rights Assignment, Debug Programs).
- Change the following registry key HKCU\Software\Microsoft\VisualStudio\10.0\Debugger\DisableAttachSecurityWarning from 0 to 1.
- Restart Visual Studio.