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
3. In the right pane, find a String Value named “Enable” (if you can’t find one, create it by right clicking with your mouse and choosing New->String Value)
4. Now modify/set the Value Date of the “Enable” string value to Y and click OK.
5. Exit the Registry Editor window and restart your computer for the changes to take effect.
That’s it!! You have successfully enabled the boot optimization feature in windows which automatically optimizes your disks on boot.