Delen via


/ResetSettings (devenv.exe)

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Restores Visual Studio default settings and automatically launches the Visual Studio IDE. Optionally resets the settings to a specified .vssettings file.

The default settings are determined by the profile that was selected when Visual Studio was first launched.

Syntax

Devenv /ResetSettings SettingsFile

Arguments

SettingsFile The full path and name of the .vssettings file to apply to Visual Studio.

To restore the General Development Settings profile, use General.

Remarks

If no SettingsFile is specified, you will be prompted to select a default collection of settings the next time you start Visual Studio.

Example

The following command line applies the settings stored in the file MySettings.vssettings.

Devenv.exe /ResetSettings "C:\My Files\MySettings.vssettings"

See Also

Customizing Development Settings in Visual Studio Devenv Command Line Switches