远程开软件报错:LoadLibrary failed with error 126: The module could not be found

在本地用没问题,在宿舍远程过去就报这个错。好像跟显卡有关。把 [1] 的前两个答案的操作一起做了才行。

  1. 打开设备管理器,在 display adapters 禁用 Intel HD Graphics(我这台机还有另外一块 AMD Radeon)。
  2. Win + R 运行 gpedit.msc,找 Computer Configuration -> Administrative Templates -> Windows Components -> Remote Desktop Services -> Remote Desktop Session Host -> Remote Session Environment,打开(是双击 Remote Session Environment 本身而不是它里面那个文件夹)。
  3. Use hardware graphics adapters for all Remote Desktop ServicesPrioritize H.265/AVC444 graphics mode for Remote Desktop ConnectionsConfigure H.264/AVC hardware encoding for Remote Desktop Connections 这 3 个设成 enabled(双击打开)。
  4. use WDDM graphics display driver for remote desktop connections 设成 disabled。
  5. 重启电脑。

远程开软件报错:LoadLibrary failed with error 126: The module could not be found
远程开软件报错:LoadLibrary failed with error 126: The module could not be found

References

  1. Error “LoadLibrary failed with error 126: The module could not be found” when launching Spyder IDE through v*n