- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2020 01:40 AM
HI Team,
I have the whole thread regarding retrieval for registry keys for discovery and really got resolved and got the value needed. I am trying to get another key same way as I did yesterday Get Last Logged On User from Windows Registry but this time i get error:. What this Red line with error means i checked with Admin the path is correct but what could be the issue . Please need help again from you experts.
Thanks
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2020 04:01 AM
Hi,
In the patterns (windows-os desktops and Windows -OS Servers) which I added extensions yesterday . Right click on the UI action -->Synchronise with MidServers
This you can try.
Thanks,
Ashutosh

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2020 06:25 AM
Hi,
For first point you have to match the username of the assigned to person.
What you get in there? Do you get username of something else.
Have you seen this:
Second which applies to first also. You can use eval scripts in this pattern steps to modify the data and set it on CI.
https://docs.servicenow.com/bundle/paris-it-operations-management/page/product/service-mapping/reference/r_UsefulShortcutsPatDef.html
Check Set Parameter Value step.
Thanks,
Ashutosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2020 06:38 AM
Yeah I get such as example
.\Administrator OR domainname\sam_mathews

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2020 07:42 AM
Hi,
Then sam_mathews should be the username in your system if not then you have to use set parameter value and query the table to fetch it or use other steps to get value from user table.
Thanks,
Ashutosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2020 09:51 AM
And where can I see the logs which I got during debug of the pattern the one which I posted at the top I was looking in discovery log but that does not give me any such messages which I got when I was debugging.
So i got the results for lot of devices but some not and for those devices which I did not get it is showing the error as I mentioned. Is that means that the path or attributes in those devices might be wrong .So wanted to have those logs

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2020 12:48 AM
Hi,
When you debug the pattern you see it on the screen, When you run the discovery you see those in pattern logs and you can also check ecc queue.
Thanks,
Ashutosh