Quantcast
Channel: Network Access Protection forum
Viewing all articles
Browse latest Browse all 1875

NAP agent callbacks not working

$
0
0

Hi,

I am developing an SHA. I have created a service that implements its callbacks. The service install and uninstall without any problem but I am facing following problems:

1. when I try to run it in network service account it does not run. although it shows status started in SCM, i cannot see any log that i am writing in file.

2. when i run it as local system service i can see logs getting created in system32 folder but callbacks are not invoked. I checked in event logs and it shows event id 30 generated for my SHA.

i could deduce that there is some problem in communication between nap agent and my SHA but i am not able to pinpoint the issue. when my sha service starts i can see nap agent binding getting initialized successfully. what can be possible problem?

i checked registry entries also and i noticed that default windows SHA has following entries which are not getting created when i register my SHA:
- Id (value: 79744)
- Enabled (value: 1)

However, adding above entries manually with appropriate value did not help. What can be the problem? Please help.

Edit: I also noticed that NAP agent service runs as network service while my sha is running as local system. is it that network service cannot access local system service?

Viewing all articles
Browse latest Browse all 1875

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>