question

GopalanSridharS-3471 avatar image
1 Vote"
GopalanSridharS-3471 asked pedrorossener-0913 commented

Tasklist error in Windows 10 Pro

I've used the tasklist command to list the running task on my pc. Perhaps the command return with the following error
ERROR: Invalid class

windows-10-general
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,

Have you checked if the answer helps?

If the Answer is helpful, please click "Accept Answer" and upvote it. Thanks.

0 Votes 0 ·
SSengupta-4080 avatar image
0 Votes"
SSengupta-4080 answered SSengupta-4080 edited

Sometimes AV restrict running tasklists, so I shall suggest you to uninstall third party AV if any.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

ElevenYu-MSFT avatar image
2 Votes"
ElevenYu-MSFT answered pedrorossener-0913 commented

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.

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

to ElevenYu-MSFT

cd \windows\system32\wbem
net stop winmgmt
rename Repository Repository.old
net start winmgmt

Perfect advice, thank you thank you. 10x 😀

0 Votes 0 ·

mine is not working, i tried trough powershell too :(


0 Votes 0 ·
heeelp.png (246.3 KiB)