You need to enable JavaScript to run this app.
最新活动
大模型
产品
解决方案
定价
生态与合作
支持与服务
开发者
了解我们

Windows系统内置OpenSSH Server无法启动且无法卸载的问题求助

Windows系统内置OpenSSH Server无法启动且无法卸载的问题求助

各位技术大佬们,求帮忙看看这个棘手的问题!我这阵子一直被Windows内置的OpenSSH Server折腾得头大,具体情况如下:

启动失败的报错情况

当我尝试启动OpenSSH SSH Server服务时直接失败,弹出的错误信息是:

The OpenSSH SSH Server service could not be started.
A system error has occurred.
System error 1067 has occurred.
The process terminated unexpectedly.

卸载遇到的困境

  • 首先尝试通过系统的“添加或删除功能”卸载这个内置的OpenSSH Server,结果完全卸载失败
  • 后来我进入安全模式尝试强制删除相关文件,还是报错
  • 我怀疑这个问题是最近安装的.NET Framework 4.8补丁导致的

管理员命令行强制删除的尝试结果

我用管理员权限打开了命令提示符,执行了强制删除目录的命令:

rmdir /s /q C:\Windows\System32\OpenSSH

结果出现了一堆权限拒绝的提示,比如:

c:\Windows\System32\OpenSSH\LICENSE.txt - Access is denied.
c:\Windows\System32\OpenSSH\NOTICE.txt - Access is denied.
c:\Windows\System32\OpenSSH\scp.exe - Access is denied.
c:\Windows\System32\OpenSSH\sftp.exe - Access is denied.
c:\Windows\System32\OpenSSH\ssh-add.exe - Access is denied.
c:\Windows\System32\OpenSSH\ssh-agent.exe - Access is denied.

备注:内容来源于stack exchange,提问作者Mike Lim

火山引擎 最新活动