Recommended Service Stop Order for EventReporter Maintenance#
Question#
What is the recommended order for stopping the EventReporter service during system maintenance or reboots?
Answer#
When performing system maintenance, updates, or planned reboots on a system running EventReporter, follow a specific shutdown sequence to prevent data loss and ensure a clean shutdown. The EventReporter service should be stopped after any web server and before the database server.
Recommended Stop Order#
Stop IIS/Web Server (if using a web-based log viewer)
Stop EventReporter Service
Stop Database Server (SQL Server, MySQL, etc.)
Rationale#
This sequence ensures:
Web connections are closed first: Prevents new user sessions from accessing the database while EventReporter is still writing.
EventReporter stops gracefully: Allows EventReporter to complete any in-progress writes and flush its queues before the database becomes unavailable.
Database closes last: Ensures all pending transactions from EventReporter are committed before the database shuts down.
Stop Commands#
You can stop the EventReporter service using its internal service name AdisconEvntSLog in PowerShell or Command Prompt:
Command Prompt:
net stop w3svc
net stop "AdisconEvntSLog"
net stop MSSQLSERVER
PowerShell:
Stop-Service -Name "w3svc"
Stop-Service -Name "AdisconEvntSLog"
Stop-Service -Name "MSSQLSERVER"
Startup Order#
When starting services after maintenance, reverse the order:
Start Database Server
Start EventReporter Service
Start IIS/Web Server
Command Prompt:
net start MSSQLSERVER
net start "AdisconEvntSLog"
net start w3svc
PowerShell:
Start-Service -Name "MSSQLSERVER"
Start-Service -Name "AdisconEvntSLog"
Start-Service -Name "w3svc"
Service Name Reference#
When managing the EventReporter service from the command line, use the internal service name:
Internal Service Name:
AdisconEvntSLogDisplay Name: EventReporter Service
The internal service name remains consistent across installations and should be used in automation scripts for reliability.
Verifying Service Status#
Get-Service -Name "AdisconEvntSLog"
sc query "AdisconEvntSLog"
Best Practices#
Plan maintenance windows: Schedule downtime during low-traffic periods to minimize event log message loss.
Backup database: Perform a database backup before shutting down services.
Verify connections: After restart, verify that the EventReporter service started correctly and is writing to the database.
Check logs: Review the Windows Event Viewer for any EventReporter service errors after restart.
Use internal service names: Always use the internal service name
AdisconEvntSLogin scripts for reliability.
Troubleshooting#
If the EventReporter service does not stop gracefully:
Check for stuck processes in Task Manager.
Review the Windows Event Viewer for service errors.
Verify that database connections are properly closed.
Check service dependencies:
sc qc "AdisconEvntSLog"As a last resort, use force stop:
net stop "AdisconEvntSLog" /y