Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Restores Visual Studio default settings and automatically launches the Visual Studio IDE. This switch optionally resets the settings to a specified settings file (*.vssettings
).
The default settings come from the profile that was selected when Visual Studio was first launched.
Tip
To learn how to reset settings using the integrated development environment (IDE), see Reset settings.
devenv /ResetSettings [SettingsFile|DefaultCollectionSpecifier]
SettingsFile
Optional. The full path and name of the .vssettings
file to apply to Visual Studio.
DefaultCollectionSpecifier
Optional. A specifier representing a default collection of settings to restore. Choose one of the default collection specifiers listed in the table.
Default collection name | Collection specifier |
---|---|
General | General |
JavaScript | JavaScript |
Visual Basic | VB |
Visual C# | CSharp |
Visual C++ | VC |
Web Development | Web |
Web Development (Code Only) | WebCode |
If no SettingsFile is specified, the IDE opens using the existing settings.
The first example applies the settings stored in the file MySettings.vssettings
.
The second example restores the Visual C# default profile.
The third example will also close Visual Studio after apply the settings. You can append /Command "File.Exit"
.
devenv /ResetSettings "%USERPROFILE%\MySettings.vssettings"
devenv /ResetSettings CSharp
devenv /NoSplash /ResetSettings General /Command Exit
Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register today