When restoring an iPhone in iTunes, you do not need to be logged into iTunes as the user for the account on that device. However, you do need to have access to the computer and the iTunes account that is associated with the device.
If iTunes ask for the passcode and the passcode is not known, you will need to put the device into Recovery Mode and restore it using iTunes. To do this, connect the device to the computer, then press and hold the Home button and the Power button at the same time until the device turns off. Keep holding the Home button while you connect the device to iTunes. When you see the "Connect to iTunes" screen on the device, release the Home button. iTunes should then prompt you to restore the device.
The "Done" button at the bottom right of iTunes during the restore process is simply a way to dismiss the progress bar and return to the main iTunes window. You can safely click this button once the restore has started without interrupting the restore process.
Edited by kencarter77, 13 March 2023 - 06:59 AM.