Skip to main content

SMB Share Permissions Audit [Windows]

Summary​

Lists SMB share permissions on Windows devices for every client, providing details of share names, resource paths, user accounts, access control types, and access rights for auditing and security review. The SMB Share Permissions 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 > SMB Share Audit > SMB Share Permissions Audit [Windows]C:\ProgramData\_Automation\Report\SMB Share Permissions Audit [Windows]\SMB Share Audit.csv
OrganizationOrganization Knowledge Base > Dataviews > SMB Share Audit > SMB Share Permissions Audit [Windows]C:\ProgramData\_Automation\Report\SMB Share Permissions Audit [Windows]\Organization_Level_Reports\SMB Share Audit_Proval - Dev.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.
ShareNameBothThe name of the SMB share.
ResourceBothThe local path where the SMB share is located.
RemarkBothThe description or remark associated with the SMB share, if available.
AccountNameBothThe user or group account assigned permissions to the SMB share.
AccessControlTypeBothSpecifies whether the permission is allowed or denied.
AccessRightBothThe level of access granted or denied, such as Read, Change, or Full.
DataCollectionDateBothThe date and time when the SMB share permission data was collected.

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 CVS Files
Custom Field NamecpvalSmbShareDetailss
Report ScopeAll Organizations and Global
Organization KB Article NameSMB Share Permissions Audit [Windows]
Organization KB Folder NameDataviews/SMB Share Audit
Organization Additional ColumnsLocation, Device, Domain, LastContact, LastUser, DeviceType, OS
Global KB Article NameSMB Share Permissions Audit [Windows]
Global KB Folder NameDataviews/SMB Share Audit
Global Additional ColumnsLocation, Device, Domain, LastContact, LastUser, DeviceType, OS
Local Folder NameSMB Share Permissions Audit [Windows]
Local File NameSMB Share Audit
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-23​

  • Initial version of the document