Hello @Francisco Ascencao
When the WMIC execution doesn't work, but the GUI works it is because a lack of permissions to access specific registry chains containing Classes with the information requested.
In this case, you have 2 options:
A) Open the command shell with different user, for example local Administrator.
B) Download Process Monitor and check in real time which registry chains are being accessed when running the command and deliver the Access Denied type of error. Once detected, just need to adapt the permission settings of those registry chains to accommodate the authentication of the command. More details and download:
https://learn.microsoft.com/en-us/sysinternals/downloads/procmon
Hope this helps with your query,
-----------
--If the reply is helpful, please Upvote and Accept as answer--