WARNING -Provider resources not accessible running wevtutil

后端 未结 4 1178
眼角桃花
眼角桃花 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:08

    I experienced the similar problem. The solution is to

    • use absolute paths wherever possible and stay away from relative paths
    • make sure everyone has read access to manifest files

    If your manifest files are called manifest.man and manifest.dll, then

    • grant read access to everyone

      icacls %~dp0\manifest.* /t /grant Everyone:R

    • use absolute paths to install (%~dp0 variable could be used if you are using a batch file)

      wevtutil im %~dp0\manifest.man /rf:"%~dp0\manifest.dll" /mf:"%~dp0\manifest.dll"

提交回复
热议问题