What does HRESULT 0xC0262007 (ERROR_GRAPHICS_PRESENT_DENIED) mean?

 
Previous Next
ERROR_GRAPHICS_PRESENT_OCCLUDED ERROR_GRAPHICS_CANNOTCOLORCONVERT

ERROR_GRAPHICS_PRESENT_DENIED

ERROR_GRAPHICS_PRESENT_DENIED (0xC0262007) means the process could not present because Windows denied access to the relevant desktop or session. This is different from a GPU rendering failure.

What to check

  • Verify that the application is running in the intended interactive user session and desktop.
  • Do not keep stale presentation state across lock, logoff, fast-user-switching, or Remote Desktop transitions.
  • For services, avoid assuming that a non-interactive service session can present to the physical user desktop.

Useful command

query session

Microsoft: Direct3D presentation status values

Microsoft: Display/Graphics overview

Microsoft: Graphics error codes


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