Windows OS Hub
  • Windows
    • Windows 11
    • Windows 10
    • Windows Server 2025
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
  • Microsoft
    • Active Directory (AD DS)
    • Group Policies (GPOs)
    • Exchange Server
    • Azure and Microsoft 365
    • Microsoft Office
  • Virtualization
    • VMware
    • Hyper-V
    • Proxmox
  • PowerShell
  • Linux
  • Home
  • About

Windows OS Hub

  • Windows
    • Windows 11
    • Windows 10
    • Windows Server 2025
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
  • Microsoft
    • Active Directory (AD DS)
    • Group Policies (GPOs)
    • Exchange Server
    • Azure and Microsoft 365
    • Microsoft Office
  • Virtualization
    • VMware
    • Hyper-V
    • Proxmox
  • PowerShell
  • Linux

 Windows OS Hub / Windows 11 / How to Share USB Scanner Over Network on Windows with NAPS2

May 24, 2024

How to Share USB Scanner Over Network on Windows with NAPS2

Most small office/home office (SOHO) multifunction printers (MFPs) don’t support network scanning. If such a scanner cannot scan to a shared SMB folder or email, you can use the NAPS2 tool to share any local USB scanner.

NAPS2 (Not Another PDF Scanner) is a popular free open-source software that scans and recognizes documents via WIA and TWAIN-compatible scanners. Starting with version 7.2.0, released in December 2023, NAPS2 allows local USB scanners to be shared over a LAN with other users.

A computer with a local USB scanner acts as a scan server to which NAPS2 clients connect over the network using eSCL (eSCL is a driverless scanning protocol).

Install NAPS2, configure a profile for a local scanner with a WIA or TWAIN driver, and click the Scanner Sharing button.

Local Scanner Sharing in NAPS

Select the local scanner you want to share and enter a name for the connection.

Share a scanner on Windows computer over LAN

The NAPS2 app must be running on the host computer (running as a Windows service in the background is not yet supported). NAPS2 runs a listener on UDP port 5353. You can use PowerShell to list the processes listening on this port:

Get-NetUDPEndpoint -LocalPort 5353 | Select-Object LocalAddress,LocalPort,OwningProcess,@{ Name="ProcessName"; Expression={((Get-Process -Id $_.OwningProcess).Name )} }

NAPS2 scanner listening UDP port 5353

UDP port 5353 and TCP 9801,9901 must be opened on the NAPS2 server. Use PowerShell to create Windows Defender firewall rules for the NAPS2 app:

New-NetFirewallRule -DisplayName NAPS2-UDP-in -Profile any -Direction Inbound -Action Allow -Protocol UDP -LocalPort 5353 -Program "C:\Program Files\NAPS2\NAPS2.exe"
New-NetFirewallRule -DisplayName NAPS2-TCP-in -Profile any -Direction Inbound -Action Allow -Protocol TCP -LocalPort 9801,9901 -Program "C:\Program Files\NAPS2\NAPS2.exe"

Then install NAPS2 on the client computer, add a new scanner, and select the ESCL driver type.

connect shared scaner over network via escl driver

The client computer will send the mDNS broadcast (UDP 224.0.0.251:5353) to discover the shared scanners on the LAN. Select the shared scanner and you are ready to scan.

Remote Scanning from lan network

The mDNS (Multicast DNS) protocol is enabled in Windows 10 1703 and higher. It is used to resolve local network names using broadcasts. Try adding the suffix .local to the hostname of the scan server to resolve its address over mDNS.

mDNS .local name resolution

The computer hostname is used to connect to the NAPS server, so if the IP address of the server host changes, this will not affect network scanning. mDNS broadcast packets are not routed between subnets, so the scan server and the client must be connected to the same LAN (VLAN).

You can connect to the NAPS2 network scanner not only from Windows devices but also from Linux clients (SANE-AirScan), Android (Mopria Scan), iOS (AirScan), and macOS (Image Capture) with ESCL protocol support.

0 comment
6
Facebook Twitter Google + Pinterest
Windows 10Windows 11
previous post
Automatic Outlook User Profile Configuration with ZeroConfigExchange
next post
Printing from Linux to a Windows Shared Printer

Related Reading

How to Allow Multiple RDP Sessions on Windows...

March 15, 2024

How to Install Remote Server Administration Tools (RSAT)...

March 17, 2024

Managing Windows Firewall Rules with PowerShell

March 11, 2024

How to Fix ‘An Operating System Wasn’t Found’...

August 24, 2023

Create a Custom Windows Image with Pre-installed Apps

February 28, 2024

Upgrading to Windows 11 on Unsupported Hardware

March 6, 2024

Fixing ‘The Network Path Was Not Found’ 0x80070035...

August 31, 2023

How to Allow Non-Admin User to Start/Stop Service...

March 15, 2024

Leave a Comment Cancel Reply

join us telegram channel https://t.me/woshub
Join WindowsHub Telegram channel to get the latest updates!

Recent Posts

  • Encrypt Any Client-Server App Traffic on Windows with Stunnel

    June 12, 2025
  • Failed to Open the Group Policy Object on a Computer

    June 2, 2025
  • Remote Desktop Printing with RD Easy Print Redirection

    June 2, 2025
  • Disable the Lock Screen Widgets in Windows 11

    May 26, 2025
  • Configuring Windows Protected Print Mode (WPP)

    May 19, 2025
  • Map a Network Drive over SSH (SSHFS) in Windows

    May 13, 2025
  • Configure NTP Time Source for Active Directory Domain

    May 6, 2025
  • Cannot Install Network Adapter Drivers on Windows Server

    April 29, 2025
  • Change BIOS from Legacy to UEFI without Reinstalling Windows

    April 21, 2025
  • How to Prefer IPv4 over IPv6 in Windows Networks

    April 9, 2025

Follow us

  • Facebook
  • Twitter
  • Telegram
Popular Posts
  • How to Allow Multiple RDP Sessions on Windows 10 and 11
  • How to Run Program without Admin Privileges and Bypass UAC Prompt
  • Fix: BSOD Error 0x0000007B (INACCESSABLE_BOOT_DEVICE) on Windows
  • Fixing ‘The Network Path Was Not Found’ 0x80070035 Error Code on Windows
  • How to Delete Old User Profiles in Windows
  • How to Install Remote Server Administration Tools (RSAT) on Windows
  • How to Backup and Copy Local Group Policy Settings to Another Computer
Footer Logo

@2014 - 2024 - Windows OS Hub. All about operating systems for sysadmins


Back To Top