If the computer turns off for a long time or it does not happen at all, then there can be many reasons. The user will be required to perform certain actions and, using the elimination method, understand what is the reason for such inappropriate PC behavior.
Power problems
When the PC does not turn off, the problem may lie in the incorrect installation of the Windows 7 operating system. Most likely, you should pay attention to the ieee1394 bus controller. To fix everything, you need to go to the "Control Panel", then to the "Device Manager" and find the section "IEEE1394 bus host controllers". Then you need to select the "Devices" icon, click on "Properties" and "Power Management". In this section, you will need to check the box "Allow to turn off this device". After following the above steps, the issue will be successfully resolved.
Lost BIOS settings
If the problem did not lie in the operating system, then most likely it lies in the fact that the BIOS prohibits turning off the power by software. You will need to go into it by pressing the F2 or Del key during boot and check it. To do this, you need to go to the Boot menu in the BIOS, in which you should select the "ACPI 2.0 support parameter values" and be sure to "ACPI APIC support". They need to be turned on. Then the PC will shutdown normally.
Problems with closing programs
Often, the computer may not turn off due to the fact that this or that program cannot finish its work in any way. In this case, the message "Wait Windows will close …" should appear, but often this does not happen, since the OS is in a hurry to extinguish the screen before that. The user will need to check which programs are running at shutdown. You should also try to forcefully close all programs through the task manager. You can try to calculate a careless program by the elimination method. It is important to know that often the PC does not turn off due to the fact that the device driver does not match its brand. Alternatively, the brand of the video card may be confused, here you just need to check the compliance of the drivers and download the latest versions that will match the existing devices.
Virus
Sometimes the PC won't shutdown due to viruses. You just need to check it for their presence. Often the anti-virus system installed on the computer does not find anything, in this case it is recommended to download one or two utilities and check the PC with them. You can download the AVZ4 utility or Doctor Web. As a rule, they find several malicious programs and neutralize them. Then the computer will shutdown normally.