Windows OS Hub
  • Windows Server
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
    • Windows Server 2012 R2
    • Windows Server 2012
    • Windows Server 2008 R2
    • SCCM
  • Active Directory
    • Active Directory Domain Services (AD DS)
    • Group Policies
  • Windows Clients
    • Windows 11
    • Windows 10
    • Windows 8
    • Windows 7
    • Windows XP
    • MS Office
    • Outlook
  • Virtualization
    • VMWare
    • Hyper-V
    • KVM
  • PowerShell
  • Exchange
  • Cloud
    • Azure
    • Microsoft 365
    • Office 365
  • Linux
    • CentOS
    • RHEL
    • Ubuntu
  • Home
  • About

Windows OS Hub

  • Windows Server
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
    • Windows Server 2012 R2
    • Windows Server 2012
    • Windows Server 2008 R2
    • SCCM
  • Active Directory
    • Active Directory Domain Services (AD DS)
    • Group Policies
  • Windows Clients
    • Windows 11
    • Windows 10
    • Windows 8
    • Windows 7
    • Windows XP
    • MS Office
    • Outlook
  • Virtualization
    • VMWare
    • Hyper-V
    • KVM
  • PowerShell
  • Exchange
  • Cloud
    • Azure
    • Microsoft 365
    • Office 365
  • Linux
    • CentOS
    • RHEL
    • Ubuntu

 Windows OS Hub / Windows Server 2012 R2 / Configuring Distributed Scan Server on Windows Server 2012 R2

May 8, 2019 Windows Server 2012 R2

Configuring Distributed Scan Server on Windows Server 2012 R2

Network scanning is one of the services that is rarely managed centrally even in large infrastructures. In Windows Server 2008 R2 or higher there is a separate role of distributed network scanning (Distributed Scan Server — DSM) that enables to simplify document workflow and processing of scanned documents in the Active Directory domain. In this article we’ll look on how to configure the distributed network scanning service on Windows Server 2012 R2.

The Distributed Scan Server is a separate service of the Print and Document Service role that allows you to receive scanned documents from the network scanners and saving them to the specific network shared folders on the file servers and SharePoint sites or sending them to certain recipients via SMTP according to the configured policies.

The distributed network scanning allows to organize a single point to manage network scanners supporting WSD — Web Services on Devices (TCP/IP or local USB scanners are not supported as scanning devices). As a rule, network scanners with WSD support are large enterprise-level devices.

To install the network scanning service, select Print and Document Service role. Then select Print Server and Distributed Scan Server services in it.

install Distributed Scan Server role

You can also install this role using this PowerShell command:

Install-WindowsFeature -Name Print-Scan-Server -IncludeAllSubFeature

Install-WindowsFeature -Name Print-Scan-Server

As you can see, you must restart the server.

After the role has been installed, a new scanning service appears in the system — Distributed Scan Server service (ScanServer): C:\Windows\System32\svchost.exe -k WSDScanServer.

To manage Distributed Scan Server, a separate mmc snap-in is used: Scan Management — ScanManagement.msc, which manages network scanners, settings and scanning tasks.

Scan Management mmc snap-in

Run the Scan Management snap-in. As you can see, there are three sections:

  • Managed Scanners;
  • Scan Processes;
  • Scan Servers.

First of all, you must configure your scan server. To do it, right-click Scan Servers section and select Configure local scan server.

Configure local scan server

In the configuration wizard, specify the account under which the scan server will run (this account is used to access local and shared folders on other servers) By default, the LocalSystem account is used, however, it is recommended to create a separate service account for convenient access management in your AD domain and specify it here.

specify service account to run scan server

Then you must specify the location and maximum size of user temporary folders for scanned documents.

DSM scan temporary folder limit per user

After that specify your email server address and an SSL certificate for network traffic encryption (a self-signed SSL certificate is suitable for test environment).

select Distributed Scan Server SSL certificate

Then select the type of user authentication. You can enable user authentication (using Kerberos or client certificates) or disable it (anonymous access to the scan server).

scan server configuration - authentication settings

If you enable the authentication, make sure that you are a member of Scan Operators local group and you are allowed writing to a computer object of your server in the AD.

local group Scan Operators

If during scan server configuration the following error appears:
Scan Server Configuration Wizard failed to apply setting, error code 0x800706fc, make sure that you have specified the account under which the distributed scan service is running (with sufficient privileges), the path to the default scan folder and have granted the write privilege for the folder to this account.

Scan Server Configuration Wizard failed to apply setting, error code 0x800706fc

