There is no free version of Windows. Linux should run fine on this old rig. Or, it may just be time for a major hardware upgrade.
You could run Windows 10, un-activated indefinitely, but it is going to perform poorly on this old rig. Driver support for the hardware, especially the GPU, will be an issue as well.