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,301件の閲覧回数
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 返答(返信)

4,027件の閲覧回数
nelsonguerra1
Contributor I

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

thank you

0 件の賞賛
返信

5,140件の閲覧回数
anthonygarza
Contributor I

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

0 件の賞賛
返信

5,137件の閲覧回数
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,125件の閲覧回数
anthonygarza
Contributor I

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

0 件の賞賛
返信

5,132件の閲覧回数
anthonygarza
Contributor I

anthonygarza_0-1637257719883.png

 

0 件の賞賛
返信

5,131件の閲覧回数
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,222件の閲覧回数
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,266件の閲覧回数
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,252件の閲覧回数
neo2
Contributor III

I'm the using

- MIMXRT1160-EVK Board

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

 

0 件の賞賛
返信