Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows Terminal cannot open after install last update ("not designed to run on Windows", 0xc0000045) #13774

Closed
javlaks opened this issue Aug 18, 2022 · 14 comments
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something Needs-Tag-Fix Doesn't match tag requirements Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting

Comments

@javlaks
Copy link

javlaks commented Aug 18, 2022

Windows Terminal version

Win11_1.14.2282.0

Windows build number

Microsoft Windows [Version 10.0.22000.856]

Other Software

No response

Steps to reproduce

Install the lastest version (Win11_1.14.2282.0) in a windows 11 machine

Expected Behavior

Install successfully the Microsoft.WindowsTerminal_Win11_1.14.2282.0_8wekyb3d8bbwe.msixbundle in a Windows 11 machine and open the Terminal

Actual Behavior

The installation completes well, but when I try to open the Terminal, I see the following error:
image

@javlaks javlaks added the Issue-Bug It either shouldn't be doing this or needs an investigation. label Aug 18, 2022
@ghost ghost added Needs-Tag-Fix Doesn't match tag requirements Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting labels Aug 18, 2022
@zadjii-msft
Copy link
Member

um what. @DHowett ‼️ I've never seen anything like this.

Is it cause we have a dependency on 2.7.3, but that's not rolled out yet? I literally have no idea.

@DHowett
Copy link
Member

DHowett commented Aug 18, 2022

UH WHAT

MUX isn't linked by ordinal (or at all actually... it's all loaded at runtime)

@zadjii-msft
Copy link
Member

OKAY WHAT DOES THIS MEAN

@javlaks I know this sounds stupid, but can you back up your settings and reinstall? Maybe it just botched the install?

@DHowett
Copy link
Member

DHowett commented Aug 18, 2022

Do you happen to have any higher security features enabled?

@DHowett DHowett added the Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something label Aug 18, 2022
@javlaks
Copy link
Author

javlaks commented Aug 18, 2022

OKAY WHAT DOES THIS MEAN

@javlaks I know this sounds stupid, but can you back up your settings and reinstall? Maybe it just botched the install?

I did it but the issue is still present, same error. I had to rollback to Win11_1.14.1963.0

@ghost ghost added Needs-Attention The core contributors need to come back around and look at this ASAP. and removed Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something labels Aug 18, 2022
@javlaks
Copy link
Author

javlaks commented Aug 18, 2022

Do you happen to have any higher security features enabled?

Yes, the computer have some security options enabled by the company, but the weird thing is that previous versions work fine in the same computer, only the latest gives me this error

@zadjii-msft
Copy link
Member

Note: Presumably there are weird bits set on a page in the DLL giving it invalid permissions (like, write+execute), but what, that should never happen.

If we did ship a binary that got compiled wrong, I'm sure we'll hear a lot more about in this thread soon 😨

@zadjii-msft zadjii-msft changed the title Windows Terminal cannot open after install last update Windows Terminal cannot open after install last update ("not designed to run on Windows", 0xc0000045) Aug 18, 2022
@DHowett
Copy link
Member

DHowett commented Aug 18, 2022

No significant difference in DLL headers:

image

I wonder if it could be an error coming out of loading MUX.dll...

@DHowett
Copy link
Member

DHowett commented Aug 18, 2022

@javlaks do you happen to know which settings they've enabled?

Would you be able to check this one in the Advanced System Properties?

image

@javlaks
Copy link
Author

javlaks commented Aug 18, 2022

This is why I see, @DHowett
image

@DHowett
Copy link
Member

DHowett commented Aug 18, 2022

Crap.

How about this, from PowerShell?

get-ciminstance win32_operatingsystem | fl DataExecution*

@javlaks
Copy link
Author

javlaks commented Aug 18, 2022

Here is it
image

@zadjii-msft
Copy link
Member

Huh, that's what I'd expect there. Any chance this just went away/? I don't know if we had any leads left, to be honest. And we haven't heard any other similar reports since. I legit have no idea what this could be other than cosmic bit flip.

@microsoft-github-policy-service microsoft-github-policy-service bot added Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something and removed Needs-Attention The core contributors need to come back around and look at this ASAP. labels Feb 16, 2023
@zadjii-msft zadjii-msft added the No-Recent-Activity This issue/PR is going stale and may be auto-closed without further activity. label Mar 14, 2023
@microsoft-github-policy-service microsoft-github-policy-service bot removed the No-Recent-Activity This issue/PR is going stale and may be auto-closed without further activity. label Mar 14, 2023
@zadjii-msft
Copy link
Member

Hey all, our bot's been acting up the last few weeks. This issue has been marked as requiring author feedback, but hasn't had any activity in the last week. We're gonna close it to tidy up. Feel free to continue the discssion in the comments - we can always reopen if new information comes to light. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something Needs-Tag-Fix Doesn't match tag requirements Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting
Projects
None yet
Development

No branches or pull requests

3 participants