Guidelines
We have new content about printers, Click here to check it out!
Check some of the most frequent questions about Instant Ink: HP INSTANT INK, HP+ PLANS: INK AND TONER.


Check out our WINDOWS 11 Support Center info about: OPTIMIZATION, KNOWN ISSUES, FAQs AND MORE.
HP Recommended
HP Deskjet 2540 All-in-One Printer
Microsoft Windows 11

Hi, I have an HP Deskjet 2540 printer connected with USB cable, which probably, after some Windows 11 update, doesn't work anymore.
Among other things on my Lenovo Ideapad 3 notebook, in the settings, it tells me that the printer is inactive and it is impossible to set it as default.
I have tried the various suggestions from the HP site. I also installed the HP Scan Doctor software, which made me download the full software again. So I uninstalled the old software and reinstalled the new one, but in the end the problem remained. In addition, the HP Scan Doctor, when he diagnoses the scanner, reports me a driver error.
I don't know what to do anymore.
Do you have any suggestions.
Thank you

1 ACCEPTED SOLUTION

Accepted Solutions
HP Recommended

I would suggest you try the Windows built-in drivers. Follow the steps below:

 

•    Go to Control Panel - Devices and Printers - Click on "Add printer" and follow the on-screen instructions.

•    When the page prompts for the drivers, select "Windows update". The driver list will be updated.

•    Click HP, Hewlett Packard, or Hewlett-Packard in the Manufacturer pane, and then click the name of your printer in the Printers pane.

 

Refer to this document HP Printers - Installing and Using the Windows Built-in Print Driver for help.

 

Give us some reinforcement by clicking the Accepted Solution button, that'll help us and others see that we've got the answers and did reply to you!

 

Thanks!

 

Have a great day!


I am an HP Employee

View solution in original post

5 REPLIES 5
HP Recommended

@Catia1

 

Welcome to the HP Support Community.

 

Let's try to do a root uninstall and reinstall of the software:

 

Unplug any USB cable, if any, before doing this.

 

1.) In Windows, search for and open Programs and features

2.) Select your HP Printer

3.) Select Uninstall

4.) In Windows, search for and open Devices and printers

5.) In the Devices and Printers windows look for your HP printer. If you see it listed right-click on it and choose 'Delete' or 'Remove Device'

6.) Open up the run command with the "Windows key + R" key combo.

7.) Type printui.exe /s and click Ok. (Note: there is a space in between “printui.exe” and “/s”)

8.) Click on the "Drivers" tab

9.) Look for HP Printer driver. If you see it Click on it and click Remove at the bottom

10.) Select Ok

11.) Select Apply and Ok on the Print Server Properties windows

12.) Close Devices and Printers

13.) Open up the run command with the "Windows key + R" key combo

14.) Type c:/programdata and click Ok. Go to Hewlett Packard folder, remove any printer related folders & files.

15.) Restart the computer.

 

Once done, please download and install the software from here:

https://support.hp.com/in-en/drivers

 

Let me know if this helps.

 

If the information I've provided was helpful, give us some reinforcement by clicking the Accepted Solution button, that'll help us and others see that we've got the answers!

 

Thanks!

 

Have a great day!


I am an HP Employee

HP Recommended

I tried to follow all the steps provided, I specify that: at point 5 my printer was not present, at point 9 there was no HP driver, at point 14 the Hewlett Packard folder was empty, so for safety I completely deleted the folder in question and then I also deleted another folder named HP. I tried to install the software from the HP website again, but the problem persists.
I await further instructions,
Thank you
Greetings
Catia

HP Recommended

I would suggest you try the Windows built-in drivers. Follow the steps below:

 

•    Go to Control Panel - Devices and Printers - Click on "Add printer" and follow the on-screen instructions.

•    When the page prompts for the drivers, select "Windows update". The driver list will be updated.

•    Click HP, Hewlett Packard, or Hewlett-Packard in the Manufacturer pane, and then click the name of your printer in the Printers pane.

 

Refer to this document HP Printers - Installing and Using the Windows Built-in Print Driver for help.

 

Give us some reinforcement by clicking the Accepted Solution button, that'll help us and others see that we've got the answers and did reply to you!

 

Thanks!

 

Have a great day!


I am an HP Employee

HP Recommended

Thank you so much!

I have now managed to get the printer working.

HP Recommended

I'm glad to hear that and you're most welcome. Do get back to us in the future for further assistance.

 

Have a nice day and stay safe!:)


I am an HP Employee

† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.