Fix unquoted service path for Windows services

Jimmy Teffo 0 Reputation points
2025-02-25T10:03:19.9266667+00:00

Is there a way I can deploy this (Fix unquoted service path for Windows services) on Intune or is there any PS remediation script I can I use?

Microsoft Intune Configuration
Microsoft Intune Configuration
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Configuration: The process of arranging or setting up computer systems, hardware, or software.
2,011 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. ZhoumingDuan-MSFT 16,280 Reputation points Microsoft Vendor
    2025-02-26T02:04:07.42+00:00

    @Jimmy Teffo, Thanks for posting in Q&A.

    From your description, I know you want to Fix unquoted service path for Windows services via Intune or PS remediation script.

    Based on my research, I found that there is a blog showing how to create a Proactive Remediation in Intune for it. Here is the link:

    https://powershellisfun.com/2023/05/03/intune-proactive-remediation-for-microsoft-windows-unquoted-service-path-cve-2013-1609cve-2014-0759cve-2014-5455/

    Note: Non-Microsoft link, just for the reference.

    Also, there are other methods that you can refer to fix the issue.

    https://rakhesh.com/powershell/windows-services-fix-unquoted-path-vulnerabilities-using-powershell/

    http://www.ryanandjeffshow.com/blog/2013/04/11/powershell-fixing-unquoted-service-paths-complete/

    https://purplenotes.binsec.nl/defensive/microsoft-365/secure-score-series/fix-unquoted-service-path-for-windows-services/

    Note: Non-Microsoft link, just for the reference.

    Hope it will give you some ideas.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.