Symptoms:
Users who have the following error:
System.Security.SecurityException The source was not found, but some or all event logs could not be searched. To create the source, you need permission to read all event logs to make sure that the new source name is unique. Inaccessible logs: Security.
This is caused by the Quicklaunch event log not properly setup during application installation. During QL installation, the installer will prompt for elevated privileges to create the event log. If this is not granted, the event log will not be setup and then the SecurityException will be raised when QL runs.
Resolution:
- Start a PowerShell command prompt as administrator
- Run the following commands
New-EventLog -LogName Application -Source Quicklaunch
New-EventLog -LogName Application -Source Quicklaunch.CameraManager
New-EventLog -LogName Application -Source Quicklaunch.MessageAdapter
New-EventLog -LogName Application -Source Quicklaunch.MonitorDpiAware
New-EventLog -LogName Application -Source Quicklaunch.NetworkShareLauncher
New-EventLog -LogName Application -Source Quicklaunch.Quickshare
New-EventLog -LogName Application -Source Quicklaunch.Quickshare2
New-EventLog -LogName Application -Source Quicklaunch.ProcessUtility
New-EventLog -LogName Application -Source Quicklaunch.PowerShell
New-EventLog -LogName Application -Source Quicklaunch.SmartMeeting40
These commands can be run multiple times, it will give an error if the event log source already exists but will not have a negative effect.