The IOgear KVM switch you have did not pass correct EDID/DDC to the connected systems or did not maintain the monitors' EDID/DDC communication to the connected Windows 7 systems.
To solve the problems, you can either one of the following:
1) Add video EDID Emulator between the KVM switch and connected system,
2) Find new KVM switch support Full-time DDC/EDID communication.