Running Terminal as Administrator gives me this error: the code execution cannot proceed because msvcp140.dll was not found #19157

Open
opened 2026-01-31 06:35:25 +00:00 by claunia · 0 comments
Owner

Originally created by @siddjain on GitHub (Dec 29, 2022).

Windows Terminal version

1.15.3466.0

Windows build number

10.0.22000.1335

Other Software

No response

Steps to reproduce

Simply try to run Terminal as Administrator. In my case I changed the default profile and turned on this option:

run_terminal_as_administrator

I then see this error:

terminal_error

Expected Behavior

Either fix this issue or if Terminal cannot run as administrator then remove the option from the settings. I do have admin privileges on the machine btw.

Actual Behavior

error

terminal_error

i got more errors after this. it didn't stop there.

Originally created by @siddjain on GitHub (Dec 29, 2022). ### Windows Terminal version 1.15.3466.0 ### Windows build number 10.0.22000.1335 ### Other Software _No response_ ### Steps to reproduce Simply try to run Terminal as Administrator. In my case I changed the default profile and turned on this option: <img width="863" alt="run_terminal_as_administrator" src="https://user-images.githubusercontent.com/758321/210002054-08aecc50-f698-43fa-852c-f813bc6d3aac.png"> I then see this error: <img width="320" alt="terminal_error" src="https://user-images.githubusercontent.com/758321/210002137-253bf648-ade1-4f46-89f9-862bd8928c8c.png"> ### Expected Behavior Either fix this issue or if Terminal cannot run as administrator then remove the option from the settings. **I do have admin privileges on the machine btw.** ### Actual Behavior error <img width="320" alt="terminal_error" src="https://user-images.githubusercontent.com/758321/210002394-7d960e8f-d7c4-4e7c-bb18-2440308dfd67.png"> i got more errors after this. it didn't stop there.
claunia added the Issue-BugResolution-Duplicate labels 2026-01-31 06:35:25 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#19157