You should be ok......a retail copy can be installed only on one machine at a time but is transferable between pcs.Since the machine it was installed on originally is now scrapped, that retail version of Windows can be used on another pc.
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.