windows - windows转说powershell无法实例化:公共语言运行库检测到无效程序
问题描述
所以我面临一个问题:Windows打开几分钟会弹出一个窗口说:PowerShell cannot be instantiated: common language runtime detected an invalid program。然后每次我尝试打开 PowerShell 时它都会崩溃。
我试过sfc /scannow
结果:
Windows Resource Protection found corrupt files and successfully repaired them.
Details are included in the CBS.Log %WinDir%\Logs\CBS\CBS.log.
重启。还是同样的问题。
请帮忙,谢谢!
解决方案
推荐阅读
- c - 为什么 a*b/c 而不是 a*(b/c) 在 AVR 上提供 3 倍的程序大小?
- javascript - “执行上下文和堆栈”的概念是否仅适用于浏览器?
- ibm-cloud - 在 IBM Watson Studio 中找不到我的项目部分
- javascript - 如何在 react-native 中使用 require 传递多个图像
- c# - C#如何杀死一个带有.exe更改名称的进程,未命名的窗口并且不能使用PID,因为我需要使用不改变的东西?
- javascript - ajax 不工作我必须刷新才能使其工作
- python - SyntaxError:无效的语法,python3
- vue.js - 无法在 vue native 中导入 js 文件
- sql - 带有 IF、ELSE 的函数“如果总价格的 AVG 高于游戏价格,则返回 0,否则返回 1”
- ubuntu - 如何在 mosquitto broker 的 bridg.conf 文件中提及 will 消息设置