Cài đặt WindowsService lỗi Security

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

Nguyên nhân: cmd sử dụng quyền user

Giải pháp:

Chọn Run as Administrator khi mở cửa sở CMD