Skip to main content

All Drives Audit [Windows]

Summary​

Lists every drive on every Windows device with its size, free space, fragmentation, file system and model. Use it to find drives that are nearly full or badly fragmented before they cause problems. The All Drives Audit [Windows] automation collects the data on each Windows device.

Requirements​

note

The Knowledge Base articles need the NinjaOne Documentation app enabled in NinjaOne, as shown below. If your NinjaOne does not have it, set Report Output to Local CSV Files in the report automation. The report then creates only the CSV files, on the device that runs it.

NinjaOne Documentation app enabled

Where to Find the Report​

ReportKnowledge Base ArticleCSV File
GlobalGlobal Knowledge Base > Dataviews > Drive Details > All Drives Audit [Windows]C:\ProgramData\_Automation\Report\Drive Details\All Drives Audit [Windows].csv
OrganizationOrganization Knowledge Base > Dataviews > Drive Details > All Drives Audit [Windows]C:\ProgramData\_Automation\Report\Drive Details\Organization_Level_Reports\All Drives Audit [Windows]_<Organization>.csv
note

The articles and CSV files are replaced every time the report runs. CSV files are saved on the device that runs the report automation. An article that grows too large is split into - Part 1, - Part 2 and so on.

Report Columns​

Column NameAppears InDescription
OrganizationGlobal onlyThe organization the device belongs to.
LocationBothThe location the device belongs to.
DeviceBothThe device name.
OSBothThe operating system of the device.
DeviceTypeBothThe device type: Physical Server, Virtual Server, Laptop, Desktop or Virtual Workstation.
DriveLetterBothThe drive letter, for example C:.
DriveSizeBothThe total size, for example 931.51 GB.
DriveFreeSpaceBothThe free space, for example 120.4 GB.
DriveFreeSpacePercentBothFree space as a percentage of the total size. Sort or filter on this column to find full drives.
DriveFragmentationPercentBothTotal fragmentation of the drive. Local fixed drives only.
DriveFileFragmentationPercentBothFragmentation of the files on the drive. Local fixed drives only.
DriveFileSystemBothThe file system, for example NTFS.
DriveModelBothThe disk model, the optical drive name, or the network path of a mapped drive.
DataCollectionDateBothWhen the device collected the data.

Report Settings​

Values used in the WYSIWYG Custom Field Report - Organization and Global KB automation to build this report.

Script VariableValue
Report OutputKnowledge Base Articles and Local CSV Files
Custom Field NamecpvalDriveDetails
Report ScopeAll Organizations and Global
Organization KB Article NameAll Drives Audit [Windows]
Organization KB Folder NameDataviews/Drive Details
Organization Additional ColumnsLocation, Device, OS, DeviceType
Global KB Article NameAll Drives Audit [Windows]
Global KB Folder NameDataviews/Drive Details
Global Additional ColumnsOrganization, Location, Device, OS, DeviceType
Local Folder NameDrive Details
Local File NameAll Drives Audit [Windows]
Device CategoryAll
MultipartTrue
Instance UrlThe NinjaOne instance of the partner, for example us2.ninjarmm.com

Report Settings

Dependencies​

Global Article Sample Screenshot​

Global Article

Organization Article Sample Screenshot​

Organization Article

CSV Folder Sample Screenshot​

The global CSV file, and the Organization_Level_Reports folder with one CSV file per organization.

CSV Folder

Changelog​

2026-10-14​

  • Initial version of the document