Hi @nikita34
Welcome to the HP Support Community. I'd be happy to assist you.
Have you tried connecting any other device and check if that asks for a password?
Restart the Wireless router and the printer.
If you have already tried restoring the network settings, you may skip this step.
Update the printer firmware
On the printer screen, go to Setup > Tools > Update the printer > Check now
Click here to know different methods of updating printer firmware.
Make sure you are selecting the right network name.
Hope this helps! Keep me posted.
Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
Click the “Kudos, Thumbs Up" on the bottom right to say “Thanks” for helping!
Have a great day!
KUMAR0307
I am an HP Employee