I did a hard drive format a few days ago and had to reinstall VS2k5. Now I am getting a very annoying Attach Security Warning popup every time I go into Debug->Attach To Process and attach to the DLL I am working with.
I have checked MSDN and came across this link:
http://msdn2.microsoft.com/en-us/library/ms241736.aspx
It says that there is a registry value that needs to be switched off, but doesn't tell what that registry value is.
How do I turn off this popup

Turning off Attach Security Warning popup
rodan_be
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\9.0\Debugger
It has a dword value named DisableAttachSecurityWarning, with a value of 0. That's bound to be it. Now if we can just figure out what value to plug in instead of 0... I've already tried 1, that didn't do it.
I also found the same setting for VS2005, at
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0\Debugger
so I set it to 1 too, just in case it was somehow overriding the other. Still no luck. If you play with this and find the right value, please post it here.
Corrrecting that: 1 does work. Somehow it didn't take the first time, and was still zero.
Kevin POCHAT
My company redid their networking recently and I'm part of a different user group now. I tried my steps and added everyone who logs into my computer and I still get the popup. It worked fine on the old network for some reason. If anyone could post that registry key tweak we'd all be very grateful! I feel like I'm running Vista with that annoying popup creeping up every time I have to debug.
Pete Mussomeli
Drone
OK! Here's the detailed solution! Go to this admin screen:
Control Panel->Administrative Tools->Local Security Policy->Security Settings->Local Policies->User Rights Assignment->Debug Programs
Double-click debug programs and add your user to the list!
AliBaba2005
Does anyone know the mysterious unspecified registry setting mentioned in this article
http://msdn2.microsoft.com/en-us/library/ms241736.aspx
That, or any solution that works to get rid of the warning dialog. Thanks in advance!
Anoop PS
FredSaw you are my hero! I've been looking for that registry key since for about 3 years! THANK YOU!