I forgot to tell that I already tried all the steps mentioned in the link. BITS and Windows Update Service is already enabled. DEP is already checked. Troubleshooter is nor able to determine the issue
I found out that it may be because Service Pack 1 is not installed
I downloaded Service Pack 1 installer but when I try to install it, it says "One or more System Components that the service pack requires are missing."