Frequently, programs that don't close correctly can conflict and lock up the system. First, start by uninstalling any programs that you don't need. They could be causing the glitches. Next, eliminate any unnecessary, or infectefd files from the machine. If you haven't already, run a good malware tool such as Malwarebytes. Next, shut down any unnecessary programs that are running in the background.. The link below from the Newbies "Tips" thread might help. Although it was originally written for earlier versions of Windows, then basic idea of UNCHECKING unneeded items in the System Configuration Utility and in "Services" should help the computer run smoother and shut down better.:
In addition, although you don't mention which make and model the computer is, you might try checking the computer manufacturer's website for updated drivers for the various hardware on your computer. It will frequently help such things.
And last, please run Chkdsk using the instructions in the link below.. Frequently, fixing some of the minor issues with the hard drive will help the computer shut down easier.
Hope this helps.
i guess there is some problem with my Windows 7 home premium version , if i keep my laptop on for 6-7 hours and then shut-down the system it wont shut down and it will continue to show the shutting down screen but if i shut down after 2-3 hours of use ..it shuts down very well.... cant figure out what's wrong with the the system???