Every time I try to open Minecraft, no matter what version I try to open, it always comes up with "Exit Code: -1073740940" and nothing I do fixes it, plus I'm using windows 11 and when I check the settings it says the launcher is for windows 10 for some reason despite me downloading it for windows 11/10. I'm not sure if that's part of the issue but it might be.
Thank you for your report!
We're tracking this issue in MC-155666, so this ticket is being resolved and linked as a duplicate.
That ticket has already been resolved as invalid. Please take a look at the parent ticket (MC-155666) and see if an explanation is provided there in the description of the ticket or in the comments for why this issue is invalid.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki