Component Object Model (COM) Error – ERROR_GRAPHICS_ONLY_CONSOLE_SESSION_SUPPORTED 0xC02625E0

In this post, you’ll learn about the error “ERROR_GRAPHICS_ONLY_CONSOLE_SESSION_SUPPORTED 0xC02625E0” that is returned when working with COM based APIs or libraries in Windows.

COM Error Message

ERROR_GRAPHICS_ONLY_CONSOLE_SESSION_SUPPORTED 0xC02625E0

What is COM?

Microsoft’s COM stands for Component Object Model. Component Object Model (COM) is a networked, object-oriented framework for building interoperable binary software components.   Microsoft’s OLE (compound documents), ActiveX (Internet-enabled components), and other products are built on the COM base technology.

Error Description

Below is the description of this COM Error.

This function can only be used if a program is running in the local console session. It cannot be used if the program is running on a remote desktop session or on a terminal server session.