Skip to content

Instantly share code, notes, and snippets.

@rschweda
rschweda / clean-xboxlive-crendetials.md
Last active January 25, 2026 07:19
Delete all Xbox App network credentials in Windows

Why does this gist exist?

Have you asked yourself why all those XblGrts network credentials exist on your system? For unknown reasons does the Xbox App for Windows create one of those on each login and clutters the credentials management.

What does this script do?

It is a simple batch script creating a list of all stored keys having a name starting with XblGrts and deleting them.

How to run the script?

Create a .bat file with the code below and run it with admin privileges and be happy 🥳