So, to troubleshoot this startup slowdown, all the boot files have to be brought in close proximity to one another which can be done by a simple registry tweak. The tweak is to modify the system registry settings to enable the Boot Optimization function which will automatically defragment all the boot files and rearrange them so that they are in close proximity to one another.
Follow the steps below to enable the Boot Optimization function in Windows:
1. Goto Start -> Run… and type regedit and press OK. This open the Registry Editor Window.
2. From the left pane that contains the predefined keys, navigate to system key HKEY_LOCAL_MACHINESOFTWAREMicrosoftDfrgBootOptimizeFunction
That’s it!! You have successfully enabled the boot optimization feature in windows which automatically optimizes your disks on boot.