I have figured out the solution for this.
Intel Rapid Storage technology was causing the bad performance for me.
The problem seems to be the Link Power Management. If enabled, it causes extra delays for many disk operations. I got my normal performance back!
Start Intel Rapid control center, go to performance tab and disable the link power managemet and you are done.
If you use
Firefox, go to options and under the general section scroll down to the performance header. Hardware acceleration should be turned on. By default the content process limit is 4. Change it to 7.
Open up
Resource Monitor and identify the programs in the Disk section that are using most of the disk usage. To open up Resource Monitor, open Start then Run and type in resmon. You can open up Run by using Windows Key + R or by clicking Run on the Start Menu. You can also search for Resource Monitor in the Start Menu. Click the total heading to order by column.
Once you have identified which programs you think are slowing down your computer from the file name in the Image column, navigate to those .exe files. Right click them then go to properties.
You then want to tick the checkbox under the Compatiblity tab to run the program as administrator
Give the Users the group full control permissions for the file under the Security tab.
If the program you are using, uses other exe files to function, you want to repeat them same process for those files too.
Also repeat the process for programs which inject themselves into .explorer.exe such as start menu replacements.
Using mouse gestures like using two fingers to scroll can also cause your computer to become slow or freeze. If you use a windows laptop, the chances are that you have
Synaptics mouse driver installed, so go to
C:\Program Files\Synaptics\SynTP
and repeat the same process for every exe file in that folder.
Also repeat the same process for the exe files that your security software uses.
You should see changes in your computer's speed and disk usage instantly or soon. If not, then your computer needs to launch your security again from the beginning, so restart your computer and you should notice the changes then.