How to fix error printing in Windows 11?