An image forming apparatus comprising: acquisition means for acquiring type information about a nonvolatile storage device connected to the image forming apparatus, characterized in that the image forming apparatus further comprises: display control means (201, 206) for displaying a first setting screen (400, 450) including a plurality of display items related to an operation setting of the image forming apparatus based on reception of a user operation, wherein the display control means (201, 206) either displays or does not display based on the type information acquired by the acquisition means, on the first setting screen (400, 450), a first display item amongst the plurality of display items for shifting the first setting screen to a second setting screen for receiving a setting by a user related to deletion of data stored in the nonvolatile storage device, and storage management means for causing the setting received via the second setting screen displayed upon selection of the first display item by the user, to be stored in the nonvolatile storage device, wherein the type information includes information indicating whether the nonvolatile storage device is a semiconductor storage device or a nonvolatile storage device different from the semiconductor storage device, wherein the display control means (201, 206) is configured to not display the first display item on the first setting screen in a case where the nonvolatile storage device is a semiconductor storage device, and to display the first display item on the first setting screen in a case where the nonvolatile storage device is a nonvolatile storage device different from the semiconductor storage device, based on the type information, wherein the second setting screen includes a display item for setting whether to carry out overwrite deletion of the data. acquisition means for acquiring type information about a nonvolatile storage device connected to the image forming apparatus, characterized in that the image forming apparatus further comprises: display control means (201, 206) for displaying a first setting screen (400, 450) including a plurality of display items related to an operation setting of the image forming apparatus based on reception of a user operation, wherein the display control means (201, 206) either displays or does not display based on the type information acquired by the acquisition means, on the first setting screen (400, 450), a first display item amongst the plurality of display items for shifting the first setting screen to a second setting screen for receiving a setting by a user related to deletion of data stored in the nonvolatile storage device, and storage management means for causing the setting received via the second setting screen displayed upon selection of the first display item by the user, to be stored in the nonvolatile storage device, wherein the type information includes information indicating whether the nonvolatile storage device is a semiconductor storage device or a nonvolatile storage device different from the semiconductor storage device, wherein the display control means (201, 206) is configured to not display the first display item on the first setting screen in a case where the nonvolatile storage device is a semiconductor storage device, and to display the first display item on the first setting screen in a case where the nonvolatile storage device is a nonvolatile storage device different from the semiconductor storage device, based on the type information, wherein the second setting screen includes a display item for setting whether to carry out overwrite deletion of the data. display control means (201, 206) for displaying a first setting screen (400, 450) including a plurality of display items related to an operation setting of the image forming apparatus based on reception of a user operation, wherein the display control means (201, 206) either displays or does not display based on the type information acquired by the acquisition means, on the first setting screen (400, 450), a first display item amongst the plurality of display items for shifting the first setting screen to a second setting screen for receiving a setting by a user related to deletion of data stored in the nonvolatile storage device, and storage management means for causing the setting received via the second setting screen displayed upon selection of the first display item by the user, to be stored in the nonvolatile storage device, wherein the type information includes information indicating whether the nonvolatile storage device is a semiconductor storage device or a nonvolatile storage device different from the semiconductor storage device, wherein the display control means (201, 206) is configured to not display the first display item on the first setting screen in a case where the nonvolatile storage device is a semiconductor storage device, and to display the first display item on the first setting screen in a case where the nonvolatile storage device is a nonvolatile storage device different from the semiconductor storage device, based on the type information, wherein the second setting screen includes a display item for setting whether to carry out overwrite deletion of the data.