The reason your PC boots slowly is already logged somewhere hidden.
If you encounter Event ID: 7043, The Windows Security Service did not shut down properly after receiving a preshutdown control in the Event Logs of your Windows ...