This issue can be caused by corrupted system files. Before trying any repairs, back up your important data to an external drive or USB flash drive, in rare cases, repair attempts can make the system unusable. After you’ve backed up, repair Windows by performing an in-place upgrade (installing the same Windows version). This reinstalls Windows, repairs system files and components, and preserves your apps, files, and settings. Follow the instructions provided by Microsoft at the link below:https://support.microsoft.com/en-us/windows/deployment/install-upgrade/fix-issues-by-reinstalling-the-current-version-of-windows
Let me know if the issue persists or if you run into any problems during the process.