|
(also ohne Login)
Vorausbemerkung:
Dies ist eine von uns nicht offiziell unterstützte Möglichkeit den CDIXLOGD zu starten. d.h.:
1. keine Gewärleistung!
2. kein Support !!
Um den Cdixlogd als NT-Dienst einzurichten ist folgendes zu tun:
Man benötigt vom "WindowsNT ResourceKit" die Dateien:
- AUTOEXNT.EXE
- INSTEXNT.EXE
- SERVMESS.DLL
sowie eine Datei namens: AUTOEXNT.BAT :
- rem ---AUTOEXNT.BAT---
- SET CDIXDRIVE=C:
- SET APPLDRIVE=C:
- CALL /USR/CDGLOBAL/CDXWIN/SETCDIX.BAT
%DD_CDIX%/bin/cdixlogd
Alle in das Verzeichnis "%systemroot%/system32" kopieren !
Vom "Command-Prompt" muß der Dienst "autoexnt" installiert werden mit INSTEXNT install. Die Startart und das zugeordnete
Benutzerkonto des Dienstes kann danach über "Systemeinstellungen / Dienste" bestimmt werden.
Vom nächsten Systemstart an läuft CDIXLOGD als Dienst "autoexnt".
Bei Bedarf senden Sie bitte eine e-mail: support@cdsoft.de.
Originaltext:
Notes for the AutoExNT Service, Version 1.2
The AutoExNT service allows you to start a batch file, AUTOEXNT.BAT, at boot time without having to log on the computer on
which it will run.
To use AutoExNT, you must be running Windows NT 3.5 or later. It includes a "/interactive" option, analogous to the /interactive option
of the AT command, which allows you to see the processes started.
Files:
The AutoExNT service requires the following files:
| AUTOEXNT.EXE |
The AutoExNT service routine. Copy this into your %systemroot%/system32 directory. |
| AUTOEXNT.TXT |
This Readme |
| INSTEXNT.EXE |
Use this to install the service. |
| SERVMESS.DLL |
The AutoExNT message DLL. Copy this into your %systemroot%/system32 directory. |
- First copy the AUTOEXNT.EXE and the SERVMESS.DLL into the %systemroot%/system32 directory.
- Now create an AUTOEXNT.BAT file with the needed commands and copy this one also into the %systemroot%/system32 directory.
NOTE: Don't forget that there are no user-environment variables at boot time, so use full pathnames etc. Also, if you are relying on a
service (for example, server or schedule) you might want to add a NET START "service" in the beginning of your AUTOEXNT.BAT
batch file to make sure that these services are running before you execute your dependent process. This is needed since at boot time,
there is no guarantee that all processes will be up and running when AutoExNT is executed.
At a command prompt, type:
INSTEXNT install
When everything is fine, the application responses:
>> CreateService AutoExNT SUCCESS
with InterActive Flag turned OFF.
- You may also type at this prompt:
INSTEXNT install /interactive.
In this case, you can see the processes running on the desktop. However, users (logged on locally) are able to stop them.
When everything is fine, the application responds:
>> CreateService AutoExNT SUCCESS
with InterActive Flag turned ON.
To test the service.
Log in as an administrator and enter the following command:
net start autoexnt
You will see a new Commandbox running the AUTOEXNT.BAT file.
To install for autostart at boottime:
- Choose Control Panel | Services.
- Select AutoExNT
- Select Startup
- Select Startup Type: Automatic
- When you need rights outside your local system (for example to perform a NET USE command): Select "Logon As: This Account."
- Specifyan account which has sufficient privileges on your domain/system, and give/confirm the password.password.
- Choose OK.
Your AutoExNT service is now installed.
Comments/suggestions/critiques:
Please send e-mail to janve@microsoft.com.
Jan van Eekeren,
The Netherlands.
1 February 1995

|