Hi Ahmad,
Thank You for the update on the issue. The KB3048778 is not the error code, it is the Knowledge Base ID of the update in Windows 8.1 that you are trying to install.
This issue may arise when there are issues with the Windows update components. Try the following methods to fix the issue.
Method 1: Run the Windows Update Troubleshooter
Try to run the Windows update troubleshooter, it will detect and resolve the most common issues with the Windows updates. To do so, follow the link below. You may also follow some other common solutions on the same articles.
https://support.microsoft.com/en-us/gp/windows-update-issues
Method 2: Reset Windows Update components
If the issue is with the Windows update components, this method will resolve the issue by repairing all the components associated with it. Click on the link below and follow the article on the same.
How do I reset Windows Update Components?
https://support.microsoft.com/en-us/kb/971058
To do so: Important this section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
*How to back up and restore the registry in Windows*
Method 3: Clean Boot
A clean boot is performed to start Windows by using a minimal set of drivers and startup programs. This helps eliminate software conflicts that occur when you install a program or an update or when you run a program in Windows. To know more, follow the article below:
http://support.microsoft.com/kb/929135
Note: After troubleshooting, refer to this section ‘How to reset the computer to start normally after clean boot troubleshooting’.
Let us know the results once you have tried these steps.
Thank You