
You WILL find the offending path using this tool. Process Monitor is an advanced monitoring tool for Windows that shows real-time file system, Registry and process/thread activity. Get the small utility Process Monitor from Microsoft's site. HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\AutoRun HKEY_CURRENT_USER\Software\Microsoft\Command Processor\AutoRun As Usual, BACKUP Registry Before Making Changes. Check the following (if the exist) for invalid not wanted paths.

After running it, it will give further instructions if needed.

This ensures all windows paths and executables are available, permissions correct and non corrupt. Run the following from an Elevated CMD prompt. If any paths are listed as missing, you should manually remove them from the Environment Variable.

It will report OK or MISSING for each path. Here is a one line Powershell script that will test all paths in your PATH Environment Variable exist.
