As long as the system versions are same, for example they are Windows 10, you can use the recovery disk created in A computer on the B computer. But if the A computer's Windows version is different from B computer's, the recovery disk can't be used on the B computer.