In this post, you’re free to find several efficient methods to deal with it.
Now follow the instructions below to run Windows Update Troubleshooter.
Step 1: Press theWin + Ikeys at the same time to openSettings.

Step 2: SelectUpdate & Securityand then go to theTroubleshoottab.
Step 3: ClickWindows Updateunder theGet up and runningsection in the right panel and then clickRun the troubleshooter.
Related post:8 Useful Fixes for an Error Occurred While Troubleshooting!

Therefore, you oughta check the Date and Time prefs.
Here is the way to do that:
Step 1: OpenControl Paneland then setView by: Category.
Step 2: ChooseClock and Region, then clickDate and Time.

Step 3: Go to theInternet Timetab, then clickChange options….
Step 4: Check the box next toSynchronize with an Internet time serverand then clickUpdate now.
Step 5: kickstart your machine to test whether the Date and Time are set correctly.
If it is, then refresh your system again to find out if the 0x80244022 error still appears.
Here is the tutorial:
Step 1: Typecmdin theSearchbox and then right-clickCommand Promptto chooseRun as administrator.
Step 2: TypeDISM.exe /Online /Cleanup-image /Restorehealthin the window, then pressEnter.
Wait for the process to complete.
Step 3: Typesfc /scannowin the windows and then pressEnter.
Wait for the process to finish.
Step 4: start your machine to test whether the error is fixed.
Then, typeinetcpl.cpland clickOK.
Step 2: Go to theConnectionstab and click theLAN settingsbutton.
Step 3: Uncheck the box next toUse a proxy server for your LANand then clickOKto save changes.