Windows 7 reinstall without a disk

I have two computers friends want fixed they wont go past the black screen when trying to load windows. Neither one of them made recovery disks ones a Toshiba and the other is an emachine. Is there a way for me to reformat these computers without disks? They both have their Windows activation code. Thank you in advance!
