WARNING -Provider resources not accessible running wevtutil

后端 未结 4 1177
眼角桃花
眼角桃花 2021-01-17 10:05

I need help solving the \"Provider \'\' resources not accessible when trying to create a windows event provider. I create my manifest file with the ManGen utility, and name

4条回答
  •  青春惊慌失措
    2021-01-17 11:09

    The dll you are registering needs to have a particular set of file permissions. I suspect that the event logging service runs under the "local service" account. So just giving SYSTEM access rights is not enough. I solved by problem by giving the "USERS" group on my PC "read & execute" priviledges.

    I ran into a nasty problem that took a day to track down. I shared my project working folder and then unshared it. For some reason this removed the "USERS" access priviledges. I think this is the reason than the event tracing samples in the windows SDK copy all the dlls to a special folder under the C drive and install the provider from there. When you create folders under C drive the USERS group is given access automatically.

提交回复
热议问题