An instrument drive connector includes a housing assembly, an elongated shaft extending distally from the housing assembly, and a first drive assembly at least partially disposed within the housing assembly and the elongated shaft. The first drive assembly includes a first drive screw, a first input drive coupler non-rotatably coupled to a proximal end of the first drive screw, a first drive nut threadedly engaged with a threaded body portion of the first drive screw and longitudinally movable relative thereto in response to rotation of the first drive screw, and a locking link. The locking link includes an elongated body having a proximal end portion coupled to the first drive nut and longitudinally movable relative thereto between a proximal non-locking position and a distal locking position, and a distal end portion including a switch actuation assembly including a switch actuating arm biased towards the distal locking position.