If you're experiencing no sound on Sony WH-1000XM4 when it is connected to Windows 10 then one of the possible causes could be that your audio settings on Windows 10 are set to Mono. This would prevent you from hearing any audio output from both sides or any single side of the XM4.