Here is what Ido :
First connect working NanoA to bad NanoB using the connexion scheme shown here:
http://www.instructables.com/id/How-To-Burn-a-Bootloader-to-Clone-Arduino-Nano-30/
Then I connect NanoA to the computer running the IDE on Windows10. I use the option "use Arduino as ISP" and run the board programmer sketch on NanoA from Nick Gammon"s github.
Here is what I get on the console:
Atmega chip programmer.
Written by Nick Gammon.
Version 1.37
Compiled on Nov 4 2017 at 10:24:44 with Arduino IDE 10802.
Attempting to enter ICSP programming mode ...
Entered programming mode OK.
Signature = 0x1E 0x94 0x0B
Processor = ATmega168PA
Flash memory size = 16384 bytes.
LFuse = 0xFF
HFuse = 0xDD
EFuse = 0xF8
Lock byte = 0xFF
Clock calibration = 0x91
Bootloader address = 0x3E00
Bootloader length = 512 bytes.
Type 'Q' to quit, 'V' to verify, or 'G' to program the chip with the bootloader ...
Obviously it recognized the processor. Then I type G and the console says:
Fixing low fuse setting ...
Programming mode off.
Attempting to enter ICSP programming mode ...
Entered programming mode OK.
Erasing chip ...
Writing bootloader ...
Committing page starting at 0x3E00
Committing page starting at 0x3E80
Committing page starting at 0x3F00
Committing page starting at 0x3F80
Written.
Verifying ...
No errors found.
Writing fuses ...
LFuse = 0xC6
HFuse = 0xDD
EFuse = 0xFC
Lock byte = 0xEF
Clock calibration = 0x91
Done.
Programming mode off.
Type 'C' when ready to continue with another chip ...
Then C and Q to continue and quit.