# Access Denied for windows-update metric

**URL:** <https://community.icinga.com/t/access-denied-for-windows-update-metric/1705>\
**Category:** Service Monitoring\
**Created:** [July 16, 2019, 4:31pm UTC](https://community.icinga.com/t/access-denied-for-windows-update-metric/1705 "2019-07-16T16:31:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mani.vajrala](https://community.icinga.com/letter_avatar_proxy/v4/letter/m/0ea827/32.png) [@mani.vajrala](https://community.icinga.com/u/mani.vajrala)\
**Post date:** [July 16, 2019, 4:31pm UTC](https://community.icinga.com/t/access-denied-for-windows-update-metric/1705/1 "2019-07-16T16:31:57Z")

</div>

I have added windows-update metric & got the access-denied error… After digging i have noticed the following information.

This is caused by the fact that the Icinga2 Service (on Windows) is running under the “Network Services” Account which doesn’t have access to the WUA API.  
After changing the Service to use “Local System Account” the check returns the correct results.

I am now thinking to add group policy to add icinga2 user as local admin on all the remote boxes. what kind of access icinga2 user should have to all get all kinds of metrics… Can you please advise?

---

<div class="post-metadata">

**Author:** ![dnsmichi](https://community.icinga.com/user_avatar/community.icinga.com/dnsmichi/32/7721_2.png) [@dnsmichi](https://community.icinga.com/u/dnsmichi)\
**Post date:** [July 17, 2019, 7:15am UTC](https://community.icinga.com/t/access-denied-for-windows-update-metric/1705/2 "2019-07-17T07:15:16Z")

</div>

Hi,

the update check requires additional grants in order to communicate with the WU API. To my knowledge, this is the only plugin we provide with Icinga needing this. If you create/download other plugins with such requirements, check them beforehand.

I know nothing about policies, but it sounds like a good idea. Do that on a test VM first.

Cheers,  
Michael

---

<div class="post-metadata">

**Author:** ![mani.vajrala](https://community.icinga.com/letter_avatar_proxy/v4/letter/m/0ea827/32.png) [@mani.vajrala](https://community.icinga.com/u/mani.vajrala)\
**Post date:** [July 17, 2019, 5:16pm UTC](https://community.icinga.com/t/access-denied-for-windows-update-metric/1705/3 "2019-07-17T17:16:25Z")

</div>

Thanks for your response Michael
