Microsoft has fixed a Windows 11 bug that allowed a system file to consume hundreds of gigabytes of storage without warning.