小编教你Win11系统错误powershell找不到mscoree.dll的三种解决方法。

近期有用户在更新微软Win11最新补丁KB5013943后,出现了严重 Bug,其中包含了powershell.exe - 系统错误,并提示找不到mscoree.dll,这该怎么解决呢?下面小编就为大家带来三种解决方法介绍,一起来看看吧!

powershell.exe - 系统错误

由于找不到 mscoree.dll ,无法执行代码。重新安装程序可能会解决此问题。

Win11系统错误powershell找不到mscoree

方法一:

1、首先,按键盘上的 Win + X 组合键,或右键点击任务栏底部的Windows开始图标,在打开的隐藏菜单项中,选择运行;

Win11系统错误powershell找不到mscoree

2、运行窗口,输入 control 命令,按确定或回车,打开控制面板;

Win11系统错误powershell找不到mscoree

3、控制面板窗口,类别查看方式,点击调整计算机的设置下的卸载程序;

Win11系统错误powershell找不到mscoree

4、程序和功能窗口,左侧边栏,点击启用或关闭 Windows 功能;

Win11系统错误powershell找不到mscoree

5、Windows 功能窗口,找到并勾选.NET Framework 3.5 (包括 .NET 2.0 和3.0)下的Windows Communication Foundation HTTP 激活和Windows Communication Foundation 非 HTTP 激活;

Win11系统错误powershell找不到mscoree

6、正在搜索需要的文件,这步骤只需要等待net组件下载安装即可。

Win11系统错误powershell找不到mscoree

方法二:

1、首先,新建一个文本文档,打开新建文本文档,将下面代码复制进去:

start /w pkgmgr /iu:Microsoft-Windows-NetFx3-OC-Package

start /w pkgmgr /iu:Microsoft-Windows-NetFx4-US-OC-Package

start /w pkgmgr /iu:Microsoft-Windows-NetFx3-WCF-OC-Package

start /w pkgmgr /iu:Microsoft-Windows-NetFx4-WCF-US-OC-Package

Win11系统错误powershell找不到mscoree

2、点击文件另存为;

Win11系统错误powershell找不到mscoree

3、将保存类型修改为所有文件,然后将文件名修改为 .bat ,点击保存;

4、右键 .bat 文件,选择以管理员身份运行即可;

等待命令框读取完成后,重启计算机就可以完成修复。

方法三:使用cmd,分别运行以下命令:

dism /online /enable-feature /featurename:netfx3 /all

dism /online /enable-feature /featurename:WCF-HTTP-Activation

dism /online /enable-feature /featurename:WCF-NonHTTP-Activation

之后,重启电脑即可。

本文来自网络投稿,来自作者春天。不代表酷牛教程立场,如若转载,请注明出处:https://www.xukn.com/1193266.html

(0)
春天春天
上一篇 2023-08-24 17:26
下一篇 2023-08-24 17:26

相关推荐

发表回复

登录后才能评论