Forum Discussion
AB21805
Dec 06, 2022Bronze Contributor
Add double quotation marks around the path to executable for all service - proactively
Hi all, Is there a way to check / fix any paths to exes which dont have quotations? - via intune
rahuljindal-MVP
Dec 07, 2022Bronze Contributor
Am I right in saying that this is a security hardening requirement similar to that of CIS controls? If yes, then there is nothing available in Intune to configure this natively. You will probably need to use PS script. Either directly or through proactive remediation.
- AB21805Dec 07, 2022Bronze ContributorHi,
Would you know what sort of script I need to run for this?- rahuljindal-MVPDec 07, 2022Bronze ContributorNo, sorry. But I will like to think that the script will add quotes against each service path in the registry. Here is an example - https://www.techiessphere.com/2017/06/how-to-fix-unquoted-service-path-vulnerability.html
- AB21805Dec 08, 2022Bronze Contributor
Hi rahuljindal-MVP Rudy_Ooms_MVP
I would like to do this all remotely rather than on per machine to then manually add quotations to the missing ones, maybe as a proactive remediation if this is possible so that its all automatically found and fixed ?