wmic

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

wmic

3,854件の閲覧回数
jonaspistor
Contributor I

Hello,

since a few days, I can't use my LPC Link anymore.

Booting the debug probe gives me an access error for the program "wmic".

It seems like my company changed the access rules due to the recent ransomeware attacks.

Is there a way to use the debugger without using wmi?

Best regards

Jonas

3 返答(返信)

3,168件の閲覧回数
jfccfi
Contributor I

wmic.exe is being removed by Microsoft. I just updated my system this morning and it was removed. 

Windows 10 features we're no longer developing - Windows Deployment | Microsoft Docs

0 件の賞賛
返信

3,488件の閲覧回数
lpcxpresso_supp
NXP Employee
NXP Employee

wmic is a standard utility supplied with Windows. The most likely reason for problems is your path. For more details see :

 Windows PATH issues 

It is possible that you might be able to workaround by disabling the "Use wmic instead of cscript" preference in

  • Window -> Preferences -> LPCXpresso -> Redlink / LinkServer Options

but if it is a path issue, then this probably won't help.

If you are still having problems, it would also be worth trying to boot the probe manually and reporting what you see:

https://community.nxp.com/message/630541 

Regards,

LPCXpresso Support

3,488件の閲覧回数
jonaspistor
Contributor I

Thank you very much, the workaround using the cscript did it for me.

Is there any drawback in using the cscript instead of the wmic?

Best regards

Jonas

0 件の賞賛
返信