wmic

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

wmic

2,736 Views
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 Replies

2,050 Views
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 Kudos

2,370 Views
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

2,370 Views
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 Kudos