这是个奇怪的问题。我肯定这两个月前很好,现在突然间就这样了。启动powershell时(直接从“开始”菜单或cmd启动。作为管理员或非管理员,我得到以下几行:
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
Try the new cross-platform PowerShell https://aka.ms/pscore6然后它被冻结超过30秒,然后,我得到命令行和光标,我可以写
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
Try the new cross-platform PowerShell https://aka.ms/pscore6
PS C:\Users\user>我在网上搜索了很多,但是所有的解决办法都没有用一些命令。最后,所有的讨论要么太老了,这可能是新的东西。知道什么会出错吗?我没有安装任何东西,只安装了窗口更新(但更多的窗口更新,并且不确定它何时开始像这样运行。)我在windows 10最新更新程序上
谢谢你的建议,马立克
发布于 2022-01-11 10:23:59
在使用procmon (sysinternals工具)对powershell.exe进行分析之后,我可以看到流程试图在catroot2文件夹中执行某些操作,因此在重命名它之后(您必须停止阻止文件夹的CryptSvc服务),它是自动创建的。所以结论是那个文件夹被破坏了。(对不起,我的英语很差)
执行下一个.bat
net stop CryptSvc /y
rename c:\windows\system32\catroot2 Catroot2.bak
net start CryptSvchttps://stackoverflow.com/questions/67348991
复制相似问题