|If the unit has been reset to factory defaults then you likely can't access it remotely because it won't have an IP address.|
Of course, I'm assuming a lot since you didn't bother to put in the model of switch you're talking about (useful information you should have included in your post)
Every Cisco switch I've worked with when reset has no IP address.
It matters not how straight the gate,
How charged with punishments the scroll,
I am the master of my fate;
I am the captain of my soul.