As long as there is sufficient room on the drive and the computers can reach it, you can use this device to back up any of these versions of Windows.
The caveat is that each computer must be able to reach the device. This can be as simple as plugging the drive into each computer, or you can get fancy and share the drive on a network these computers connect to.