Yes, when you reset your router to its factory settings, you will wipe the current Wi-Fi password.