1-800-691-1991 | 9am - 8pm ET
EN

How to collect logs for Veeam Agent for Windows

KB ID: 2404
Product: Veeam Agent for Microsoft Windows
Version: All
Published: 2017-11-17
Last Modified: 2021-05-14

Objective

This article explains how to collect the logs required for a Veeam Agent for Microsoft Windows support case.

Solution

To expedite support case processing, please attach the following logs to your support case:

  • Veeam Agent logs
  • VSS diagnostics
  • Event logs
  • File system minifilter diagnostics

You can collect logs in the following ways: 

Automated Log Collection Script

The log collection script grabs the following information:

  • Veeam Agent for Microsoft Windows log files located in C:\ProgramData\Veeam\Endpoint
  • Information provided by the systeminfo command
  • Information provided by the vssadmin command
  • Information provided by the fltmc command
  • Windows Application, System, Security and Veeam Agent events
  • The HKEY_LOCAL_MACHINE\SOFTWARE\Veeam\Veeam Endpoint Backup registry key.
  • Computer UUID

DOWNLOAD LOG COLLECTION SCRIPT

  1. Download the script from the link above.
  2. Extract the script to any folder on the computer where Veeam Agent for Microsoft Windows is installed (for example, C:\temp\).
  3. Open an Elevated Command Prompt or PowerShell window and run the command:
PowerShell.exe -ExecutionPolicy ByPass -File <Path to the script>
  1. Run the script with PowerShell. The script executes simple select queries, no system changes are made.

    If the script runs successfully, the warning message will appear. 
The screenshots the PowerShell script excuting including a warning about the script being provided as courtesy and goes on to say "Starting data collection."

After the script execution, the message about the successful execution will appear.

The script creates a new folder with the name VeeamAgentLogs_<DDMMYYYY> and stores the collected information into this folder.

The screenshot shows the script having completed, it lists each type of logs it has collected followed by the word Done. The last line of the PowerShell output states "The data has been collected."
  1. Attach the folder mentioned in the PowerShell output to the support case.

If the script fails to collect the logs, collect the information manually as outlined below.

For information about attaching files to a support case, please review: https://www.veeam.com/kb4162

Collect Logs Manually

The following steps must be done on the computer where Veeam Agent for Microsoft Windows is installed.

1. Collect Veeam Agent Logs
  1. Navigate to the following folder: C:\%Programdata%\Veeam\Endpoint (this folder is hidden by default, copy and paste the provided path). 
  2. Archive the content of this folder.
2. Collect VSS Diagnostics
  1. Run the following commands using the administrative command prompt:
  • vssadmin list writers > C:\vss_writers.log
  • vssadmin list providers > C:\vss_providers.log
  • vssadmin list shadows > C:\vss_shadows.log
  • vssadmin list shadowstorage > C:\vss_shadow_storage.log
  1. Archive the resulting files.

User-added image

3. Collect Event Logs
  1. Run the Event Viewer (eventvwr.msc).
  2. In the left menu, find the Application logs.
  3. Right-click the Application logs and select Save All Events As.
  4. Enter the file name that includes the log type and the computer name the logs were exported from (for example, when exporting Application logs from a computer named HV01, enter Application_HV01).
  5. In Save as type, select Event Files (*.evtx).
  6. Include the display information.

User-added image

  1. Repeat steps 3—6 for the System logs.
  2. Archive the logs. Include the LocaleMetaData folder in the archive as well.

User-added image

4. Collect File System Minifilter Diagnostics
  1. Run the fltmc instances > C:\filter.log command using the administrative command prompt.
For information about attaching files to a support case, please review: https://www.veeam.com/kb4162
KB ID: 2404
Product: Veeam Agent for Microsoft Windows
Version: All
Published: 2017-11-17
Last Modified: 2021-05-14

Couldn't find what you were looking for?

Below you can submit an idea for a new knowledge base article.
Report a typo on this page:

Please select a spelling error or a typo on this page with your mouse and press CTRL + Enter to report this mistake to us. Thank you!

Spelling error in text

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Your report was sent to the responsible team. Our representative will contact you by email you provided.
We're working on it please try again later
Knowledge base content request
By submitting, you are agreeing to have your personal information managed in accordance with the terms of Veeam's Privacy Policy.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

ty icon

Thank you!

We have received your request and our team will reach out to you shortly.

OK

error icon

Oops! Something went wrong.

Please go back try again later.