A. A. There is a utility called AUTOEXNT which is supplied in a zip file. You use perform the following:
- From the AUTOEXNT.ZIP file extract the files autoexnt.exe, autoexnt.bat and servmess.dll to %systemroot%/system32
- Also extract the file INSTSRV.EXE to any directory (a temp directory will do)
- At the command prompt enter
This will create a new service called AutoExNT
- Edit the file %systemroot%/system32/autoexnt.bat and put in any commands you want to be run when the machine boots (such as a CHKDSK, etc.)
When the system boots in future the AutoExNT service will check for the existence of the file autoexnt.bat and execute any commands in it.
A version of this is also shipped with the resource kit, however it is better to use the downloadable version. To install the Resource kit version you have to type