If you are already logged into Windows and are having problems with Windows 7 hanging while opening programs or clicking on dialog boxes or right-clicking, etc, then you should try the following procedures. Usually this means there is some software installed on the computer that is causing problems with other aspects of Windows. It could be an anti-virus software or just a normal program you downloaded off the Internet. Either way, the best way to see if this is really the issue is to perform a clean boot.
Step 1: Log into Windows 7 with Administrator rights, click on the Start button and type in MSCONFIG in the search box.
Step 2: Click on the General tab and and choose Selective Startup. Make sure to uncheck the box that says “Load Startup Items“.
Now click on the Services tab and check the box that says “Hide all Microsoft services“. Then click on the Disable All button.
Click OK and then restart your computer. If you find that Windows is not hanging anymore, then you can be 100% sure that it’s a problem with a third-party program or service. There is no easy way to determine which startup item or which service is causing the problem. You basically have to manually figure it out by re-enabling half the startup items and then restarting. If the problem comes back, you know that the problem item is in that list of checked items. Then you check half of those and restart again. You would have to do the same procedure with the services if it’s not a startup item causing the problem. Eventually, you will only have one item checked and that will be causing the hanging.
Once you know what program it is, go ahead and uninstall it. Uninstalling the program will also disable any services associated with that program. Then you can go back to the MSCONFIG utility and choose Normal Startup.