Skip to main content

Unquoted Service Paths Detection

Summary​

The script should be called by the monitor set ProVal - Development - Unquoted Service Paths Detection. It will run a PowerShell script on the machine to fix the services with an unquoted path.

Sample Run​

Sample Run 1

Sample Run 2

Dependencies​

ProVal - Development - Unquoted Service Paths Detection

Process​

The script will fetch the new paths to be set for each unquoted service on the machine and will run a PowerShell script to add quotes to the service paths.

Output​

Script log

Changelog​

2025-09-04​

  • The script was incorrectly quoting the path if both sys and exe were available in the service path. Updated the PowerShell script at step 3 to enclose the path in quotes if it contains spaces, applying this to whichever comes first between .exe and .sys

2025-04-10​

  • Initial version of the document