If you are having issues with your computer and it is not shutting down properly, there are a number of different reasons why this situation could have occured.
Here are some of the things that could be causing this, such as a program constantly running in the background that hangs (a typical resource hog), insufficient RAM that takes a long time to dump, 3rd party anti-virus program (this can be a big problem if you have two Antivirus programs installed), scheduled maintenance programs that run at shut down (i.e. back-up) and of course system problems in general, often caused by adware, spyware and viruses.
Here Are a Few Things You Can Try
Run Windows Update. To do this just click the Windows icon in the lower-left corner of the task bar screen and select the settings cog. Select Update & Security and run Windows Update, which may fix the problem.
If the slow-shut down issue is not resolved, try the following steps
Right Click the Windows icon in the lower-left corner of the task bar. Select Settings and then Troubleshoot. Under ‘Get up and running‘ select ‘Windows Update‘ and then Run the Troubleshooter. If there were any shutdown issues they should now be fixed. Close the window, restart your PC and check if the shutdown problem is gone.
If the issue is still not resolved, try resetting your PC.
Caution: Read what will happen during reset very carefully. In fact, you may want to have pen and paper handy to write down those Applications and/or Programs that may not be retained after a Reset. These will either have to be downloaded or re-installed from a DVD.
To carry on with the resetting of your PC just click the Windows icon in the lower-left corner of the task bar screen and select the settings cog. Select Update & Security and click on Recovery and under Reset this PC click the Get started button.
If the slow-shut down issue is still not resolved, try the following steps.
Try Running MSCONFIG.
If you do not feel confident that you can perform the tasks shown below then I suggest you seek some professional assistance. However, if you do go ahead, this step may take quite some time so try to be patient.
The good thing about using MSCONFIG to sort out your shutdown problems is that no Apps or Programs will be removed during the process.
Right Click the Windows icon in the lower-left corner of the task bar and select Run. In the resulting box type msconfig and then OK. When you see the System Configuration panel click on the Services tab.
Click on the box Hide all Microsoft services. Now uncheck all the 3rd party programs that you personally installed such as an AV program. Do not uncheck Intel, NVIDIA or AMD services. Now click OK and finally Restart.
Now shut down your PC to see how long it takes.
If your PC now shuts down faster, then you must follow the same procedure as above and turn all the services that were turned off back on. With Hide all Microsoft services checked continue to repeat the process of “on/off” for each 3rd party service (one by one) until you duplicate the slow shut down problem thereby identifying the offending program, which can then be deleted and perhaps reinstalled .
The slow-shut down issue should now finally be resolved.