Evenodd :
SchizTech :
Well I guess it's settled. Do you have the disk you need to install Windows on the new drive?
No I don't.
Is there a way to make one?
Here are all the options:
Your first option is to create a recovery disk. As long as the laptop is still bootable and has the original software, check the system for a recovery media creation tool. For a Sony it might be included in one of the "Vaio care" programs, or somewhere else under "Sony" in the start menu. Most laptops of that era had an option to create recovery disks built in, to make up for the fact they usually didn't come with disks in the box. If you can find that option insert however many blank DVDs it calls for (one by one as it asks for them) and let the computer burn the disks.
As to a free, clean copy of windows: technically it depends on the version of Windows but since it appears that originally came with Windows 7, yes there is a legal way to download the software. I'm assuming you have Home Premium. Check the underside of your laptop for the product key sticker to verify that Windows 7 Home Premium is the OS and that the code is readable.
This is the link to the 64 bit version:
http://msft.digitalrivercontent.net/win/X17-24209.iso
With this file you have two choices: burn to disk or copy to flash drive. This tool can create a bootable flash drive from the image (at least 4GB capacity) http://wudt.codeplex.com/
Or you can insert a blank DVD, right-click the file and select "burn image to disk"
If you have a problem making out the product key, you won't be able to use that to activate Windows. In that case, skip the free download and contact Sony support to ask for a copy of the recovery disks to be sent if either of the above options doesn't work. Whatever Sony will charge is probably less then buying a new copy of Windows.
Finally, you could attempt a "clone" of the old hard drive onto the new hard drive (as long as the new drive has at least the same capacity it should work - if it's possible as you see below). If you get a WD drive, use the WD cloning tool from their site, or "DiskWizard" for a Seagate drive. Other manufacturers may also have tools on their websites; if you need a program for a different drive try one of these: http://www.techrepublic.com/blog/five-apps/five-free-and-reliable-cloning-tools/
While a fresh installation will install either the original Sony factory image or a clean copy of Windows (depending on which of the above disks you get/create), a successful clone will bring back the system exactly as it was on the old disk, including all your files and settings and programs you added will be back and working. Since the old drive isn't full\y healthy, the success of a clone attempt can't be fully guaranteed, so be prepared to use one of the above options as a backup if you want to try to clone.