Machine name of logged in User
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-27-2020 12:37 AM
Is there a way to get the machine name(fqdn) of the User who is logged into ServiceNow ?
The logged in Users / Transaction Logs all provide a masked IP that is not resolving to anything.
The ultimate objective is to read the machine name from the logged in ServiceNow session and build a system of record that links Machine names with Users.
- 2,441 Views

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-27-2020 12:45 AM
Hey KJ,
You can get IP by the following: https://www.servicenowguru.com/scripting/identifying-client-session-ip-address/
Please have a look at the blog and if it works then please mark my answer Correct and Helpful.
Thanks and Regards:
Utpal Dutta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-27-2020 04:11 AM
Hi Utpal,
This usually provides the public IP which resolves to the ISP only. I require the FQDN. Something that my support team can rely on to RDP into the User's machine.
Regards,
KJ
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-27-2020 04:23 AM
Hi,
It's difficult to know this. If it were possible, that would be a major security risk.
Possibly because users can access the instance publicly or they can be using NAT in the network from where they are accessing.
Even though you get the IP address of the user it may not be the actual one as they might be in the internal network.
Please check below links for more help
http://forums.asp.net/t/1490314.aspx?how+do+get+Client+Machnine+Name+through+Javascript
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-27-2020 04:30 AM
Reading user's machine name isn't possible because that would imply ServiceNow would access the user's pc to gather private information.
If your users are only employees of your organization, you can use discovery to collection information all pc information in the company network. You can then match IP address of the user with the collected information to get the machine name.
If you have Active Directory, then you'll also be able to get the machine name and the IP address.