Windows registry

2045 views 0

In the following you can find a selection of possibly relevant entries in the Windows registry.

ThinPrint Engine:
ThinPrint Ports and ThinPrint Connection Service Ports

hkey_local_machine\system\CurrentControlSet\Control\Print\Monitors\ThinPrint Port\<port name>

Name ThinPrint Engine MMC Description Type Default value
Bandwidth Bandwidth (kbit/s (kbps)) Bandwidth used to send print data (in bit/s, bits per second) reg_dword 256000
Bandwidth­Access Client control: Bandwidth Enables the ThinPrint Client to reduce the bandwidth
0 = disabled
1 = enabled
reg_dword 0
Bandwidth­CtrlEnabled Bandwidth con­trol: Enable Enables bandwidth control
0 = disabled
1 = enabled
reg_dword 0
CConnTries Connection retries Number of attempts to establish a connection to the ThinPrint Cli­ent, Connection Service or Virtual Channel Gateway reg_dword 3
CLevel Bandwidth con­trol: Enable + Minimum print data volume Compression level
0 = no compression
5 = default compression
8 = high compression (Bandwidth con­trol enabled)
9 = best compression (Minimum print data volume enabled)
reg_dword 5
DeleteErrJobs Print job handling when ThinPrint Client doesn’t take them
1 = failed jobs will be deleted
0 = failed jobs will be left in the printer queue (Queue Manager)
reg_dword 1

— ;

Connection Ser­vice address

With ThinPrint Ports: ThinPrint Client address; with ThinPrint Connection Service Ports: Con­nection Service address reg_sz
IsCSvcPort New ThinPrint Port/New Thin­Print Connection Service Port 0 = ThinPrint Engine doesn’t print to the Connection Service
1 = ThinPrint Engine prints to the Connection Service
IsVCGPort Use Virtual Chan­nel Gateway 0 = ThinPrint Engine doesn’t print to Virtual Channel Gateways
1 = ThinPrint Engine prints to Virtual Channel Gateways
reg_dword 0
NetSend Net send service Inform the users about errors?
0 = no
1 = yes
reg_dword 1
Port TCP Port TCP port for communication to ThinPrint Clients, Virtual Channel Gateway or Connection Service reg_dword 4000
SignCert Name of certificate that signed the client certificate. Overrides global SignCert setting in hkey_lo­cal_machine\system\currentcon­trolset\control\print\moni­tors\ThinPrint Port\ reg_sz
UseEncryption Use encryption 0 = encryption disabled
1 = encryption enabled
reg_dword 0
WTSMsgBox If set to 1 and an error occurred:
A message box will be sent to the remote desktop session which started the print job.
reg_dword 1



Name AutoConnect MMC Description Type Default value
ConnectTo­Client Printer name con­tains preferably (printing via TCP/IP) Connection to client with client name or client address (use: Auto, ClientName, ClientAddress) reg_sz Auto
DisableSetting­OfDefPrinter AutoConnect has no influence AutoConnect will not set any default printer reg_dword 0
InstallOrder 1, 2: Default printer taken from

4: Disable Dynamic Printer Matrix

0 = create/connect no printer
1 = Dynamic Printer Matrix first
2 = Map Additional Printers first
3 = Dynamic Printer Matrix only
4 = Map Additional Printers only
reg_dword 1
ListenToWTS AutoConnect is started automati­cally on session logon (Auto mode) reg_dword 1
ListenToWTS­CreatCmd Command that will be launched on session logon if ListenToWTS is not 0 reg_sz tpauto­connect.exe
ListenToWTS­DeleteCmd Command that will be launched on session logoff reg_sz tpauto­connect.exe -dl
ListenToWTS­OnDisconnect At session recon­nect/disconnect Indicates whether printers will be deleted when a session goes to the disconnect state reg_dword 1
NameTrans­lationEx Dynamic Printer Matrix Content of Dynamic Printer Matrix reg_mul­ti_sz
PrinterCreate­ListEx2 Map Additional Printers Content of Map Additional Printers reg_mul­ti_sz
Protocol Transfer protocol Protocol for connections to ThinPrint Clients (use: TCPIP, VC, AUTO) reg_sz Auto
Rights­Win2000 Define printer permissions on leg­acy Windows
204 = Print (1)
205 = Manage documents (2)
206 = Print, Manage documents (3)
207 = Print, Manage documents, Manage printers (0)
208 = Print, Manage printers (4)
reg_dword 206
(formerly 3)
StoreUserSes­sionSettings Enable storing printer properties in User Settings database (bit mask)
bit 0 = default printer information
bit 1 = printer properties (dev­mode)
bit 2 = if bit 0 and/or 1 is enabled, printer properties and/or default printer information is stored to the database
bit 3 = AutoConnect will be started in user’s session/s when database was changed (will be polled every 30 seconds)
reg_dword 7
(bits 0, 1 and 2 set)
UserDriven­DefaultPrinter Default printer – give priority to the user’s choice Set to 1 if the selection of the default printer will be user driven, so AutoConnect will not interfere it reg_dword 0
AddPrinter­Connection­Timeout Cancel connection attempt (s) Timeout for the AddPrinterCon­nection in case the spooler is overwhelmed reg_dword 120 s
Auto­Remapping­Enabled Controls the automatic remapping of printers if a print server fails. By default for all sessions that use a failed print server TPAC should be called again to remap the printers.
If this value is 0 then the remap­ping will not be called.
reg_dword 1
Delete­NetworkPrinterCmd Command to delete network printers in the respective user ses­sions, before AutoConnect remaps the network printers reg_sz TPAuto­Connect -dn 1
FailToSuspici­ousTime Timeout, after which a Printer Server with Status “Fail”, will be set to Status “Suspicious” and its counter 1 step away from failed. reg_dword 600
MaxAllowed­FailedMap­pings Threshold for assigning failed status specifies how often a mapping of a network printer for any print server may fail without changing the status of the print server to “failed”. The next failing mapping will set the status then to “failed”, e.g. for default value 4 the 5th failed mapping from a print server will trigger the status change to “failed”. reg_dword 4
PrintSvcRenewInterval­InSeconds time interval for renewing working RPC connections reg_dword 30
PrintSvcMin­Reconnect­Interval­InSeconds min interval value in sec to retry RPC-connection reg_dword 5

Server roles and custom setup

Selecting a server role leads to the installation options listed below:

Server role Installation options
Remote Desktop Print Controller (= ThinPrint Engine) incl. Tracking Service, Output Gateway, Output Gateway PS, AutoConnect, Virtual Channel Gateway, Session in Ses­sion, Administration Tools (= MMC components) and Client for License Server
Print server Print Controller incl. Tracking Service, Output Gateway, AutoConnect, Admin­istration Tools and Client for License Server
Administration Tools MMC components only
Custom Setup Free choice of component

Custom installation

Here you can specifically select and install individual ThinPrint components. The following components can be selected:

  • Print Controller (= ThinPrint Engine)
  •  ThinPrint Output Gateway
  •  ThinPrint Output Gateway PS (native driver for printing to non-Windows cli­ents)
  • AutoConnect
  • Virtual Channel Gateway
  •  Session-in-Session (see ThinPrint Engine on remote desktops)
  •  Administration Tools (ThinPrint MMC component to remotely configure – from this computer – another one with ThinPrint components installed on it, can be installed on both workstations and servers)
  •  License Manager (License Server component for managing the license keys)
  •  Self Service (component for choosing printers by the users)


Previous Page
Next Page

Was this helpful?