Hey there! @Fateen_Shareef, Thanks for stopping by HP forums!
I understand when you are trying to connect to the printer wirelessly it is asking for the password.
Don't worry I'll try to help you out.
Did you make any changes to the printer?
Please provide the operating system you are running on your PC to assist you better.
For Windows try the steps recommended below.
In Windows, search for view network connections, and select View network connections from the search results.
The Network Connections window opens.
Right-click the network name, then click Status.
The Wi-Fi Status or Wireless Network Connection Status window opens.
Click Wireless Properties.
Click the Security tab, then click the Show characters check box to see the wireless network password.
If the Show characters check box is unavailable and cannot be clicked, go to the next step.
Refer this article to know more information about how to find Wireless WEP, WPA, WPA2 password on your printer.
Also, refer this article to know more information about how to find Wireless WEP, WPA, WPA2 password on your MAC PC.
I'll keep an eye out for your response.
I hope you have a great day! 🙂
A4Apollo
I am an HP Employee