No advice on the Windows side, but we’ve rescued two Mac’s from accidental spills.
We took off the back panel. Filled a cookie sheet with rice and placed the unit upside down with the keyboard resting on the rice. Set this whole thing on a milk crate with a fan underneath. Waited three days. It’s worked like a champ since. It tends to be sugar, milk etc. that kills it, not the water.
You might need to reset the power module when you try to restart the machine. On the Mac you have to hold down a certain number of keys at startup - not sure how it works on Windows.