Submit a ticketCall us

WebinarDatabase Roundtable – Expert Database Professionals Feel Your Pain

In this video broadcast, Head Geek™ Tom LaRock is joined by Karen Lopez, Tim Chapman, and David Klee. They’ve known each other for many years, so this discussion was like four friends getting together to talk data and databases. They discussed diagnostic data collection, common performance root causes, reactive tuning versus proactive, and more. Join us for an engaging discussion on these topics! Plus, Tom LaRock will be available to answer your questions live.

Register now.

Home > Success Center > Patch Manager > Patch Manager - Knowledgebase Articles > How to locate the last logged-on user for a managed computer

How to locate the last logged-on user for a managed computer

Overview

Patch Manager does not collect the last logged-on user for managed computers by default. This article describes how to create an Inventory Configuration Template to pull this information from the Registry on the managed computer.

Environment

All Patch Manager versions

Resolution

Use the following Registry keys and string values in your Inventory Configuration Template.

For managed computers running an operating system prior to Microsoft® Windows® Vista or Windows Server® 2008:

  • Registry Hive: HKEY_LOCAL_MACHINE
  • Registry Key Path: SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinLogon
  • Registry Value (String): DefaultUserName
    And
  • Registry Hive: HKEY_LOCAL_MACHINE
  • Registry Key Path: SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinLogon
  • Registry Value (String): DefaultDomainName

For managed computers running Windows Vista or Windows Server 2008 and later:

  • Registry Hive: HKEY_LOCAL_MACHINE
  • Registry Key Path: SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI
  • Registry Value (String): LastLoggedOnUser
     

Creating this new Inventory Configuration Template does not alter any existing scheduled Inventory tasks. To add this information to your scheduled Inventory tasks, replace those tasks with new ones using your new template.

 

 

Last modified

Tags

Classifications

Public