pc micro systems
 


Home
Information
Download
Order License
User's Guide
Support
About Us
 



hot deals


Configuring TCP-Com to run as a Windows Service


TCP-Com can be installed to run as a Windows service under Windows 2000 or later. This allows TCP-Com to load and activate itself automatically when Windows first boots up - before any users log onto the system. Users can log on and off the system and TCP-Com will remain running in the background the entire time. The steps for installing TCP-Com as a Service are as follows:

Step 1:
Run TCP-Com and configure it to work the way that you want and activate all connections in all TCP-Com session windows.

Step 2: (Optional)
If you want TCP-Com to automatically minimize itself when it loads as a service, then minimize TCP-Com and then right click on the TCP-Com icon that appears in the Windows System Tray and select "Exit TCP-Com" from the popup menu that appears.

Step 3:
If you did not minimize TCP-Com as in Step 2 above, then select "Exit" from the TCP-Com File menu. When you exit TCP-Com, it saves its current configuration settings to a file named DEFAULT.T2C located in the same file folder where TCPCom.Exe is installed. This file is read in by TCP-Com when it loads into memory and is used to configure TCP-Com using the settings that were in effect the last time that TCP-Com was run. Because this file is not created until you exit TCP-Com, it is important that you exit TCP-Com with all its connections activated before installing it as a service.

Step 4:
To install TCP-Com as a service, you need to run TCP-Com with a special -I or -IH switch on the command line. To do this, you would select "Run…" from the Windows Start menu and then enter the complete file path to TCPCom.exe in quotes, followed by either -I or -IH. If you specify -I then TCP-Com will be installed as a service and it will allow the user that is currently logged onto the system to interact with it. If you specify the -IH command line switch, then TCP-Com will be hidden from any user that is logged on. For example, the following command should install TCP-Com as a hidden service:
"C:\Program Files\TCPCom\TCPCom.Exe" -IH
(Note the quote marks around the file path but not around the command line switch.)
To install TCP-Com as a service so that the user can interact with it, you would use the following command line:
"C:\Program Files\TCPCom\TCPCom.Exe" -I

To uninstall TCP-Com and stop it loading as a Windows service, you would use a special "-U" command line switch as in the following command:
"C:\Program Files\TCPCom\TCPCom.Exe" -U

Windows 7, 8 and 10 later requires some additional steps:

In Windows 7 and later versions of Windows (including Server 2008 and later) in order for TCP/Com to run as a service it will need to be configured to always run as an administrator. Also, it will always run as a hidden service in these environments.

To set TCP/Com to always run as an Admin, navigate to the TCP/Com installation directory. Right click on TCPCom.exe and click Properties. Click on the compatibility tab and select "Run this program as an administrator" and click the “Apply” button. Next, click on the button labeled “Change settings for all users” and, in the window that appears, check the checkbox that reads the “Run this program as an administrator” again and click the “Apply” button. Click the OK button to return the main TCPCom.exe Properties window. Click the OK button in the TCPCom.exe Properties window to close the window.

Next Install TCP-Com as a service. If it is already installed as a service, simply restart the service.


See Also:

Welcome to TCP-Com
Common Applications for TCP-Com
Configuring TCP-Com
TCP/IP Client and Server Options
TCP-Com Advanced Options
Using the Ping Tool
Using the Resolve Host Address Tool
Saving and Loading TCP-Com configuration files
Password Protecting TCP-Com
Configuring TCP-Com to run as a Windows Service
Interfacing RS232 Instruments to a TCP/IP Network
Using TCP-Com to send/receive data over the Internet
A Very Basic Overview of TCP/IP Communications



Home | About TCP-COM | Guide | Support | Legal Notice | About Us

Copyright © 1995 - pcmicro.com    All rights reserved