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.

delegation3-self

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

 

CompADUpdate

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

 

About the Author: steve bowman

Three Minutes For A More Secure & Efficient Infrastructure

Short and to the point, Steve’s Email Blasts give you endpoint management tips, tricks, and news in three minutes or less email read-time, guaranteed.

Model says no to spam. Privacy Policy

Model Technology Solutions

Model Technology Solutions is a small but mighty band of infrastructure experts. We’ve helped companies in diverse industries to modernize and automate their infrastructures through effectively managing their Microsoft endpoint suite.

With us on your team, you’ll watch your security and compliance go up and your IT team’s costs (and headaches) go down. You’ll relax in knowing that your endpoints will be secure and online when your users need them most. And you’ll finally get back to your most-important tasks.

Model Technology Solutions
12125 Woodcrest Executive Drive, Ste. 204 Creve Coeur, MO 63141

Phone: (314) 254-4138
General Inquiries: model@model-technology.com
Sales and Quotes: sales@model-technology.com