Skip to main content

Unquoted Service Paths

Summary​

Lists the Windows services with an unquoted executable path on each device, including the services the autofix could not fix. Use it to find the services security scans report as a privilege escalation risk and to follow up on failed fixes. The Unquoted Service Paths - Detection automation collects the data on each device, and Unquoted Service Paths - Autofix updates it after every fix.

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 > Security > Unquoted Service PathsC:\ProgramData\_Automation\Report\Security\Unquoted Service Paths.csv
OrganizationOrganization Knowledge Base > Dataviews > Security > Unquoted Service PathsC:\ProgramData\_Automation\Report\Security\Organization_Level_Reports\Unquoted Service Paths_<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. Devices without an unquoted service path have an empty cPVAL Unquoted Service Paths field, so they do not appear in the report.

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.
ServiceNameBothThe name of the service.
DisplayNameBothThe display name of the service.
StartModeBothHow the service starts, for example Auto, Manual or Disabled.
StateBothThe state of the service when the data was collected, for example Running or Stopped.
PathNameBothThe path and arguments of the service.
AutofixAttemptedBoth1 when the path is still unquoted after the autofix ran. 0 when the detection script recorded the service.
DataCollectionTimeBothWhen 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 NamecpvalUnquotedServicePaths
Report ScopeAll Organizations and Global
Organization KB Article NameUnquoted Service Paths
Organization KB Folder NameDataviews/Security
Organization Additional ColumnsLocation, Device, OS, DeviceType
Global KB Article NameUnquoted Service Paths
Global KB Folder NameDataviews/Security
Global Additional ColumnsOrganization, Location, Device, OS, DeviceType
Local Folder NameSecurity
Local File NameUnquoted Service Paths
FilterLeave blank
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-27​

  • Initial version of the document