@Amature55555 Windows 10 is a little bit trickier than Windows 11 but still doable. I lit up my old MSI Windows 10 laptop to walk through it, so I know it should work this way for you.
As you provided the Dell laptop info, let's do that first. It will be very similar with your desktop. There are no drivers needed regardless of receiver brand. It's all about shutting the equipment down, making the right cable connections, then turning it on in order with the right input selected on the receiver. It's done via the communication / handshaking via the HDMI cable.
Before you connect the HDMI cable to the Dell if you "right click" on the speaker icon in the bottom right corner of the task bar you should see this:
View attachment 68378
If you select Open Sound settings, the only choice you are likely to see will be the Audio Controller Realtek ALC3226. But turn off the laptop, plug in the HDMI to the Dell and the Yamaha TSR-7850 receiver, and your TV. Then turn on the receiver and TV, and select the correct HMDI input on the receiver. Restart the laptop, Open Sound settings ("right click" on the speaker icon) and this time you should have an option to select the Yamaha TSR-7850 receiver like I do with the Denon in the screen capture below:
View attachment 68383
Then you should select the Yamaha and be good to go for whatever video / audio source you play on the PC.
I hope this is helpful.