Error 7038 - ERROR_CTX_NOT_CONSOLE
The requested operation can be performed only on the system console. This is most often the result of a driver or system DLL requiring direct console access.
Symptoms
- The requested operation can be performed only on the system console. This is most often the result of a driver or system DLL requiring direct console access.
- System error 7038 (ERROR_CTX_NOT_CONSOLE)
Troubleshooting steps
- Note the exact error 7038 (ERROR_CTX_NOT_CONSOLE) and which operation failed.
- Check the Windows Event Viewer and the relevant application/service logs for related entries.
- Apply the fix documented by Microsoft for error ERROR_CTX_NOT_CONSOLE (see the reference URL).
- Retry the operation after applying the fix and confirm the error no longer appears.
Reference: learn.microsoft.com