I’d recommend just using a long term service channel version of Windows. It’s designed for embedded systems like MRIs so I doesn’t do any of the auto install and restart crap. Also doesn’t have the telemetry or most any other bloat ware Windows usually comes with.