![]() If a file is suspect, the typical solution is to recopy from a known good file. Therefore, you want to make sure that they are the same. Sometimes you may experience unusual program behavior and may suspect that a file is damaged, or you may suspect that two files have the same byte count but different dates. This document can also be found on the Windows NT Resource Kit CD in the Where is the drive and directory of the Windows NT Resource Kit (for example,įor more information on installing and removing a user-defined service, see the Srvany.wri document provided with the Windows NT Resource Kit utilities (for example, Type the following command from an MS-DOS command prompt: Use the Sc.exe utility from the Resource Kit. Then change theįrom the Services applet in Control Panelįrom an MS-DOS command prompt, type the following command: , run the Services applet from Control Panel. Where \ is the drive and full path to the application executable including the extension (for example, C:\WinNT\Notepad.exe)īy default, a newly created service is configured to run automatically when the system is restarted. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ ![]() Run Registry Editor (Regedt32.exe) and locate the following subkey: You should back up the registry before you edit it. Is the name of the service you're creating.Ĭ:\Program Files\Resource Kit\Instsrv.exe Notepad C:\Program Files\Resource Kit\Srvany.exe Is the drive and directory of the windows nt resource kit (for example, Path \INSTSRV.EXE My Service path \SRVANY.EXE To create a Windows NT user-defined service, follow these steps:Īt an MS-DOS command prompt(running CMD.EXE), type the following command: Instrsrv.exe installs and removes system services from Windows NT and Srvany.exe allows any Windows NT application to run as a service. 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. For information on how to do this, view the Before you edit the registry, make sure you understand how to restore it if a problem occurs. This article contains information about editing the registry.
0 Comments
Leave a Reply. |