Hi,
There might be some WMI issue in your system.
Please try to run below commands:
cd \windows\system32\wbem
net stop winmgmt
rename Repository Repository.old
net start winmgmt
If issue persists, then please run:
cd \windows\system32\wbem
for /f %s in ('dir /b *.mof *.mfl') do mofcomp %s
If all above cannot resolve the issue, please share a screenshot of the command you are running and the error message.
Thanks,
Eleven
If the Answer is helpful, please click "Accept Answer" and upvote it. Thanks.