Windows Update may fail with error code 0x800f0247, if there is system file corruption or registry error.

How to rectify Windows Update Error 0x800f0247?

Run Windows Update Troubleshooting tool to rectify this issue.

Windows Update Troubleshooting Guides and Tools