Fn keys not working in Microsoft ergonomic keyboard behind KVM switch

You need to press 'F lock' key at the left of function keys to enable them