A hydraulic cylinder driving apparatus configured to be installed in a working machine to drive a hydraulic cylinder, hydraulic cylinder driving apparatus comprising: the hydraulic cylinder including a piston and a cylinder body forming a cylinder chamber that accommodates the piston so as to allow the piston to be reciprocated; a hydraulic pump (31, 32) that discharges hydraulic fluid to be supplied to the cylinder chamber of the hydraulic cylinder; a cylinder control valve (37, 38) interposed between the hydraulic pump (31, 32) and the hydraulic cylinder and configured to be opened by input of a cylinder drive command to the cylinder control valve (37, 38) to change a direction and a flow rate of the hydraulic fluid supplied from the hydraulic pump (31, 32) to the hydraulic cylinder in response to the cylinder drive command; an operation member allowing a cylinder operation for moving the hydraulic cylinder to be applied to the operation member by an operator; a drive command input unit (34, 47b) that generates the cylinder drive command corresponding to the cylinder operation applied to the operation member and inputs the cylinder drive command to the cylinder control valve (37, 38); a cylinder stroke detection unit that detects a cylinder stroke that is a stroke of the hydraulic cylinder; a drive command restriction unit (42A, 42B, 50) that restricts the cylinder drive command to be input from the drive command input unit (34, 47b) to the cylinder control valve (37, 38) in response to the cylinder stroke detected by the cylinder stroke detection unit so as to stop the piston before a stroke end of the hydraulic cylinder regardless of the cylinder operation; and a restriction release judgment unit that judges whether or not a restriction release condition that is preset for releasing the restriction on the cylinder drive command is satisfied, the drive command restriction unit (42A, 42B, 50) configured to release the restriction on the cylinder drive command when the restriction release judgment unit judges that the restriction release condition is satisfied, characterized in that the restriction release condition is a condition that the number of revolutions of an engine of the hydraulic cylinder driving apparatus configured to be installed in the work machine is lower than a preset lower limit number of revolutions. the hydraulic cylinder including a piston and a cylinder body forming a cylinder chamber that accommodates the piston so as to allow the piston to be reciprocated; a hydraulic pump (31, 32) that discharges hydraulic fluid to be supplied to the cylinder chamber of the hydraulic cylinder; a cylinder control valve (37, 38) interposed between the hydraulic pump (31, 32) and the hydraulic cylinder and configured to be opened by input of a cylinder drive command to the cylinder control valve (37, 38) to change a direction and a flow rate of the hydraulic fluid supplied from the hydraulic pump (31, 32) to the hydraulic cylinder in response to the cylinder drive command; an operation member allowing a cylinder operation for moving the hydraulic cylinder to be applied to the operation member by an operator; a drive command input unit (34, 47b) that generates the cylinder drive command corresponding to the cylinder operation applied to the operation member and inputs the cylinder drive command to the cylinder control valve (37, 38); a cylinder stroke detection unit that detects a cylinder stroke that is a stroke of the hydraulic cylinder; a drive command restriction unit (42A, 42B, 50) that restricts the cylinder drive command to be input from the drive command input unit (34, 47b) to the cylinder control valve (37, 38) in response to the cylinder stroke detected by the cylinder stroke detection unit so as to stop the piston before a stroke end of the hydraulic cylinder regardless of the cylinder operation; and a restriction release judgment unit that judges whether or not a restriction release condition that is preset for releasing the restriction on the cylinder drive command is satisfied, the drive command restriction unit (42A, 42B, 50) configured to release the restriction on the cylinder drive command when the restriction release judgment unit judges that the restriction release condition is satisfied,