The program does not recognize the arduino nano

They work fine when I connect arduino one, since I install the drivers (my arduino is generic)
But when connecting the arduino nano, if the computer recognizes it and says it is on the COM9 port but the program does not recognize it, it only adds ports but does not recognize the arduino nano

If I understand you correctly, you see the port in the IDE but you can't upload?

If so, further advise depends on the version of the IDE. Do you have the option to select 'old boot loader' in the processor menu? If so, try that.