| Previous | Next |
| STATUS_GRAPHICS_MONITOR_NO_LONGER_EXISTS | STATUS_GRAPHICS_NO_DISPLAY_DEVICE_CORRESPONDS_TO_NAME |
STATUS_GRAPHICS_ONLY_CONSOLE_SESSION_SUPPORTED
STATUS_GRAPHICS_ONLY_CONSOLE_SESSION_SUPPORTED means the operation is restricted to the local physical console session. It is not a statement that a remote session is broken; it is an API boundary that separates operations on the physical console display from Remote Desktop or terminal-server sessions.
The console session has a specific identifier. Microsoft documents WTSGetActiveConsoleSessionId as the way to retrieve the session attached to the physical console, and notes that no active console can be reported during an attach or detach transition.
What to verify
- The process session ID and the active console session ID at the time of the call.
- Whether the process is launched by a service, a scheduled task, RDP, or a console user.
- Whether the requested function is meant to control a physical display rather than a remoted display abstraction.
Moving the request to an interactive agent in the correct session can be a design solution; retrying the same call from an RDP process cannot change the API's session restriction.
References
- Microsoft: NTSTATUS reference
- Microsoft: WTSGetActiveConsoleSessionId
- Microsoft: display enumeration in the current session
Looking for a different code? Search another status or error code.
