Purpose
For issues that may require escalation to the Engineering team, the relevant log files must be collected to help investigate and identify the root cause.
Application logs provide valuable insights into the application’s behavior, including when the application was started, which services were used or called, and the time at which specific events occurred.
This is particularly important when investigating crashes or service-related issues involving applications such as SureMDM Agent, SureLock, or SureVideo, including scenarios where an application crashes or a service fails to start or stop as expected.
In such cases, along with the relevant application logs, we recommend collecting the Windows Event Viewer logs (System and Application). These logs provide additional information about system events, application errors, and service failures, helping the Engineering team perform a detailed investigation and identify the root cause.
Steps
A) Collect Event Viewer logs:
1. Click the Start button and search the keyword “Event Viewer” OR go to step 2 for another way.
2. Navigate to Control Panel and navigate to System and Security.
3. Further go to Administrative Tools, and then double-click Event Viewer
4. Expand Windows Logs in the left panel, and then select the Application under the Source column for which you want to collect the logs.
5. Click the “Action” menu(right panel) or right-click on Application and select Save All Events As(refer screenshot below):

6. Name the file eventviewer.evtx and click the “Save” button.
7. Click the “OK” button if you see a “Display Information” dialog.
8. Repeat Step 3 and choose System and follow Step 4 to Step 7(refer screenshot below):

Once the event logs are saved, the next step is to capture the System Info details for the Windows machine. To capture the same, follow these steps:
- Press Win+R key, type in msinfo32 and hit Enter key
- Take a screenshot of the System summary and save it on your machine
B) Collect Nix Service Logs and Nix.sqlite Files
Please collect the Nix Service log files and the Nix.sqlite file by following the steps below.
Collect Nix Service Logs
- Open File Explorer and navigate to the following path:
C:\ProgramData\42Gears\SureMDMAgent\Logs\
- Collect the log files available in this folder.
Note: If the ProgramData folder is not visible in the C: drive, follow these steps to display hidden folders:
- Open File Explorer and navigate to This PC → C: drive.
- Select View → Show → Hidden items to display hidden folders.
- Locate and open the ProgramData folder, then navigate to the path mentioned above.

Collect the Nix.sqlite File
- Open File Explorer and navigate to the following path:
C:\Program Files (x86)\42Gears\Nix Agent\
- Locate and collect the Nix.sqlite file.
Steps to Collect the EMM Advanced Diagnostic Report
- Go to Settings > Accounts > Access work or school and expand the section.
- Expand Connected by suremdm@42gears.com.
- Under Managed by 42Gears, click Info.
- Scroll down to the Advanced Diagnostic Report.
- Copy the report path and search for it on the device to locate the diagnostic report.

For troubleshooting and investigation of Windows related issues, share the above files with our Technical support team at techsupport@42gears.com to help us find out the root cause of the issue.
Need more help? Here’s how to get help from our experts.