Notes for the second beta of AutoExNT service. ================================================= The AutoExNT service allows you to start a batch file, named Autoexnt.bat, at boot time without the need to log on that system. I tested this service on Windows NT 3.5 as well, and to my knowledge it works properly. However, in NT3.5 things are changed, and you are no longer able to see the service running. FILES. ======== This Zip file contains 4 files: README.TXT - this Readme INSTSRV.EXE - Use this to install the service. AUTOEXNT.EXE - The AutoExNT service-routine. Copy this into your /system32 directory. SERVMESS.DLL - The AutoExNT message dll. Copy this into your /system32 directory. Usage: ======== - First copy the AUTOEXNT.EXE and the SERVMESS.DLL in the /system32 directory. - Now create an autoexnt.bat file with the needed commands and copy this one also into the /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 (i.e. server, schedule or such) you might want to add a NET START "service" in the begining of your AutoExNT.bat batch file to make sure that these services are running before you execute your dependant process. This is needed since at boot time, there is no guarantee that all process will be up and running when AutoExNT is executed. - type on a commandprompt: INSTSRV Install When everything is fine, the applet responses: >> CreateService AutoExNT SUCCESS 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: ====================================== - Goto controlpanel-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" specify an account which has administrator privileges on your domain/system, and give/confirm the password. - Select OK. Your AutoExNT service is now installed. Further comments/suggestions/critics: please mail me (janveeke@microsoft.com). Jan van Eekeren, The Netherlands. 3 October '94