Now you need to add your scan server to the console. To do it, right-click the Scan Servers, select Add a Scan server and enter the name of your server. If you are using a self-signed certificate, the name of the server must match its name in the certificate, but it must be typed UPPERCASE (strange…). You must also add the self-signed certificate to the trusted root certificates, or errors will appear when trying to add the server:

Windows failed to contact the scan server you specified. This can be caused when the server name you specified odes not match the name in the server certificate. If the server name from the certificate matches the server you want to connect to and you trust the network you are on, click Retry to restart the search with the certificate name.

and

The following devices could not be accessed because they are offline, there is a network issue, the names are incorrect, or the certificate needed to contact the device has not been selected: tor-scandsm1.

In order your scan server can find printers and scanners supporting Web Services on Devices (WSD) in your network, do the following:

  1. Turn on network discovery;
  2. Run the Device Association Service.

Turn on network discovery

Now you can add the network scanners. Right-click Managed Scanners and select Manage. Specify the IP address or a DNS name of a network scanner. WSD support (Microsoft Services for Devices or Web Services Print) must be enabled in the scanner settings.

add network scanner device

Now you can create a new scan process – PSP. Select Scan Processes -> Add a Scan Process.

Add a Scan Process

Specify the name and description of the scan process, select scanning settings and specify the name of the Distributed Scan server.

Then enter the document prefix and select where it will be saved. It can be one or more network shares (UNC paths are used), URLs on the SharePoint site or email addresses.

create scan process task - PSP

In the last step, you need to select users and the groups allowed to access this PSP and configure the access permissions.

Now we still have AD integration to be configured on the network scanners side (depends on the vendor). Users may use a password or a smartcard to authenticate on the scanners.

DSM operation scheme is shown below.

ditributed scan management service on windows server 2012 r2

After a user has authenticated on the scanner, they can select a suitable PSP available for their accounts (according to their privileges). PSPs are stored in the Active Directory, and contain the rules with scan settings and document routing. The network scanner scans a document and sends it to the server for processing. The Distributed Scan Server processes the task and send the scanned document along the route specified in the PSP job.

Scan and task processing logs are located on the DSM server, and you can check the information on the completed tasks any time.

0 comment
0
Facebook Twitter Google + Pinterest
previous post
LAPS: Manage Local Administrator Passwords on a Domain Computers
next post
Windows Server Licensing for Virtual Environments

Related Reading

Fix: Remote Desktop Services Is Currently Busy

March 15, 2023

How to Install .NET Framework 3.5 on Windows...

December 12, 2022

Migrating RDS Roles (Connection Broker, Web Access) to...

September 9, 2022

PowerShell Install-Module Error: Unable to Download from URI

April 21, 2022

Configuring Always-On High Availability Groups on SQL Server

December 2, 2021

Leave a Comment Cancel Reply

Categories

  • Active Directory
  • Group Policies
  • Exchange Server
  • Microsoft 365
  • Azure
  • Windows 11
  • Windows 10
  • Windows Server 2022
  • Windows Server 2019
  • Windows Server 2016
  • PowerShell
  • VMWare
  • Hyper-V
  • Linux
  • MS Office

Recent Posts

  • How to Run Program without Admin Privileges and Bypass UAC Prompt?

    March 24, 2023
  • Configure Network Settings on Windows with PowerShell: IP Address, DNS, Default Gateway, Static Routes

    March 24, 2023
  • Exchange Offline Address Book Not Updating in Outlook

    March 21, 2023
  • Attaching Host USB Devices to WSL or Hyper-V VM

    March 20, 2023
  • Sending an E-mail to a Microsoft Teams Channel

    March 17, 2023
  • How to Restore Deleted Users in Azure AD (Microsoft 365)?

    March 16, 2023
  • Fix: Remote Desktop Services Is Currently Busy

    March 15, 2023
  • Send-MailMessage: Sending E-mails with PowerShell

    March 14, 2023
  • Clear Cache and Temp Files in User Profiles on Windows (RDS) with PowerShell and GPO

    March 13, 2023
  • Prevent Users from Creating New Groups in Microsoft 365 (Teams/Outlook)

    March 6, 2023

Follow us

woshub.com
  • Facebook
  • Twitter
  • RSS
Popular Posts
  • How to Downgrade Windows Server Datacenter to Standard Edition?
  • Licensing Mode for Remote Desktop Session Host is not Configured
  • Allow RDP Access to Domain Controller for Non-admin Users
  • Managing Printers and Drivers with PowerShell in Windows 10 / Server 2016
  • Managing Printers from the Command Prompt in Windows 10 / 8.1
  • Fix: RDP Authentication Error Has Occurred – The Function Requested Is Not Supported
  • How to Reduce Windows.edb Huge File Size?
Footer Logo

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


Back To Top