Registry find and change

I have been tasked lately with changing some registry entries found by security scans.  The scan finds that services are missing quotes in the image path and this is for some reason not secure.
The key is [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\servicename
"ImagePath" (REG_EXPAND_SZ)

What I am hoping one of you can help with is to find the REG_EXPAND_SZ keys that are missing quotes and then surround the path with the missing quotes.

make sense?

Thank you!
~M

 

 

Parents
No Data
Reply Children
No Data