NOTICE: This website will be shut down in the near future. Product content has moved to Forum content and FAQs have been moved to We encourage you to create a user account on to use the new community forums and access NXP microcontroller content. We greatly appreciate your contributions and look forward to seeing you at our new web location.


Windows PATH issues

lpcxpresso-support's picture

LPCXpresso IDE uses some standard Windows tools when booting and searching for Debug Probes, and also to validate a license. These utilities include cscript.exe and wmic.exe and are normally found on the Windows search PATH. If these utilities are not found on the PATH then LPCXpresso IDE will be unable to locate your Debug Probes or to correctly validate your license.

If LPCXpresso IDE is unable to find your Debug Probe, or you are told License restriction: Flash image too large for this license then check that these utilties can be found by opening a Command Prompt and running the commands cscript and wmic.

Generally this problem can be solved by fixing your PATH environment variable, to ensure that the "%SystemRoot%;%SystemRoot%\system32;%SystemRoot%\system32\wbem" directories are on it .

Note: on 64 bit Windows systems, cscript.exe is actually run from the  "%SystemRoot%\SysWOW64" directory, which is automatically redirected to by Windows when looking for 32bit executables (ie Windows automatically redirects from the "%SystemRoot%\system32" on the path to "%SystemRoot%\SysWOW64").

Your rating: None