Resolved: ArcMap remote desktop connection error

Discussion created by zdefne on Mar 23, 2020

For some reason I have been getting the following error when trying to start an instance during a remote desktop session (most probably related to the graphics card). 

ArcGIS: LoadLibrary failed with error 87:The parameter is incorrect. 



Here's how I solved the problem (Edit Group Policy tool from Control Panel):

-Right click on Windows start menu and select Run (or windows+R)

-type cmd 

-type gpedit.exe

-go to: Local Computer Policy\Computer Configuration\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Remote Session Environment

-set following parameters to Enabled

Use hardware graphics adapters for all Remote Desktop Services sessions
Prioritize H.264/AVC 444 graphics mode for Remote Desktop Connections
Configure H.264/AVC hardware encoding for Remote Desktop Connections