"The procedure entry point of the DiscardVirtualMemory cannot be located in the dynamic link library C:\Program Files \UiPath\Studio\UiPathAssistant\UiPath.Assistant.exe" Error

How to solve "The procedure entry point of the DiscardVirtualMemory cannot be located in the dynamic link library C:\Program Files \UiPath\Studio\UiPathAssistant\UiPath.Assistant.exe"?

Issue description

The procedure entry point of the DiscardVirtualMemory cannot be located in the dynamic link library C:\Program Files \UiPath\Studio\UiPath Assistant\UiPath.Assistant.exe error in attended Robot 23.10 or higher.

Cause

This type of error has been observed due to a lack of compatibility between Robot version and operating system version.

Robot 23.10 or higher is not compatible with Windows Server 2012 R2 or Windows 8.1 - this deprecation has been announced here.

Resolution

Upgrade the OS to a supported version as per the Robot software requirements:

Robot - Hardware and software requirements