A wireless communication device that is capable of communicating, through a wireless communication, with another wireless communication device having a first state in which the wireless communication is possible and a second state in which the wireless communication is not possible, wherein the other wireless communication device includes a function of returning from the second state to the first state after being in the second state for a predetermined period after the other wireless communication device has been shifted from the first state to the second state, the wireless communication device comprising: first determination means configured to determine whether a setting process for the other wireless communication device needs to be performed; when the first determination means determines that the setting process needs to be performed, the wireless communication device comprises: first transmission means configured to transmit a control command to the other wireless communication device through the wireless communication to instruct the other communication device to reduce the predetermined period; second transmission means configured to transmit, through the wireless communication, a control command based on setting information to be set on the other wireless communication device ; and third transmission means configured to transmit, through the wireless communication, after the second transmission means transmits the control command, a control command to instruct the other wireless communication device to return a period the other wireless device spends in the second state to the predetermined period. first determination means configured to determine whether a setting process for the other wireless communication device needs to be performed; when the first determination means determines that the setting process needs to be performed, the wireless communication device comprises: first transmission means configured to transmit a control command to the other wireless communication device through the wireless communication to instruct the other communication device to reduce the predetermined period; second transmission means configured to transmit, through the wireless communication, a control command based on setting information to be set on the other wireless communication device ; and third transmission means configured to transmit, through the wireless communication, after the second transmission means transmits the control command, a control command to instruct the other wireless communication device to return a period the other wireless device spends in the second state to the predetermined period. first transmission means configured to transmit a control command to the other wireless communication device through the wireless communication to instruct the other communication device to reduce the predetermined period; second transmission means configured to transmit, through the wireless communication, a control command based on setting information to be set on the other wireless communication device ; and third transmission means configured to transmit, through the wireless communication, after the second transmission means transmits the control command, a control command to instruct the other wireless communication device to return a period the other wireless device spends in the second state to the predetermined period. <EOS>