Win11打开PowerShell找不到mscoree.dll怎么办

2024-10-17 07:19:23

1、在win11中打开PowerShell时报错如下:由于找不到 mscoree.dll ,无法执行代码。重新安装程序可能会解决此问题。

Win11打开PowerShell找不到mscoree.dll怎么办

2、先按”Win + S“组合键,在打开的Windows 搜索框中输入:CMD,然后在右侧命令提示符下方点击”以管理员身份运行“。

Win11打开PowerShell找不到mscoree.dll怎么办

3、在管理员:命令提示符窗口,输入以下命令:dism /online /enable-酆璁冻嘌feature /featurename:netfx3 /alldism /online /enable-feature /featurename:WCF-HTTP-Activationdism /online /enable-feature /featurename:WCF-NonHTTP-Activation

Win11打开PowerShell找不到mscoree.dll怎么办Win11打开PowerShell找不到mscoree.dll怎么办Win11打开PowerShell找不到mscoree.dll怎么办

4、我们再次打开PowerShell,发现就可以正常运行了,如下图:

Win11打开PowerShell找不到mscoree.dll怎么办Win11打开PowerShell找不到mscoree.dll怎么办
猜你喜欢