![]() | 1 LeeSeoung 2021-06-30 15:01:52 +08:00 是不是没用管理员权限启动。。 |
2 Mrkon OP @LeeSeoung 使用管理员权限启动还是一样的报错,在启动 powershell 还会报错:无法加载文件 C:\Users\Documents\WindowsPowerShell\profile.ps1 , 但应该不是这个原因 |
![]() | 3 d0m2o08 2021-06-30 16:20:59 +08:00 win + r cmd 能运行么 |
5 DogMingDD 2021-06-30 17:49:12 +08:00 重装系统吧,逃跑 |
6 YsHaNg 2021-06-30 20:19:17 +08:00 运行 powershell 就不用 cmd 了吧 |
![]() | 7 Victor69 2021-06-30 20:50:36 +08:00 上次我遇到这样的问题,用遍所有能搜到的办法后,还是不行,最后只能原位重装系统... |
![]() | 8 Pagliacii 2021-06-30 21:28:13 +08:00 如果是使用 PowerShell 的话,可以在 VSCode 里更改一下 Terminal 的配置,指定为 PowerShell 的路径 |
9 QHKZ 2021-06-30 21:57:58 +08:00 试试用 Dism 或者 sfc 修复一下系统 |
10 Mrkon OP @Pagliacii 不知道是不是我把配置项改错了的原因,我在 remote-ssh 中设置了 terminal.external.windowsExec 为"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe",但还是不能使用。 |