What does Windows error code 7038 (ERROR_CTX_NOT_CONSOLE) mean?

 
Previous Next
ERROR_CTX_LOGON_DISABLED ERROR_CTX_CLIENT_QUERY_TIMEOUT

ERROR_CTX_NOT_CONSOLE

ERROR_CTX_NOT_CONSOLE means the operation requires direct console access and cannot be performed from the current remote session. The requirement usually belongs to a driver, system component, or legacy management API.

What to check

  • Identify the operation that requested console access; do not assume an RDP connection is equivalent to the physical console.
  • Use the documented management method for that component, or perform the operation at the system console when required.
  • For RDS administration, confirm session state with the Session Host tools instead of forcing a console reassignment.
qwinsta

Microsoft: Remote Desktop Services system error codes

Microsoft: qwinsta / query session

Microsoft: Remote Desktop Services command reference


Looking for a different code? Search another status or error code.