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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

5,182 次查看
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 项奖励
回复
9 回复数

3,908 次查看
nelsonguerra1
Contributor I

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

thank you

0 项奖励
回复

5,021 次查看
anthonygarza
Contributor I

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

0 项奖励
回复

5,018 次查看
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 项奖励
回复

5,006 次查看
anthonygarza
Contributor I

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

0 项奖励
回复

5,013 次查看
anthonygarza
Contributor I

anthonygarza_0-1637257719883.png

 

0 项奖励
回复

5,012 次查看
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 项奖励
回复

5,103 次查看
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 项奖励
回复

5,147 次查看
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 项奖励
回复

5,133 次查看
neo2
Contributor III

I'm the using

- MIMXRT1160-EVK Board

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

 

0 项奖励
回复