A:Answer Great question. The M127fw is compatible with Windows 10. The printer comes with a software CD, but to ensure you get the latest drivers, I will give you the link to get the latest drivers for Windows 10.
Here is the link: http://support.hp.com/us-en/drivers/selfservice/HP-LaserJet-Pro-MFP-M127-series/5396666/model/5303419
I hope this helps!