Dear NXP,
There is a compatibility problem with the latest versions of Windows
on MCUXpresso if you debug then
"cannot run program wmic createprocess error=2"
I found the cause is because wmic.exe is missing
"Windows Management Instrumentation Command line (WMIC) tool: The WMIC tool is deprecated in Windows 10, version 21H1 and the 21H1 semi-annual channel release of Windows Server. This tool is superseded by Windows PowerShell for WMI. Note: This deprecation only applies to the command-line management tool. WMI itself is not affected."
Temporary Workaround:
Luckily I still have a "Windows.old" folder
I added this to my PATH
C:\Windows.old\WINDOWS\System32\wbem
Regards.
Lee.