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

Closed
opened 2026-01-31 06:35:32 +00:00 by claunia · 3 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:33 +00:00
Author
Owner

@j4james commented on GitHub (Dec 30, 2022):

I think this is probably a duplicate of #14501.

@j4james commented on GitHub (Dec 30, 2022): I think this is probably a duplicate of #14501.
Author
Owner

@zadjii-msft commented on GitHub (Jan 3, 2023):

Sure looks like it to me /dup #14501

@zadjii-msft commented on GitHub (Jan 3, 2023): Sure looks like it to me /dup #14501
Author
Owner

@ghost commented on GitHub (Jan 3, 2023):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost commented on GitHub (Jan 3, 2023): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#19160