Trace Id is missing

Unlock your potential with Microsoft Copilot

Get things done faster and unleash your creativity with the power of AI anywhere you go.
Microsoft Copilot app being utilized to generate pictures of a singing dog, assisting to identify a flower, and helping to generate an email to congratulate a coworker on a promotion.

VS Log Collection Tool

Collect information from Microsoft Visual Studio and .NET installations.

Important! Selecting a language below will dynamically change the complete page content to that language.

  • Version:

    17.0.33423.360

    Date Published:

    2/24/2023

    File Name:

    LicenseTerms.pdf

    Collect.exe

    File Size:

    299.8 KB

    251.0 KB

    The log collection tool collects available setup logs from all supported releases of Visual Studio, .NET, and SQL Server from your computer, and can help Microsoft diagnose issues with installing products from the Visual Studio family. If you encounter any setup-related issues and contact Microsoft Support or Visual Studio, you may need to provide these setup logs.

    Please follow the instructions below to gather installation logs. By default the log collection tool creates a compressed archive of all the Visual Studio, .NET Framework, and SQL Server setup logs and other supporting files at %TEMP%\vslogs.zip. Run "collect.exe /?" for more options.
    The events and log files we collect may contain personally identifiable information. Please see our Privacy Statement for more information.
  • Supported Operating Systems

    Windows 10, Windows Server 2012 R2, Windows Server 2012, Windows 7, Windows 8, Windows 8.1

    Administrative privileges are required. Please run this tool from an elevated command prompt if you want to see verbose logging after it completes.
    1. Download collect.exe from the link below. You will need to save the tool first.
    2. Open an adminstrative console window.
    3. Run Collect.exe from the directory where you saved the tool.
    Notes: The tool must be run under the same user account that the failed installation was run under. If you are running the tool from a different user account, set the –user:<name> option to specify the user under which the failed installation was run. You may also set –d:<dir> to point to the temp directory where the setup logs are located.

    By default, Collect.exe will automatically gather SQL install logs, event log information, computer information and a Windows Installer inventory in addition to product install logs. The resulting cabinet is created in your %TEMP% directory.

    Run Collect -? for additional options and usage information.
Follow Microsoft