Article 2126 of microsoft.public.win32.programmer.kernel: Hi ! The Windows NT Resource Kit provides two utilities that allow you to create a Windows NT user-defined service for windows NT applications and some 16- bit applications, but not for batch files. To create a Windows NT user-defined service: 1. At the MS-DOS command prompt, enter the following command: :\\INSTSRV.EXE : \\SRVANY.EXE NOTE: The command above is all in one line. The following message appears to confirm that a Windows NT service has been added: CreateService SUCCESS Don't forget!!! You must now go to the Control Panel and use the Services applet to change the account name and password that this newly installed service will use when it attempts to logon as a service when it starts. Also, use the Services applet to ensure this newly installed service starts automatically, since the point of this service is to start automatically and apply the DACLs to the floppy drives prior to a user logging on at the keyboard 2. Run Registry Editor (REGEDT32.EXE). 3. From the HKEY_LOCAL_MACHINE subtree, go to the following subkey: \SYSTEM\CurrentControlSet\Services 4. From the Edit menu, choose Add Key. Add the key. 5. Select the key. From the Edit menu choose Add Value. 6. Add the following: Value Name: Application Data Type: REG_SZ String: :\ 7. Choose OK and quit Registry Editor. 8. Shutdown and restart Windows NT. 9. Run Control Panel, choose Services, and start the service. (The primary source for this information is the incredible Microsoft CDROM "TechNet" - You must buy it ! ) Bye Bye. Carlo Randone carlo.randone@executrain.it haripp wrote in article <342A4D6E.4C4AE20E@mailcity.com>... > Hi Friends > > I am looking for a solution for the following > > 1. How to make a MFC based application as a WINNT service ? > > 2. How do i make the same win 95 compatible . > > my e-mail id is haripp@mailcity.com or rsr@sun94.squared.co.in > > with regards > > >