IQService Installation Fails with System.Security.SecurityException:

While installing IQService using IQService -i, the installation fails with the following error:

System.Security.SecurityException: The source was not found, but some or all event logs could not be searched. Inaccessible logs: Security.

As a result, the IQService installation is rolled back, and the service is not created. Has anyone encountered this issue before? Any suggestions or troubleshooting steps would be appreciated.

Hi @khreddy ,
It looks like the command was executed without administrative privileges. Please open Command Prompt in Run as Administrator mode and try the installation again.

@Hareesh369 The issue looks related to insufficient Windows permissions to create/read the Event Log source.

Please open Command Prompt using Run as administrator and try the installation again.

Before reinstalling, please check if the IQService was partially installed. If the service exists, uninstall it first:

IQService.exe -u

Then install again from the elevated command prompt:

IQService.exe -i