a non - transitory computer readable medium storing a program causing a computer to execute a process , the process including : selecting in a case where an error occurs in communication between a communication device and a communication target device , a setting item to be changed in order to handle the occurred error by referring to information in which a type of an error is previously correlated with a setting item to be changed ; acquiring a setting value of another communication device regarding the selected setting item ; and determining a setting value of the communication device based on the acquired setting value of the other communication device .