/SafeMode (devenv.exe)

Note

This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, use the version selector at the top left. We recommend upgrading to Visual Studio 2019. Download it here

Starts Visual Studio in safe mode, loading only the default environment and services.

Syntax

devenv /SafeMode   

Remarks

This switch prevents all third-party VSPackages from loading when Visual Studio starts, thus ensuring stable execution.

Description

The following example starts Visual Studio in safe mode.

Code

Devenv.exe /SafeMode  

See Also

Devenv Command Line Switches