Hi,
There may be missing system files or assemblies causing this issue. One solution is to perform a repair installation of Windows 10. This process will preserve your files and applications, but it is still strongly recommended that you back up your important data beforehand. Please refer to the guidelines in the article below and follow the instructions carefully.
If you need additional assistance, please let me know.
Stay Safe!
Disclaimer: There are links to non-Microsoft websites. The pages appear to provide accurate and secure information. Watch out for ads on websites that may advertise products that are often classified as PUPs (Potentially Unwanted Products). Thoroughly research any product advertised on websites before deciding to download and install it.