This error is caused due to issues with the Display driver, hardware error, damaged system files, and more.
Fix Something went wrong with the projection error in Windows
The following methods are effective to fix this issue with projection on Windows 11/10:
1] Update, Rollback or reinstall the Display driver
There are possibilities that the driver got updated in the background, and hence, a flawed installation might have caused the issue. Else, an outdated an incompatible driver might also trigger the same issue. Lastly, a corrupted or improper installation would do the same.
The Display driver is the backbone of this feature on Windows 10. You can either update the Graphics Driver or rollback or reinstall it. These actions can be performed from the Device Manager under the section of Display adapters. Also, you can try to update, rollback, or reinstall the Network drivers. They can be found under the section of Network Adapters.
3] Use the Network Adapter troubleshooter
The issue can also be caused due to an issue with the Network Adapter settings. You can use the Network Adapter troubleshooter to fix the error.
4] Use Video Playback troubleshooters
Inside the Settings app for Windows 10, navigate to Update & security > Troubleshoot.
And run the Troubleshooter for Video Playback. This should automatically detect and fix any problems that you are facing on your computer.
4] Undo any recent changes
If the Projection worked earlier and after a few software or hardware changes that you made, the feature is not working and throwing the Something went wrong with the projection error, there is something you can do about it. Installing a new software might modify the projection configurations. So, you have to undo all these changes and check if that fixes your issues. For that, uninstall any new software installed or remove any hardware you inserted to your computer safely. Make sure that any hardware that you remove is when the computer is turned off.
5] Reset Windows 10 without deleting any files
In some cases, as the last option, resetting Windows 11/10 without deleting any files have helped resolve this issue. While performing a reset, make sure you Keep all the personal files. This should have made the projection feature working on your computer.