Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 30534

Re: kausrtsk.exe process

$
0
0

You can simply write an agent procedure that checks this registry value:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\Kaseya Agent Service Helper

If it is not present, create it and put in the path to the kausrtsk.exe executable in it, e.g.

c:\program files (x86)\Kaseya\CLNID#vMachine.agentInstGuid#\kausrtsk.exe

This will fix it if it's gone from the startup for whatever reason.  If you just want to give it a "kick" and get it going when its dead, just write an agent procedure that runs it if it isn't running:

IF kausrtsk.exe is not running

execute file c:\program files (x86)\Kaseya\CLNID#vMachine.agentInstGuid#\kausrtsk.exe - (and choose "run as user")

(Note that in both of these scenarios the actual path to the executable is not going to have CLNID but your actual client ID - check a machine with the agent and you'll see what I mean; the agent install directory is different on each machine but can be created programmatically) or you can use "Get Variable" and choose "Agent Install Directory Path" - it adds one more step but then the Agent Procedure will work seamlessly if imported onto a different kserver that has a different client ID.

-Matt


Viewing all articles
Browse latest Browse all 30534

Trending Articles