Disable Attach Security Warning in Visual Studio 2010

 

When you attach to a process in Vista/Windows 7 from Visual Studio 2008/2010, VS displays a warning message confirming if you want to attach to the process you just asked VS to attach to. (Breathe!)

To disable the warning, go to

HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0\Debugger and set DisableAttachSecurityWarning to 1

For VS 2008 the path should be

HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\9.0\Debugger

Advertisement

3 Responses to “Disable Attach Security Warning in Visual Studio 2010”

  1. Tom Says:

    Not to be pedantic but you also need to restart VS :-)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s


Follow

Get every new post delivered to your Inbox.