No it won't work, it will have all the wrong drivers and heaven knows what else on it. And it will probably be IDE. Most new machines are SATA.
What problems are you having anyway, far better to sort these than to revert to an obsolete system.
Surface Pro (2017) vs Surface Pro 4
20 groundbreaking 3D animation technologies coming to Siggraph 2017
iPad Pro 12.9 vs Surface Pro 5
Synology invites you to visit them at Insomnia on 26th – 29th August. Book your tickets now and visit Synology.