Windows Server Check for Updates "Access Denied"

Hi all,

I wanted to deploy the default windows-update Service Check ‘C:\Program Files\ICINGA2/sbin/check_update.exe’ ‘-c’ ‘4’ ‘-w’ '2 but in the Icinga Web it returns “Access Denied” only. Does anyone know how to fix this issue?

With kind regards,
MusicBoy

Most likely your icinga2 service runs as network and not as system user.

2 Likes

So how would I change that? I would allow the Icinga2 Service to run as a seperate user via the Agent Setup right? Or do I have to create a entirely new user in Windows?

Sorry for asking these stupid questions, Im still new in IT and learning so bear with me :smiley:

With kind regards,
MusicBoy

If I remember correctly, there’s an option for this or you just change it via Windows GUI directly on the Icinga2 Windows service.

In your services.msc:

2 Likes

Hi,

yeah I have tried running it as this User. Re-deployed it but it still says “Access Denied”. So it probably has to do with something else I suppose.

But still thank you very much for this tip! :slight_smile:

Actually disregard my first reply. What did the trick was re-configuring Icinga via the Configuration Wizard and THEN additionally adapt the service.msc ICINGA2 Config and change it to the according user.

Thank you so much!

1 Like