
1- Lets go on the desktop and take the mouse cursor at the bottom left corner and click right-button and then select "Command Prompt (Admin)". Like the image below.

2- When open the command prompt then type there (net stop wuauserv) and hit enter. After that close the command prompt page. Like the image below.

3- Open C:\Windows in My Computer and then search this folder (SoftwareDistribution) and delete it. Like the image below.

4- Now again open the Command Prompt (Admin) and type there (net start wuauserv) and hit enter. After that close the command prompt page.
5- Now take the mouse cursor at the top right corner and click on the search bar. Like the image below.

Then search and open the "Trouble Shooting" and click on (Fix problem with Windows Update) then "Next" and then click on (Try troubleshooting as administrator). After few seconds, you will see fix the error.
It is done. Now you can download anything from the App Store.