Amazon holiday deals See deals →ad

Mets Minor League Blog

Music theory, instruments and musicians

Mets Minor League Blog

Music theory, instruments and musicians

How to Find Last Logon Details of Each Computer Using SCCM

Keeping track of the last logon time for each computer in your network is essential for security audits, asset management, and troubleshooting. Using Microsoft Endpoint Configuration Manager (SCCM), you can generate a report to quickly identify the most recent logon details across your environment. This guide walks you through the process step-by-step, ensuring you can efficiently gather this vital information with minimal effort and maximum accuracy. Before starting, make sure you have appropriate permissions to access SCCM reports and the console, as well as a basic understanding of SCCM’s reporting features.

What You’ll Need

  • Access to the SCCM Console with sufficient permissions to run reports
  • SQL Server Reporting Services (SSRS) configured for SCCM reports
  • Basic knowledge of SCCM and report creation
  • Optional: Custom report design skills if customizing the default report

Step-by-Step

  1. Open the SCCM Console: Launch your SCCM Console from your administrative workstation. Log in with an account that has permission to view reports.
  2. Navigate to the Monitoring Workspace: In the console, click on the ‘Monitoring’ workspace on the left-hand panel. This is where SCCM reports and monitoring tools are located.
  3. Access Reports Section: Under Monitoring, expand the ‘Reporting’ node, then click on ‘Reports’. Here, you’ll find a list of pre-built reports related to client activity and system status.
  4. Find the ‘Client Activity’ Report: In the Reports list, locate the report titled ‘Client Activity – Last Logon’. If you don’t see it, ensure your SCCM deployment includes this report or consider importing custom reports.
  5. Run the Report: Double-click on ‘Client Activity – Last Logon’ to open the report. You may be prompted to select parameters such as collection or specific device groups. Choose the relevant collection or leave it as default to include all devices.
  6. Configure Report Parameters: Set any filters or time ranges as needed. For example, you might want to see logon details from the past 30 days. Once configured, click ‘Run’ or ‘Generate’ to execute the report.
  7. Review the Results: The report will display a list of computers along with their last logon date and time. Use the available sorting or filtering options to focus on specific devices or groups.
  8. Export or Save the Report: To retain or share the data, export the report in your preferred format, such as PDF, Excel, or CSV. Use the export options usually found at the top of the report viewer.
  9. Optional – Create a Custom Report: If the default report doesn’t meet your needs, you can create a custom report using SQL Server Reporting Services (SSRS). This involves writing a query that pulls last logon data from the SCCM database, then designing a report layout accordingly.

Common Mistakes

  • Running reports without selecting the correct collection or device group, leading to incomplete data.
  • Not having sufficient permissions to access or run reports, resulting in access denied errors.
  • Using outdated or incorrect report templates that do not include recent logon data.
  • Ignoring filters or parameters, which may cause the report to include irrelevant or too much data.
  • Failing to export or save reports properly, risking loss of valuable information.

Tips

  • Regularly update your SCCM reports to include the latest features and fixes.
  • Use custom filters to narrow down results to specific departments, locations, or device types.
  • Automate report generation using SCCM scheduled tasks or PowerShell scripts for regular audits.
  • Combine logon data with other reports for comprehensive asset management and security analysis.
  • Validate report results periodically by cross-checking with direct queries on the SCCM database for accuracy.

Troubleshooting

If your report does not display the expected last logon details, consider the following steps:

  • Check Permissions: Ensure your user account has the necessary rights to access reports and view client data in SCCM.
  • Verify Report Parameters: Confirm that the correct collection, device groups, or filters are selected. Incorrect parameters can lead to empty or irrelevant results.
  • Update SCCM Client Agents: Ensure that client agents are up-to-date and reporting correctly. Outdated agents may not send recent logon data.
  • Review the Database: If using custom reports, verify your SQL queries are correct and point to the right tables and fields.
  • Check for Report Errors: Look for error messages or warnings in the report viewer or SCCM logs that indicate issues with report generation.
  • Consult Logs: Review SCCM site server logs and client logs for errors related to client activity reporting.

Frequently Asked Questions

Can I see last logon details for remote computers?
Yes, as long as the SCCM clients are reporting correctly and you select the appropriate collection or filters, remote computers’ last logon data can be retrieved.
How often is the last logon data updated?
It depends on your SCCM client settings and reporting schedule. Typically, clients report their status at regular intervals, such as every 15 minutes to an hour.
What if the report shows outdated logon times?
This may indicate that clients are not reporting correctly, or there are delays in data processing. Verify client health and reporting status.
Can I automate this report to run periodically?
Yes, you can schedule report execution using SCCM’s built-in scheduling features or PowerShell scripts combined with task scheduler for regular updates.
Is it possible to customize the report layout?
Yes, if you have SSRS skills, you can modify existing reports or create new ones to include additional data or change the presentation style.
What are the best practices for maintaining accurate logon data?
Ensure clients have up-to-date agents, monitor reporting health, and regularly review and clean your SCCM database for consistency.

By following this guide, you can efficiently generate and analyze last logon details for all your managed computers using SCCM, enhancing your IT asset management and security posture.

How to Find Last Logon Details of Each Computer Using SCCM
Scroll to top