Hi,
Open the Command Prompt (as administrator), run the command Wsreset.exe, and wait for it to finish. Then, uninstall both the launcher and the Bedrock edition.
After uninstalling, install the launcher directly from the link below:
https://www.minecraft.net/en-us/download
Once installed, log in to the launcher using the account that owns Minecraft and perform the installation from within the launcher.
Let me know here if it worked or not.
Thanks.