Fix-Unquoted
Fix-Unquoted copied to clipboard
Powershell script to find and correct unquoted search/service paths
The script works great. It would be good if it could export each registry that needs amending to a location first that way if it needs to be rolled back...
The error `requested registry access is not allowed` is returned on trying to use `*.OpenSubKey` on scattered keys (not all); this may be what is causing the behavior, RE: script...
Hi. Great script but glad I did some testing across our estate first! Example: The problem string: C:\Program Files\Conexant\Flow\Setup64.exe -U -IFlowSetup -SRM=Flow.exe,UtilStatus,4 What the script does: "C:\Program Files\Conexant\Flow\Setup64.exe -U -IFlowSetup...
i.e. "C:\path\to\file.exe" -silent "C:\path\to\file.exe" -silent -config "C:\Path\to\config.cfg"