Question 1: Yes you can restore factory settings. Sony has restore media available. When I tried to restore my wife's Vaio, they were charging about 15 USD for it. That was about 5 years ago. I did not want to pay so I used a fresh install and her license key.
Question 2: Yes, you can upgrade to Windows 10, if your upgrade to Windows 7 is Genuine.
Get Genuine Windows 7 or 8.
- If the current Windows 7 is genuine, and boots, you're ready,
go to step 2.
- If any of that previous part is not true, use recovery media from
Sony (may require purchase) to restore Vista. Upgrade to 7 again. You're ready, go to
step 2.
- If you cannot acquire recovery media but have a sticker on the computer with your Windows key, borrow a Vista installation disk and install it using that disk, and use your key to activate Vista. Upgrade to 7 again. You're ready, go to step 2.
Download, create, and use the installation media for Windows 10. Uses a 16 GB USB drive.
If you don't have one of the keys, there is no legit way to upgrade your system to Windows 10. Buy a full copy, choose another OS (thousands of Linux variants are free), or do something else that is not legitimate. This would not be a good forum if you elect the last.
Tap the [F10] key a few times at the VAIO logo a screen that states"Edit Boot Options" will appear simply press enter and the tools will launch once the tools load choose "C Drive Recovery" and everything will be wiped clean back to the original factory image. You can even use Rescue data to try and save any of your files before starting the Format. Once the unit is returned to the original image once you are at the desktop of windows, press [Assist] to open VAIO Care and create a set of recovery software. – SolveProblem – 2016-08-01T12:49:17.850
What were these errors you saw when you tried to do the factory reset with the laptop? It appears from the factory that it came with Vista, so I wanted to confirm that Vista is what you want to restore on it since that is what came from the factory and you want to do this with the restore functionality or partitions with that image on them from the laptop, correct? You question isn't about how to get Windows 7 reinstalled or anything reinstalled from a disk but to use whats built into the laptop disk for restoring from it, correct? – Pimp Juice IT – 2016-08-01T19:27:35.717
If you boot to gparted and look at the reserve or restore partitions from there and set the flag to BOOT, then it should start booting up to that partition and start the restore process from that factory image partition but whether or not that is possible may depend on what errors you're getting when you tried with the Alt+F10... I had to do this a few year back myself when the Alt+F10 or whatever hot keys were supposed to bring up those options didn't work but it'd be helpful to know what error message you get. If you have Upgrade media then you'll need a prior version of Windows installed. – Pimp Juice IT – 2016-08-01T19:30:58.297
@selah1936 In "C drive recovery" I encounter an error which looks like "C drive is repartitioned and there is no enough space, please insert recovery disk 1 and ...". What is the recovery disk 1 and what should I do? – Mostafa – 2016-08-02T14:14:17.073
@PIMP_JUICE_IT Yes, I want to restore Vista and then upgrade it. I can't understand your second comment, "gparted", "flag to boot", .... can you explain more as a complete answer? the error I see is what I written in the previous comment. – Mostafa – 2016-08-02T14:28:09.057
@selah1936 The error is: "your system drive is too small or may not exist. Insert recovery disk 1 and click OK to restart from media. Select the restore complete system option to perform a complete system recovery" – Mostafa – 2016-08-03T06:23:24.270
Please insert empty CD. It might work. – SolveProblem – 2016-08-03T06:28:26.650
@selah1936 what is "restart from media"? Is it the av-mode or something else? – Mostafa – 2016-08-03T07:46:37.043
@selah1936 I cannot find windows vista installat ion file in the recovery drive? Where is it? – Mostafa – 2016-08-03T07:52:16.700
I searched about your query.. and it is not possible as you don't have backup. So leave it. This is not possible. – SolveProblem – 2016-08-03T08:46:56.207
@selah1936 My laptop has an unchanged 7GB System recovery drive which is almost full and it seems it has an installed version of Vista. It seems that the recovery program dose not detect the system drive (almost 700 MB) or the system drive is really small. – Mostafa – 2016-08-03T10:23:14.340
1
Go through the link provided may be it will help you: https://community.sony.com/t5/VAIO-Upgrade-Backup-Recovery/Need-Help-to-Restore-computer-to-original-factory-settings/td-p/232813
– SolveProblem – 2016-08-03T10:51:11.810@Mostafa I was saying to use gparted and boot to it to look at the HD partitions to mark the recovery partition as active Afterwards reboot it to actually boot to that partition, and if it's the recovery partition that installs the factory reset/default Vista image to the other disk partition, etc., then that may be a way to get it to work if the Alt+F10 doesn't get it for you for whatever you are selecting from there. – Pimp Juice IT – 2016-08-05T02:46:55.200
@Mostafa You should check out Marking a partition as active with Gparted.... and ....
How to set up a Live CD or USB with GParted? for further instruction on the correlated steps. If you find that this helps you solve your problem, I will gladly put all this together in an answer for you to accept....