How to stop the SERVICE version of authenticat.exe on a PC


This article applies to:

  • Stopping Service version of authenticat.exe on a PC

Question:

  • I have a script that stops the authenticat.exe service, then tries to delete authenticat.exe, copies a newer copy of authenticat.exe, and invokes it with the RA[virtual_ip] parameter to start the service. However, there's a problem when trying to stop the service. The service automatically restarts itself, so I'm unable to delete and copy it in time.

Procedure:

The service restarts after 5 seconds so if you put these two lines together:

net stop "8e6 Authenticator"
c:\authenticat.exe remove

There should be enough time to stop and remove the service. If this really fails to remove the service, try to duplicate the calls like this:

net stop "8e6 Authenticator"
c:\authenticat.exe remove
net stop "8e6 Authenticator"
c:\authenticat.exe remove

In case the first net stop fails, the service maybe removed first before the application is stopped. Just ignore the error and it should work.

Here's another option:

net stop "8e6 Authenticator"
cmd /c %systemroot%\authenticat.exe terminate
cmd /c del %systemroot%\authenticat.exe

And then copy over the new authenticat.exe.

Notes:

 


Last Modified 2/15/2012.
https://support.trustwave.com/kb/KnowledgebaseArticle13824.aspx