Patent ID: 8326161

Claim:
An image forming apparatus configured to be operable in a service mode for performing a work related to maintenance and a normal mode for processing an input job, the image forming apparatus comprising at least a processor, functioning as: a receiving unit configured to receive an operation to shift to the service mode and an operation to exit the service mode; an input unit configured to input an instruction for the work related to maintenance in the shifted service mode in response to the receiving unit receiving the operation to shift to the service mode; and a generation unit configured to generate authentication information to be used for confirmation processing of the work related to maintenance, wherein when the image forming apparatus exits the service mode in response to the receiving unit receiving the operation to exit the service mode before the work related maintenance ends, processing of the job is performed if authentication based on the authentication information generated by the generation unit is successful, and wherein when the receiving unit receives the operation to exit the service mode after the work related to maintenance ends, the image forming apparatus shifts to the normal mode.