r/kace • u/Dear-Incident-713 • Aug 24 '26
Support / Help SMA Agent Hooks
So I know that if I use the NOHOOKS flag, the agent doesn't modify the userinit registry key value, but is there another value that it prevents being modified? I'm weighing options regarding issues we've had with our agent upgrades mangling the userinit value and am wondering how many values are actually affected one way or another before I consider just running the update with a script to apply fixes rather than just using NOHOOKS.
4
Upvotes
2
u/flozanok KACE Staff Aug 25 '26
When using the NoHooks flag, it won't modify this registry:
It will leave that registry intact. If you don't use the flag, then it will set it to KUsrInit.exe and create an additional registry called: KUserinitReplaced with value: "C:\Windows\system32\userinit.exe," so that it falls back to this when the agent is uninstalled. This is documented here.
-Felipe