Hii,
Open the command prompt (administrator) and run the commands: sfc /scannow and dism /online /cleanup-image /restorehealth. Wait for the process to complete and restart your computer.
Install the Minecraft Launcher, Minecraft Java, and Minecraft Bedrock.
Try installing Minecraft using the method below.
Java Update
- Download the latest version of Java (x86 and x64) using the link below.
https://www.java.com/pt-br/download/manual.jsp
- Install the Minecraft Launcher from the link. Install Minecraft Java or Bedrock:
Bedrock: https://launcher.mojang.com/download/MinecraftInstaller.exe?ref=mcnet
And
Download Minecraft Legacy from the link below: https://aka.ms/minecraftClientWindows
- After installation, log in with your Microsoft account to test.
Note: This site is not a Microsoft site. This page appears to provide accurate and safe information. Be wary of ads on websites that may promote products often classified as PUPs (Potentially Unwanted Programs). Carefully investigate all products advertised on the site before deciding to download and install them.
Thanks