<p>On my <strong>Windows XP</strong> machine Visual Studio 2003 2005 and 2008 all complain that I cannot start debugging my <strong>web application</strong> because I must either be a member of the Debug Users group or of the Administrators group. So, I am an Administrator and I added Debug Users just in case, and it still complains.</p>

<p>Short of reformatting my machine and starting over, has anyone encountered this and fixed it [with some undocumented command]?</p>

[{'answer_id': 11842, 'author': 'Matt Nelson', 'author_id': 788, 'author_profile': 'https://Stackoverflow.com/users/788', 'pm_score': 0, 'selected': False, 'text': '<p>You could try running "<code>VsJITDebugger.exe -p &lt;PID&gt;</code>" on the command line. I\'ve had a simalar situation and been able to debug the application using the above.</p>\n\n<p>"<code>VsJITDebugger.exe /?</code>" will show you all the options.</p>\n\n<p>The PID can be found either in the task manager (view->Select Columns...) or Visual Studio\'s Attach to Process.</p>\n'}, {'answer_id': 11858, 'author': 'Daniel O', 'author_id': 697, 'author_profile': 'https://Stackoverflow.com/users/697', 'pm_score': 1, 'selected': False, 'text': "<p>We encountered an issue like this and found that it was a group policy issue. There's a group policy setting for debugging that needs to be enabled. It overrides the fact that you are in the right group.</p>\n"}, {'answer_id': 12989, 'author': 'C. K. Young', 'author_id': 13, 'author_profile': 'https://Stackoverflow.com/users/13', 'pm_score': 3, 'selected': True, 'text': '<p>Which users and/or groups are in your "Debug programs" right (under User Rights Assignment)? Maybe that setting got overridden by group policy (Daniel\'s answer), or just got out of whack for some reason. It should, obviously, include the "Debug Users" group.</p>\n'}, {'answer_id': 23477, 'author': 'dlamblin', 'author_id': 459, 'author_profile': 'https://Stackoverflow.com/users/459', 'pm_score': 0, 'selected': False, 'text': '<p>Awesome, I\'d never really known about the "Administrative Tools -> Local Security Settings -> Local Policies -> User Rights Assignment" under XP. My "Debug programs" policy is set to "Administrators" only, yet trying to debug now just worked and this is several days after installing the .NET framework 3.5, so maybe that installation fixed things in the background.</p>\n'}]
['https://Stackoverflow.com/questions/11724', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/459/']