Created
April 5, 2025 16:55
-
-
Save lastlink/c841c521d950191c7bce721b448e3068 to your computer and use it in GitHub Desktop.
Reset halo infinite and master chief collection (mcc) login credentials when stuck at login
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# List all stored credentials | |
$credentials = cmdkey /list | ForEach-Object { | |
if ($_ -like "*Target:*" -and ($_ -like "*xbl|*" -or $_ -like "*xblgrts|*")) { | |
# Extract the target name and delete the credential | |
$target = ($_ -replace " ", "" -replace "Target:", "") | |
Write-Host "deleting:$target" | |
cmdkey /delete:$target | |
} | |
} | |
Write-Host "All matching credentials have been deleted." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The issue seems to be conflicting entries in credentials manager > windows credentials for halo infinite and halo master chief collection (mcc).
You can invoke this script remotely using this command in PowerShell.
You may need to enable remotely running scripts. You should be able to enable it by running this in PowerShell in administrator
Close and reopen the game and login should allow you to complete and enter game. You may have to run this script again if you switch from halo infinite to mcc.