Hi,
I suggest temporarily disabling or uninstalling any third-party antivirus software to avoid conflicts. Then reinstall the Windows Store and try again.
Uninstalling and reinstalling the Windows Store.
Press Windows Key + X and choose Windows PowerShell (Admin). Copy and paste the command below and hit Enter.
Get-AppxPackage -Name "Microsoft.WindowsStore" | Remove-AppxPackage
Note: Please complete the process before proceeding.
After that, reinstall the Windows Store.
Press Windows Key + X and choose Windows PowerShell (Admin). Copy and paste the command below, then hit Enter.
Get-AppxPackage -allusers Microsoft.WindowsStore | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
Wait 2 minutes, then reboot your computer and try again.