Add the HP printer directly by its IP address using a Standard TCP/IP port, which avoids the Windows shared-printer connection involved in many 0x0000011B cases.
Add the printer by IP address
- Find the printer’s IP address
- On the printer’s screen, open its Network, Wireless, or Wi‑Fi settings.
- Note the numerical address, such as
[IP Address]. - Confirm that the printer and HP computer are connected to the same Wi‑Fi network.
- Remove any unsuccessful installation
- Open Start → Settings → Bluetooth & devices → Printers & scanners.
- If the HP printer is already listed but does not work, select it and choose Remove.
- Add it manually
- In Printers & scanners, select Add device.
- After Windows finishes searching, select Add manually or Add a new device manually.
- Choose Add a printer using an IP address or hostname.
- Set Device type to TCP/IP Device.
- Enter the printer’s IP address and continue.
- If prompted for a port type, use Standard TCP/IP Port.
- Install the driver
- Select HP and the exact printer model.
- If the model is absent, select Windows Update, wait for the printer list to refresh, and check again.
- Finish the wizard and print a test page.
Microsoft documents manual installation when automatic discovery cannot add a wireless printer, while a closely matching Windows 11 HP case was resolved by replacing unreliable automatic discovery with a Standard TCP/IP port pointing to the printer’s current IP address.^1^ ^2^
If it still fails
- Ensure the address entered is the printer’s IP address, not the router’s address or the computer’s address.
- Do not select Select a shared printer by name, and do not enter a path such as
\\computer\printer. Those options are for a printer attached to and shared by another Windows computer. - Run Start → Get Help, search for printer troubleshooter, and run the automated checks.
- Install any updated HP driver offered through Windows Update, then remove and add the printer by IP again. Microsoft recommends the latest printer driver when installation or printing continues to fail.^3^
Only if the printer is actually shared from another computer
If the HP printer is physically connected to another Windows PC and accessed through that PC, 0x0000011B can instead involve Windows print RPC security and firewall configuration. Windows 11 uses RPC over TCP by default for communication with print servers or computers sharing printers.^4^
That does not match a printer connected directly to Wi‑Fi. Avoid registry changes such as disabling RPC authentication privacy unless the printer is confirmed to be Windows-shared; such changes reduce print security and are unnecessary for direct TCP/IP printing.
References
- [Windows 11](https://support.microsoft.com/windows/hardware/printer/add-or-install-a-printer-in-windows#install-a-network-or-wireless-printer)
- How to fix a computer offline to being ready to print - Microsoft Q&A
- [Windows 11](https://support.microsoft.com/windows/hardware/printer/fix-printer-connection-and-printing-problems-in-windows#general-troubleshooting)
- Windows 11 RPC connection updates for print - Windows Client | Microsoft Learn