How to automatically update the Computer CMDB 'Assigned To' field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2022 03:23 AM
We are currently rolling out ServiceNow Asset Management but are having issues around the CMDB.
For example, under my user profile it shows me as having several assets 'Assigned to' me. Admittedly I may have logged into these devices, and may have even been the last user to log into the device, however it is by no means 'assigned to' me.
IIs there a way for ServiceNow to proactively check the devices, and remove the 'Assigned To' user should the person not have logged into the laptop for some time?
Thank you.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2022 03:47 AM
Hi John,
Why do you want to remove it? OOB is not possible. Because the Probe will give always the result of who logged in last. you need to have custom logic to implement it if the device is not discovered for some time you can remove the assigned to but this is not a reliable solution
Regards,
Vivek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2022 03:49 PM
If you can get the last logon date, you may be able to clear the 'Assigned To' user field when the last logon date is more than 'X' number of days. Please see below the information on getting the Last Logon date.
WMI / Powershell - Getting last logged on information (microsoft.com)