首页 > 其他 > 详细

修复运行 tasklist 命令时提示 ERROR: Not found

时间:2018-02-11 13:20:56      阅读:366      评论:0      收藏:0      [点我收藏+]

最近碰到了一个脚本运行 tasklist 总是提示 ERROR: Not found,在这里找到了修复的方法 https://superuser.com/questions/1282867/windows-8-1-tasklist-error-not-found

方法是在命令行运行以下命令

cd \windows\system32\wbem
net stop winmgmt
rename Repository Repository.old
net start winmgmt
tasklist # long pause as it rebuilds

答案还提到这个链接 https://katyscode.wordpress.com/2007/02/03/tutorial-how-to-fix-wmi-corruption/ ,原来是 WMI corrupt 了,该文还提了很多其他修复方法,感谢答案的作者给出有效的部分。

修复运行 tasklist 命令时提示 ERROR: Not found

原文:https://www.cnblogs.com/Diryboy/p/Fix-tasklist-ERROR-Not-found.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!