WINDOWS XP - tasklist.exe "initialization failure"
العربية
български
català
中文
čeština
dansk
Nederlands
eesti
suomi
français
Deutsch
Ελληνικά
עברית
हिंदी
magyar
Bahasa Indonesia
italiano
日本語
한국어
latviešu
lietuvių
norsk
polski
Português
română
русский
slovenčina
slovenski
español
svenska
ไทย
Türkçe
українська
Tiếng Việt
One of our Windows XP x64 Pro machines suddenly would not run tasklist.exe (lists processes in cmd line) anymore. It gives "ERROR: Initialization failure" when run.
Things I've looked into:
-any s/w installs recently? No.
-is tasklist.exe even on the machine? Yes, it's in C:\WINDOWS\system32
-checked path/environment variables? Yes.
-have you tried running it by typing its full path? Yes, but it still gives the error I mentioned above.
So I'm not too sure what else to look for right now. Any help is appreciated :) Thanks.
Answer |
Rebuilding the WMI repository did the trick. Just posting the solution that I found in case anyone else runs into something similar...
In cmd:
net stop winmgmt
Rename the %windir%\system32\wbem\repository to something else
net start winmgmt