Hi Zlaad,
Welcome to Microsoft Q&A!
This error 0xc0000142 typically means that a background process or system component (like cmd.exe) is failing to launch properly. Since this happens after connecting an Xbox controller, it’s likely that a service triggered by the controller is trying to launch a script or command line tool, and that process is failing. You're not alone — many users have reported similar issues, and here's how they dealt with that:
1 - Repair the Xbox Game Bar:
- Open Settings > System > System components > Game Bar
- Scroll down, click Repair > if the issue persists, click Reset
- A more nuclear option is to uninstall Game Bar, but process with caution:
- Open PowerShell as Administrator
- Run
winget uninstall "Xbox Game Bar"
Note: Attempting to uninstall them might result in an error message. Always use caution when removing system apps, as it may affect the functionality of your Windows 11 system.
2 - Uninstall Game Assist:
- Open Settings > Apps > Installed apps > Game Assist
- Click three-dot > Uninstall > Confirm the prompt
Note: Some users have mentioned that this fix is related to MS Edge, and you can reinstall Game Bar after uninstalling Game Assist.
We look forward to hearing from you and reviewing the information. Please understand that our initial reply may not immediately resolve the issue. However, we can work together and try out more advanced fixes.
If this reply is helpful, please click "Accept Answer" and kindly upvote it to assist others who might face similar problem. If the issue persists or you have extra questions, please click "Comment" instead.
Note: To enable e-mail notifications, follow the steps in our documentation!