Export (0) Print
Expand All

Security Warning: Attaching to an Untrusted Process Can Be Dangerous

This warning dialog box appears when attaching to a process that contains partially trusted code or is owned by an untrusted user immediately before the attach occurs. An untrusted process containing malicious code has the potential to damage the machine doing the debugging. If you have reason to distrust the process, then you should click Cancel to prevent debugging.

If you are debugging a legitimate scenario that causes this warning to appear, and want to suppress it, there is a registry setting that allows you to do so. Remember to re-enable the warning after you are done with the scenario.

"Trusted users" include yourself, plus a set of standard users who are commonly defined on machines that have the .NET Framework installed, such as aspnet, localsystem, networkservice, and localservice.

Message Text

Attaching to a process owned by an untrusted user can be dangerous. If the following information looks suspicious or you are unsure, do not attach to this process.

Do you want to attach to this process?


Name of the assembly requested to debug


Current user


Press to continue debugging by attaching

Don't Attach

Do not attach to the process

See Also

Community Additions

© 2015 Microsoft