mcuxpresso Windows 10 21H1 and Windows 11 cannot run program wmic createprocess error=2

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

mcuxpresso Windows 10 21H1 and Windows 11 cannot run program wmic createprocess error=2

2,658 Views
neo2
Contributor III

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.

0 Kudos
9 Replies

1,384 Views
nelsonguerra1
Contributor I

I tried, but i cant. How can i add the path. 

thank you

0 Kudos

2,497 Views
anthonygarza
Contributor I

I am having a similar problem MCUXpresso IDE v11.4.1 [Build 6260] [2021-09-15]1050 evbk board

0 Kudos

2,494 Views
PabloAvalos
NXP TechSupport
NXP TechSupport

Hi @anthonygarza 

Hoping you are excellent.

May you confirm which Windows version are you using too?

 

Regards.

Pablo Avalos.

0 Kudos

2,482 Views
anthonygarza
Contributor I

I was able to make mine go away by adding the following to my path.
C:\Windows\System32\wbem

0 Kudos

2,489 Views
anthonygarza
Contributor I

anthonygarza_0-1637257719883.png

 

0 Kudos

2,488 Views
anthonygarza
Contributor I

anthonygarza_0-1637257789797.png

 Including a copy of the error from mcuxpresso. I just installed it and tried to run the first example.

 

0 Kudos

2,579 Views
PabloAvalos
NXP TechSupport
NXP TechSupport

Hello @neo2 

 

Hoping you are well.

I just wanted to let you know that we forwarded your report and we are checking it internally.


Many thanks for letting us know.

 

Sincerely,
Pablo Avalos.

0 Kudos

2,623 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi 

In order to check your issue correctly, please let us know your chip PN and IDE version, thus we can assign right engineer for your issue.

Thanks,

Jun Zhang

0 Kudos

2,609 Views
neo2
Contributor III

I'm the using

- MIMXRT1160-EVK Board

- MCUXpresso IDE v11.4.1 [Build 6260] [2021-09-15]

 

0 Kudos