<p>I had a plugin installed in Visual Studio 2008, and it created some extra dockable windows.  I have uninstalled it, and I can't get rid of the windows it created - I close them, but they always come back.  They're just empty windows now, since the plugin is no longer present, but nothing I've tried gets rid of them.  I've tried:</p>

<ul>
<li>Window -> Reset Window Layout</li>
<li>Deleting the .suo files in my project directories</li>
<li>Deleting the Visual Studio 9.0 folder in my Application Settings directory</li>
</ul>

<p>Any ideas?</p>

[{'answer_id': 26868, 'author': 'Bryan Roth', 'author_id': 299, 'author_profile': 'https://Stackoverflow.com/users/299', 'pm_score': 8, 'selected': True, 'text': "<p>Have you tried this?  In Visual Studio go to <strong>Tools</strong> > <strong>Import and Export Settings</strong> > <strong>Reset all settings</strong></p>\n\n<p>Be sure you <strong>back up</strong> your settings before you do this. I made the mistake of trying this to fix an issue and didn't realize it would undo all my appearance settings and toolbars as well. Took a lot of time to get back to the way I like things.</p>\n"}, {'answer_id': 26871, 'author': 'Chris Conway', 'author_id': 2849, 'author_profile': 'https://Stackoverflow.com/users/2849', 'pm_score': 1, 'selected': False, 'text': "<p>If you've ever backed up your settings (Tools -> Import and Export Settings), you can restore the settings file to get back to a prior state. This is the only thing that I've found to work.</p>\n"}, {'answer_id': 26936, 'author': 'Aidan Ryan', 'author_id': 1042, 'author_profile': 'https://Stackoverflow.com/users/1042', 'pm_score': 5, 'selected': False, 'text': "<p>Try <strong>devenv.exe /resetuserdata</strong>. I think it's more aggressive than the Tools > Import and Export options suggested.</p>\n\n<p>Also check <strong>Tools > Add In Manager</strong> and make sure there aren't any orphans there.</p>\n"}, {'answer_id': 26945, 'author': 'Vin', 'author_id': 1747, 'author_profile': 'https://Stackoverflow.com/users/1747', 'pm_score': 4, 'selected': False, 'text': '<p>How about running the following from command line,</p>\n\n<pre><code>Devenv.exe /ResetSettings\n</code></pre>\n\n<p>You could also save those settings in to a file, like so,</p>\n\n<pre><code>Devenv.exe /ResetSettings "C:\\My Files\\MySettings.vssettings"\n</code></pre>\n\n<p>The /ResetSettings switch, Restores Visual Studio default settings. Optionally resets the settings to the specified .vssettings file.</p>\n\n<p><a href="http://msdn.microsoft.com/en-us/library/ms241273(VS.80).aspx" rel="noreferrer">MSDN link</a></p>\n'}, {'answer_id': 34361, 'author': 'TimK', 'author_id': 2348, 'author_profile': 'https://Stackoverflow.com/users/2348', 'pm_score': 2, 'selected': False, 'text': "<p>I tried most of the suggestions, and none of them worked.  I didn't get a chance to try /resetuserdata.  Finally I reinstalled the plugin and uninstalled it again, and the windows went away.</p>\n"}, {'answer_id': 449671, 'author': 'LeopardSkinPillBoxHat', 'author_id': 22489, 'author_profile': 'https://Stackoverflow.com/users/22489', 'pm_score': 2, 'selected': False, 'text': '<blockquote>\n  <p>I close them, but they always come back</p>\n</blockquote>\n\n<p>When you say "they always come back" do you mean "next time you restart Visual Studio" or "immediately"?</p>\n\n<p>One quirk of Visual Studio (at least VS2005) is that settings aren\'t saved until you exit.  That means that if VS crashes at all while you are using it, any layout changes you made will be lost.  The way around this is to always <em>gracefully exit</em> when you have set up everything like you want it to be.</p>\n\n<p>Not sure if this will help your particular situation though.</p>\n'}, {'answer_id': 3345188, 'author': 'yossharel', 'author_id': 184175, 'author_profile': 'https://Stackoverflow.com/users/184175', 'pm_score': 2, 'selected': False, 'text': '<p>Note: if you have vs2010 and vs2008 and you want to reset the 2008, you will need to specify in command line the whole path. like this:</p>\n\n<pre><code>"C:\\Program Files\\Microsoft Visual Studio 9.0\\Common7\\IDE\\devenv.exe" /resetsettings\n</code></pre>\n\n<p>If you don\'t specify the path (like <code>devenv.exe /resetsettings</code>), it will reset the latest version of Visual studio installed on your computer.</p>\n'}, {'answer_id': 7714372, 'author': 'Hammad Khan', 'author_id': 777982, 'author_profile': 'https://Stackoverflow.com/users/777982', 'pm_score': 3, 'selected': False, 'text': '<p>I had similar problem except that it happened without installing any plugin. I begin to get this dialog about source control every time I open the project + tons of windows popping up and floating which I had to close one by one.</p>\n<p><img src="https://i.stack.imgur.com/VEeHP.png" alt="enter image description here" /></p>\n<p><strong>Windows -&gt; Rest Windows Layout</strong>, fixed it for me without any problems. It does bring the default setting which I don\'t mind at all :)</p>\n'}, {'answer_id': 8546667, 'author': 'hscoder', 'author_id': 1031349, 'author_profile': 'https://Stackoverflow.com/users/1031349', 'pm_score': 1, 'selected': False, 'text': '<p>If you want to reset your development environment of your visual studio, then you can use Import and Export setting wizard. see this for all steps:</p>\n\n<p><a href="http://www.authorcode.com/forums/topic/how-to-reset-development-environment-settings-of-your-visual-studio/" rel="nofollow">http://www.authorcode.com/forums/topic/how-to-reset-development-environment-settings-of-your-visual-studio/</a></p>\n'}, {'answer_id': 13607965, 'author': 'David Pritchard', 'author_id': 8086960, 'author_profile': 'https://Stackoverflow.com/users/8086960', 'pm_score': 3, 'selected': False, 'text': "<p>If you have an old backup copy of CurrentSettings.vssettings, you can try restoring it. </p>\n\n<p>I had a completely corrupted Visual Studio layout. When I tried to enter debug, I was told that VS had become unstable. When I restarted, my window layout would then be totally screwed. I tried restoring the VS current user settings in the registry from a backup, but that didn't help. However, restoring CurrentSettings.vssettings seems to have cured it. </p>\n\n<p>There seems to be a bunch of binary stuff in there and I can imagine it gets irretrievably corrupted sometimes. </p>\n"}, {'answer_id': 56631371, 'author': 'Bonny', 'author_id': 11658971, 'author_profile': 'https://Stackoverflow.com/users/11658971', 'pm_score': 3, 'selected': False, 'text': '<p>If you want to reset the window layout. Then </p>\n\n<p>go to "WINDOW" -> "RESET WINDOW LAYOUT"</p>\n'}, {'answer_id': 71174521, 'author': 'Geoff Davids', 'author_id': 6283495, 'author_profile': 'https://Stackoverflow.com/users/6283495', 'pm_score': 0, 'selected': False, 'text': '<p><code>Window -&gt; Reset Window Layout</code> didn\'t exist for me. For anybody looking in 2022 or later,  I finally found the answer! The crucial information, buried in a VSCode update release note, was right at the bottom of <a href="https://code.visualstudio.com/updates/v1_64#_workbench" rel="nofollow noreferrer">this section</a>. Here it is if the link breaks in the future:</p>\n<blockquote>\n<p>If you\'d like to reset all views back to the default layout, you can run <code>Views: Reset View Locations</code> from the Command Palette.</p>\n</blockquote>\n'}]
['https://Stackoverflow.com/questions/26863', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/2348/']