Win11系统错误powershell找不到mscoree.dll的三种解决方法
日期:2024-10-20 / 人气: / 来源:www.rbntl.com
近期有用户在更新微软Win11最新补丁KB5013943后,出现了严重 Bug,其中包含了powershell.exe - 系统错误,并提示找不到mscoree.dll,这该怎么解决呢?下面小编就为大家带来三种解决方法介绍,一起来看看吧!
powershell.exe - 系统错误
由于找不到 mscoree.dll ,无法执行代码。重新安装程序可能会解决此问题。
方法一:
1、首先,按键盘上的 Win + X 组合键,或右键点击任务栏底部的Windows开始图标,在打开的隐藏菜单项中,选择运行;
2、运行窗口,输入 control 命令,按确定或回车,打开控制面板;
3、控制面板窗口,类别查看方式,点击调整计算机的设置下的卸载程序;
4、程序和功能窗口,左侧边栏,点击启用或关闭 Windows 功能;
5、Windows 功能窗口,找到并勾选.NET Framework 3.5 (包括 .NET 2.0 和3.0)下的Windows Communication Foundation HTTP 激活和Windows Communication Foundation 非 HTTP 激活;
6、正在搜索需要的文件,这步骤只需要等待net组件下载安装即可。
方法二:
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
2、点击文件另存为;
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
之后,重启电脑即可。
作者:
推荐内容 Recommended
- 苹果笔记本怎么升级Win11?苹果笔记10-20
- Win7旗舰版found.000文件丢失怎么恢复10-20
- Win7出现不兼容的应用程序怎么办10-20
- kb5014699怎么卸载?Win10 kb5014699补丁10-20
- Win10系统Application Identity服务设置不10-20
- Win7旗舰版电脑C盘满了怎么清理10-20
相关内容 Related
- Win11如何查看硬盘型号?Win11查看硬10-20
- 英特尔显示器节能怎么关?Win11关10-20
- 电脑怎么重装Win11专业版系统?10-20
- 教你小白怎么一键重装win11系统10-20
- Win11找不到网络路径怎么办?Win11找10-20
- 惠普台式电脑U盘重装系统Win10步骤10-20