For actuating smoke and heat exhausting systems such as roof flaps, skylight domes, skylights, louvers, top-hung, bottom-hung and side-hung windows. The cylinders are fitted with mechanical locking in both end positions. Thus, the respective position is retained even if there is a compressed air failure. The locking can be nullified even without compressed air with a manual emergency actuation.