Resources Base
Table of contents

Dynamsoft Service

This article is meant exclusively for the Service mode of Dynamic Web TWAIN.

What is Dynamsoft Service

Dynamsoft Service is the core piece of Dynamic Web TWAIN when running in Service mode. It handles the communication between hardware (scanner, webcam, etc.) and browser, manages the image buffer, and coordinates data between different modules.

If Dynamsoft Service is not installed, you might receive the error ‘The Dynamic Web TWAIN module is not installed’ when accessing an application that uses Dynamic Web TWAIN.

About Dynamsoft Service

IP and ports

The Dynamsoft Service uses localhost and 18622 18625 ports for HTTP connection and 18623 18626 ports for HTTPS connection.
These ports can be configured in the DSConfiguration.ini file located in: C:\Windows\SysWOW64\Dynamsoft\DynamsoftService(DynamsoftServicex64)\DSConfiguration.ini (Windows)

Three processes

By default, there are three Dynamsoft Service processes running which use the same file DynamsoftService.exe but initiated with different arguments.

  • The main process starts without any argument as follows:

  • Then there is a monitor process which is meant to monitor the main process and automatically start it in case it crashes. The monitor process starts like this:

    C:\Windows\SysWOW64\Dynamsoft\DynamsoftServicex64\DynamsoftService.exe -asmonitor Global\Dynamsoft_1.5.0_352325843_stop_service_event   Global\Dynamsoft_1.5.0_352325828_certcheck_event
  • The last always-running process is meant to support the SSL certificate specifically for the Firefox browser:

    "-scan" "\\.\pipe\dynamsoftscan_15.0_70056_60" "0" "Global\ss352604281_61_70056" "0" "C:\Windows\SysWOW64\Dynamsoft\DynamsoftServicex64\dwt_trial_15.0.0.0625.dll"

Note: you may find another process named ‘Dynamsoft Scanning New Module’, which is a scan module. This process will start when you access an application integrated with Dynamic Web TWAIN, and will automatically stop when you close the application.

Manipulates a physical scanner

Service mode needs to be used if you wish to use a connected physical scanner. It is this Dynamsoft Service that handles all communication between the browser client and the scanner driver. As mentioned previously, Service mode is used by default if the user is on desktop.


  • On Windows, the service runs under the Local System account
  • On macOS, the service runs under the current user account
  • On Linux, the service runs under the root account

Files and folders in the service directory

This section is for your information only. Feel free to skip it if you are not particularly interested in what is included in the service directory.

There are multiple files and folders in the service directory. Taking Windows service (located at C:\Windows\SysWOW64\Dynamsoft\DynamsoftServicex64_16) as an example, the content is as follows:

For the Service

  • \cache\ : Data cached on the disk. Check out Disk Caching.
  • \cert\ : The certificates used for SSL connection. Check out How to change the certificates.
  • \dump\ : Dump files in case the service crashes.
  • \log\ : Log files for debugging purposes.
  • \upload\ : Temporary location for image data to be uploaded by the file uploader.
  • DSConfiguration.ini : Service configuration file. Check out How to configure the service.
  • DWASManager_16000428.dll : The service manager. The name of the file may vary among different versions.
  • DynamsoftService.exe : The service.
  • DynamicSocket.dll : For socket connections.
  • service.ini : Define service name.
  • user_config.ini : User configuration file.
  • welcome.htm : The home page for the service (present when you visit



These files are named with their version number. The following uses v16.1.1 as an example.

  • Core scanning module
    • dwt_16.1.0.0728.dll
    • DSSCN2.exe
    • DSSCN2x64.exe
    • TWAINDSM.dll
    • TWAINDSMx64.dll
  • Barcode Reader Addon
    • \x64\
    • \x86\
    • dbr_7.4.0.0428.dll
    • dbrx64_7.4.0.0428.dll
  • PDF Addon
    • DynamicPdfCore_11.0.0.0428.dll
    • DynamicPdfCorex64_11.0.0.0428.dll
    • DynamicPdfR_11.0.0.0428.dll (for the PDF Rasterizer)
    • DynamicPdfRx64_11.0.0.0428.dll (for the PDF Rasterizer)
  • Webcam Addon
    • DynamicWebcam_15.0.0.0625.dll
    • DynamicWebcamx64_15.0.0.0625.dll
  • OCR Basic
    • \DynamicOCR\
    • DynamicOCR_10.0.0.0618.dll
    • DynamicOCRx64_10.0.0.0618.dll
  • OCR Professional
    • \OCRProResource\
    • DynamicOCRPro_1.2.0.0806.dll
    • DynamicOCRProx64_1.2.0.0806.dll
    • ocrp.lic
    • OCRPro.lic
  • File Uploader
    • UploadModule_1.6.0.0428.dll
  • Imaging features
    • DynamicImage.dll
    • DynamicImagex64.dll

Supporting files

  • favicon.ico : The favicon.
  • legal.txt : Legal notice.
  • libcurl.dll : The file transfer library.
  • For OpenSSL
    • libeay32.dll
    • ssleay32.dll
  • port.lock

Is this page helpful?

YesYes NoNo

In this article:

latest version

  • Latest Version
  • Version 17.0
  • Version 16.2
  • Version 16.1.1
Change +
© 2003–2021 Dynamsoft. All rights reserved.
Privacy Statement / Site Map / Home / Purchase / Support