Please note that this is Czech Q&A Forum, any threads should be posted in Czech. However, I will still provide an answer in English based on your initial response.
Hi @Chromisek
Since the sign-in window crashes in the Minecraft Launcher, Xbox app, and Microsoft Store, this points to a damaged Windows authentication component rather than an individual app.
First, open Windows Terminal or PowerShell as Administrator and re-register the personal Microsoft account sign-in package:
if (-not (Get-AppxPackage Microsoft.Windows.CloudExperienceHost)) {
Add-AppxPackage -Register "$env:windir\SystemApps\Microsoft.Windows.CloudExperienceHost_cw5n1h2txyewy\AppxManifest.xml" -DisableDevelopmentMode -ForceApplicationShutdown
}
Get-AppxPackage Microsoft.Windows.CloudExperienceHost
Then restart the Token Broker service from an elevated Command Prompt:
net stop TokenBroker
net start TokenBroker
Restart Windows and test the Store sign-in first.
If the window still closes immediately, test from a newly created local Windows user account. If sign-in works there, the original Windows profile is likely corrupted.
If it fails in the new profile as well, use Settings > System > Recovery > Fix problems using Windows Update > Reinstall now. This reinstalls the current Windows version and repairs system components while preserving installed apps, files, and settings, so it is not a clean installation.
I hope this helps, please feel free to give me an update