Submit a ticketCall us

Training ClassSign up for Network Performance Monitor (NPM) and Scalability instructor-led classes

Attend our instructor-led classes, provided by SolarWinds® Academy, to discuss the more advanced monitoring mechanisms available in NPM as well as how to tune your equipment to optimize its polling capabilities. NPM classes offered:
NPM Custom Monitoring and Polling
Orion Platform Scalability

Reserve your seat.

Home > Success Center > Server & Application Monitor (SAM) > SAM - Knowledgebase Articles > File Count Monitor is incorrect

File Count Monitor is incorrect

Updated November 29, 2017


The SAM file count monitor counts more files than what displays in File Explorer.


  • All SAM versions


File Explorer may be hiding the files. 


Configure File Explorer to display all hidden files.

View the number of files in the folder

  1. Log in to the server hosting SAM.
  2. Open the Control Panel and click Appearance and Personalization.
  3. Click Folder Options.
  4. Click the View tab and select show hidden files, folder, and drives.
  5. De-selct Hide protected Operating System files (Recommended), and click Apply.
  6. Open the fold and ensure the files display.

List the file names that the file monitor is counting

Perform the following wbemtest query. This query includes all files in all subdirectories. 

select Name, Path, Drive from CIM_DataFile WHERE Drive = 'C:' and path like '\\ProgramData\\Solarwinds\\Agent\\%'

List the files (and not directories) under a specific directory 

Perform the following query:

select Name, Path, Drive from CIM_DataFile WHERE Drive = 'C:' and path like '\\ProgramData\\Solarwinds\\Agent\\'




Last modified