looking for a solution for system variable deletion

shashi92

Commendable
Dec 17, 2016
3
0
1,510
i accidently deleted a system variable called windir. after that im not able to install any games or programs. I'm not able to run any softwares and also cannot open the control panel's advanced system settings option. hence i'm not able to recreate the variable also. please help. the system is having windows 7 os. how to get back to normal operation of my pc??please help.
 
Solution
Data should still be there after restore, it only fixes system files

So begin by inserting your Windows 7 disk, and boot up your computer. We’ll assume that you already have your BIOS set up boot from CD first. If not you’ll have to enter the BIOS (usually by pressing F1, F2 or DEL at start-up), and change the boot up priorities.

You should see a prompt to boot from DVD, and after you press any key the Windows 7 setup will begin. At this stage, no changes are being made to your computer so don’t worry, you’ll be given options later to choose what you want to do.

The first screen you’ll see is where you’re prompted to choose your language and keyboard layouts. Again, we’re not changing anything on your Windows installation at this...

shashi92

Commendable
Dec 17, 2016
3
0
1,510



can u please ellaborate on the above procedure ,how to do this(step-by-step)?
thank you

 

Colif

Win 11 Master
Moderator
Data should still be there after restore, it only fixes system files

So begin by inserting your Windows 7 disk, and boot up your computer. We’ll assume that you already have your BIOS set up boot from CD first. If not you’ll have to enter the BIOS (usually by pressing F1, F2 or DEL at start-up), and change the boot up priorities.

You should see a prompt to boot from DVD, and after you press any key the Windows 7 setup will begin. At this stage, no changes are being made to your computer so don’t worry, you’ll be given options later to choose what you want to do.

The first screen you’ll see is where you’re prompted to choose your language and keyboard layouts. Again, we’re not changing anything on your Windows installation at this stage, we’re only choosing this for the benefit of the setup program, so go ahead and choose your keyboard layout and click next.

The next screen is the one we need to be careful about. We don’t want to click “Install Now”, because that will start a new installation of Windows 7. We want to click on the link further down that says, “Repair your computer”.

Clicking on this will prompt the computer to search for installed operating systems. It will find our Windows 7 install, and you’ll be taken through a wizard. Click next, and choose “System Restore” from the menu. What you see now should be the same kind of dialogue boxes as you’d see if you ran system restore from your Windows desktop, except in this case, we haven’t booted into Windows so no nasty viruses or bugs can stop us from carrying out the maintenance. Follow the instructions to choose a system restore point from a day you know your computer was working correctly, and when you reboot you should hopefully find you have a working system again. If not, repeat these instructions and maybe choose a restore point that was further back in time.

http://www.ghacks.net/2011/09/10/running-system-restore-in-windows-7-from-your-windows-disk/
 
Solution