How to Close a Program That Is Not Responding in Windows 7
If your program isn't responding in Windows 7, try using keyboard shortcuts to close it. Press Alt + 4 to quit the browser and any programs you have open. Or, open the task manager by pressing Ctrl + Shift + Escape. This will open a window that allows you to close programs that aren't responding. Highlight the program and press "End Task" to shut it down. If these methods aren't working, you can also do a soft restart. Just press the Windows button on the keyboard, then select the arrow on the bottom right and click "Restart."
Press Alt+F4. Usually, this will quit the browser and any programs which are open. Press Ctrl+⇧ Shift+Esc. This will open Task Manager. Alternatively, press Ctrl + Alt + Delete , then click on "Start Task Manager." Click on the unresponsive program. It should become highlighted. If there are additional unresponsive programs, Ctrl + Click on the additional programs. Any action you initiate will be performed on all the highlighted items and only on the highlighted items. Click End Task. The computer will try to shut down the selected program(s). Press ⊞ Win.  Select "Restart. " Press and hold the On/Off switch until the computer powers down. This will be indicated by "power" LED going dark and the cooling fan stopping. This should only be used as a last resort because you will lose unsaved information in programs and files which are still open. Wait at least 20 seconds.  Power the computer back on.  Wait for the computer to come up. It is likely that you will receive a warning message that the computer was shut down improperly. Hit enter to clear the warning message if it has been displayed. The boot sequence will then resume. 
Press Alt+F4. Press Ctrl+⇧ Shift+Esc. Click on the unresponsive program. Click End Task. Press ⊞ Win. Select "Restart. Press and hold the On/Off switch until the computer powers down. Wait at least 20 seconds. Power the computer back on. Wait for the computer to come up. Hit enter to clear the warning message if it has been displayed. 