Posts

Showing posts from 2023

Switch between PCs with multiple monitors and a simple KVM

Image
Background I have 2 PCs and 2 displays, and a modest KVM - which only supports a single screen. Problem Switching is cumbersome Switching between the PCs used to involve: Switching the KVM, which took care of one display Using the controls on the 2nd display to switch it to a different input One display's resolution and refresh rate is limited by KVM While my displays both support  a high resolution and refresh rate, the one connected via KVM was not able to utilize these capabilities. Solution Use the NirSoft freeware ControlMyMonitor Create a batch file to switch screens (one on each PC) Use a shortcut on the Windows taskbar Assign a keyboard shortcut (e.g. CTRL+Alt+0) You can switch by: CTRL+Alt+0 plus whatever switches your KVM (which still switches the mouse and keyboard) How to I created a batch file on each PC and saved it next to controlMyMonitor.exe, which I placed under program files. Here is the contents of the batch files:   On PC1:

Hyper-V: simplify moving between physical networks with teaming

Image
Situation You use Hyper-V on a laptop, which you connect via different physical connections, switching between e.g. WiFi, and LAN. You wish to use a Bridged connection on a VM. Problem When A Hyper-V VM network adapter is configured for bridging, it is bound to a specific physical Nic. If that adapter goes off-line (as is the case when you switch between WiFi and LAN), you need to manually connect the VM to a different, available Nic. Solution add multiple Nics to the VM Configure each to be connected to a different physical Nic Ensure you check "Enable this network adapter to be part of a team" under Advanced settings for each Nic Implement a Bridge in the VM (use Server Manager) pro tip: assign any static IP etc. to the bridge, restart to bind services to the new Nic\IP Make some coffee, you earned it.