Moving hard drive to a new machine

Rman920

Honorable
Feb 28, 2013
22
0
10,510
If I were to take a hard drive that was installed it a Gateway sx2855, could i install it into a bare bone system and keep my data and my copy of windows 7? Realy the most important thing is keeping windows 7