Opening conhost.exe without Terminal installed leads to an administrator command prompt without asking user for administrator authentication #800

Open
opened 2026-01-30 22:04:37 +00:00 by claunia · 0 comments
Owner

Originally created by @connormcdermid on GitHub (May 8, 2019).

Noob question: I seem to be able to get an administrator command prompt without confirming that I am, in fact, a system administrator (I am not).

I am running Windows 10.0.17134.706

I open conhost.exe from the Run dialog (Win + R) or from the start menu

An administrator command prompt opens without prompting me for an administrator password (my account is not an administrator account) (cmd line prompt is C:\WINDOWS\system32>
I tested this by running a command that would require administrator privileges to execute:
net user xxxx /active:yes and received output The command completed successfully.

This seems like a rather large security flaw; while I don't think this is a widespread issue (might be a bug with my version), I'd like to know if I can fix this.

Originally created by @connormcdermid on GitHub (May 8, 2019). Noob question: I seem to be able to get an administrator command prompt without confirming that I am, in fact, a system administrator (I am not). I am running Windows 10.0.17134.706 I open `conhost.exe` from the Run dialog (Win + R) or from the start menu An administrator command prompt opens without prompting me for an administrator password (my account is *not* an administrator account) (cmd line prompt is `C:\WINDOWS\system32>` I tested this by running a command that would require administrator privileges to execute: `net user xxxx /active:yes` and received output `The command completed successfully`. This seems like a rather large security flaw; while I don't think this is a widespread issue (might be a bug with my version), I'd like to know if I can fix this.
claunia added the Issue-QuestionResolution-Answered labels 2026-01-30 22:04:37 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#800