-
1
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
-
1
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
- HP Community
- Printers
- Printer Setup, Software & Drivers
- How to install software HP Deskjet 2540 All-in-one Series? n...

Create an account on the HP Community to personalize your profile and ask a question
11-06-2018 07:22 AM
I can't install the software for my HP Deskjet 2540.
I lost the CD. it isn't possible to download the software through the HP website, it says "fail". (I tried to use chrome and firefox, same problem).
What can I do to use my printer?
11-07-2018 06:13 PM
Thank you for visiting the HP community and a good day for you. I have reviewed the post and will be delighted to assist you here. Great technical competence and brilliant efforts. Kudos to you for that.
- Did you try a root-level uninstallation and reinstallation?
Let's try these steps:
- Perform a hard reset on the printer from this link:https://support.hp.com/in-en/product/hp-ink-tank-wireless-410-series/16180953/model/16180954/documen... perform steps from the section “Step 1: Reset the printer
- Then update the printer’s firmware by following instructions from this link: https://support.hp.com/bg-en/document/c02919168
- Use a USB cable to update the printer’s firmware connecting it to a computer.
Then try the root-level uninstall and reinstall from these steps:
- Uninstall the printer from "programs and features" which can be accessed by doing a right-click on the Windows button (Please have the printer Off and disconnected during uninstallation.)
- Check in device manager, if the printer is listed there, please delete it. (Right click on the Windows button to access device manager)
- Go to devices and printers, in the control panel and select any printer listed there and you will get some options on the top.
- Click on print server properties.
- You will get a popup, click on the drivers tab and delete all the HP printer drivers listed there if any.
- Delete all the instances of your printer listed in devices and printers.
- Restart the PC.
- Once the PC is on the desktop, press Win + R, it would bring a Run dialog box,
- Type %temp% in the run box and click Ok or hit the Enter button.
- It would bring up the temporary files folder. Delete the files in the folder (You might not be able to delete all the files).
- If possible, delete the printer from the registries using Regedit or using any other 3rd party application.
- Ignore the Regedit option if it cannot be done.
- Restart the PC again.
- Then download the latest full feature driver from https://support.hp.com/us-en/drivers/selfservice/hp-deskjet-2540-all-in-one-printer-series/5295960/m... and install it on the computer after selecting the correct operating system.
- Connect the printer to your computer only when the setup prompts for the printer.
- This should fix the issue.
- If the issue continues, then install the basic drivers from the same driver's page and it should work.
- You could also install the Windows Built-in drivers by following instructions from this link: http://support.hp.com/in-en/document/c01796879
- This should work for you.
Good luck and keep me posted about the developments. If this helps, please mark this as “Accepted Solution” as it will help several others with the same issue and give the post a Kudos for my efforts to help. Thank you and have a great
DavidSMP
I am an HP Employee