Ok, I think I did it.  Only took a minute (thanks Bill).  Here are some more precise directions, but consider them to be "beta" directions (please correct them if you find a problem):

1)    Install the Windows 2000 Resource Kit, or download and install the INSTSRV.exe and SRVANY.exe files in a permanent location, preferably within your path.  The individual files can be found at the following location:
            http://www.pyeung.com/pages/win2k/userdefinedservice.html

2)    Open a command prompt (Click on the Start Button, Select Run, and type CMD)

3)    Enter the following command (customize for the paths of the executables)
            C:\Progra~1\Resour~1\INSTSRV Sniffer C:\Progra~1\Resour~1\SRVANY.exe

4) Open up the Registry Editor (Click on the Start Button, select Run, and type REGEDIT)

5) Locate the following key:
            HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Sniffer

6) From the Edit menu, select New, select Key, and name the new key Parameters

7) Highlight the Parameters key

8) From the Edit menu, select New, select String Value, and name the new value Application

9) From the Edit menu, select Modify, and type in the full path name and application name, including the drive letter and file extension (don't use quotes, customize path, executable name and authentication code)
      Example: C:\IMail\Declude\Sniffer\[yourlicx].exe [authenticationxx] persistent

       [yourlicx] = your license ID
       [authenticationxx] = your authentication string

10) Open the Services MMC

11) Start the Sniffer service

12) Set the Sniffer service to Automatic

Matt



Matt wrote:
I'm going to give this one a try right now since I have the Resource Kit installed already.  Just one question...do I need to change the arguments in my Declude config, or will the service definition take care of the 'persistence'?

Thanks,

Matt



Bill Boebel wrote:

We've been using svrany for years with several custom applications and it
works great.  This utility has been around since the NT4 Resource Kit...

 http://www.pyeung.com/pages/win2k/userdefinedservice.html

Bill


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Pete McNeil
Sent: Friday, March 19, 2004 12:25 AM
To: [EMAIL PROTECTED]
Subject: [sniffer] RunExeSvc for Persistent sniffer.


Hello folks,

We've been continuing to test the new persistence enabled sniffer engine
and some utilities that will allow it to run as a service.

We found a free utility that seems to be very solid, and very simple.

http://www.judoscript.com/goodies/RunExeSvc/runexesvc.html

One of the scripts we used is:

debug=false
cmdline=c:\Projects\sniffer2-3\TestBed\snfrv2r2.exe xnk05x5vmipeaof7
persistent
home=c:\Projects\sniffer2-3\TestBed

(Note: The mismatch between the sniffer2-3 directory and the snfrv2r2.exe
is not a type-o. We re-branded the 2-3 to use the snfrv2r2 license in our
example - it was easier that than creating a new license. Note also that
the cmdline parameter includes the full path to the executable - you will
need to do this also. We could not get the service to start on our NT test
bed without including the full path to the .exe)

We've tested this on our XP based Toshiba laptop, and on our NT4 based
IMail test bed. Both seem to setup and work fine. Auto-start works fine, so
does logging out and logging in.

Once you've set up a persistent sniffer instance as a service, go into your
services control panel (usually via administrative tools), set the service
to start automatically, and start it.

A window will appear for the program - do not close the window! Minimize it.

When you log out sniffer will continue to run in the background. When you
log in the window will be visible again - it's harmless. If you close it
though you will have ended the sniffer.exe out from under the service. This
won't cause you any trouble, but you won't get the benefit of the
persistent server until you stop and start the service again to relaunch
the program.

Using RunExeSvc, the actual service is the RunExeSvc program. That program
launches sniffer as a client and stands in as a service stub for your OS.
You can use this to run all sorts of things... The developer uses it to run
Java based web servers, for example.

Eventually we will build a win32 service version of Message Sniffer, but
for now this is the fastest way we can bring you the features you need.

Please give this a try and let us know how it works for you.

If you find a different utility that you like better then please let us
know.

Thanks!
_M


This E-Mail came from the Message Sniffer mailing list. For information and
(un)subscription instructions go to
http://www.sortmonster.com/MessageSniffer/Help/Help.html


This E-Mail came from the Message Sniffer mailing list. For information and (un)subscription instructions go to http://www.sortmonster.com/MessageSniffer/Help/Help.html


 



-- 
=====================================================
MailPure custom filters for Declude JunkMail Pro.
http://www.mailpure.com/software/
=====================================================


Reply via email to