Today, as usual, I opened Windows 11 and used vs code to remotely connect to the server Ubuntu 20, but I encountered an error: Resolver error: Error: Got bad result from install script
.
OK! ! ! Start Bing! ! !
According to the CSDN blog entries given, I tried one by one, but it didn't work.
Start trying github. With the help of github https://github.com/microsoft/vscode-remote-release/issues/5693 , it was successfully solved.
His solution, delete both registries:
HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\AutoRun
HKEY_CURRENT_USER\Software\Microsoft\Command Processor\AutoRun
-
Win + R
Enterregedit
to open the registry
-
Check whether
AutoRun
files exist in the two paths below respectively. If there is, just delete it.
HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\AutoRun
HKEY_CURRENT_USER\Software\Microsoft\Command Processor\AutoRun
- Restart vs code. Remote ssh again. OK, perfect solution.