Set the game to "Bordered Windowed" mode via the CnCNet configuration menu. Windows 11 power saving or core affinity issues.
Use the Windowed Mode or the CnCNet launcher to avoid the game crashing when you switch windows.
Right-click the game shortcut or executable and select . Navigate to the Compatibility tab.