Delegating SELF (Computer) to track logins

Last time we were talking about tracking Users and allowing updating of users attributes with what computers they were using. This time we will be looking at computers and track logins. We will be using a GPO and a login script to track logins and capture computer information, and then allow the computer object to update the following attributes. EmployeeType, Company, Department, Title, TelephoneNumber, EmployeeNumber, Division, SN, GivenName, TelephoneAssistant, Assistant, and IPAddress.

Using the Delegation Wizard to configure Self the ability to update Computer objects attributes above.

delegation-self      delegation2-self

The script gathers the following information via WMI and updates the computer objects attributes with the following information.

slastuser, slasttime,  biosbrand,  compmodel,  biosver,  biosservicetag,  compcpu,  compram,  compsystemtype,  CompdomainroleRole,  strlastboot,compOSInstall, and strIPAddress.


The script maps the WMI information to the following AD Computer attributes.

EmployeeType = slastuser & ” on ” & slasttime
Company = biosbrand
Department = compmodel
Title = biosver
TelephoneNumber = biosservicetag
EmployeeNumber = compcpu
Division = compram
SN = compsystemtype
GivenName = CompdomainroleRole
TelephoneAssistant = strlastboot
Assistant = compOSInstall
textEncodedORAddress = strIPAddress



Come back next time when we use a HTA to do some reporting on the Who, What, and Where.


By |2016-04-12T11:05:14+00:00February 1st, 2016|Uncategorized|0 Comments

About the Author:

Chris Meyers
Consultant – Model Technology Solutions Chris has more than 20 years of industry experience. Prior to his work with Model, Chris worked for one of St. Louis’ largest law firms where his responsibilities ranged from implementing Citrix to automating desktop deployments to virtualizing the datacenter. He has also worked with Microsoft’s Rapid Deployment Program to bring new technologies to one of the three largest consumer credit reporting agencies in the US.

Model Technology

Let us help you get your end point and data center strategy on cruise control!  Ask about our Calibration Assessment.


  • 12125 Woodcrest Executive Drive, Ste. 204 Creve Coeur, MO 63141
  • (314) 254-4138