How Does Discovery Determine Assigned To

rufus_mills
Kilo Contributor

Hi,

I've looked on the Wiki and on the forums but can't find an answer to this one, though sorry if I've missed it somewhere.

I'm guessing that Discovery looks at the last logged on user but does anyone knnow specifically how it does that and how the matching to the sys_users is done?

3 REPLIES 3

doug_schulze
ServiceNow Employee
ServiceNow Employee

Rufus,

If you look at the Windows OS/Hardware probe you would see the QMI query we run

Win32_ComputerSystem.UserName

This pulls back last user logged into the system and then yes, compares that to the Service-now users table, matching the user to the CI. This is outlined in the sensor of the same probe...


rufus_mills
Kilo Contributor

Thanks Doug.


erite123
Kilo Contributor

Doug,

Is it possible to auto create the user at this point if the user found during the discovery doesn't exist in sys_user?


Thanks,
Erite