You need a digital kvm switch if you dont want to damage the hardware, dont buy analog ones as they are equivilent of ripping the keyboard/video/mouse out of one pc thats running and plugging it into another pc that is running. You cant control it by software, only by special keyboard key combo's or a button on the switch,