Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

Get Windows Registry Key via Pattern

SNowUser11
Kilo Guru

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

find_real_file.png

 

1 ACCEPTED SOLUTION

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

View solution in original post

20 REPLIES 20

So shall I do this :

- In the patterns (windows-os desktops and Windows -OS Servers) which I added extensions yesterday . Right click on the UI action -->Synchronise with MidServers

OR

-In the mid server records. UI action button Synchronise with Pattern.

However there are many midservers does the pattern to be synched with all mid servers we have 4 midservers 

Thanks

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

Hi Ashutosh,

Did the sync of Mid Servers from the patterns as said above. I get the same error for the new step did like this .The first extension which I did yesterday went okay now. When I debug the new one did not gave errors but when I TEST it showed me this

find_real_file.png

Hi,

What if you run this with actual discovery schedule? because extension section runs after the identification section.


Thanks,
Ashutosh

I tried testing with another IP and another midserver and it worked. Might be the IP which I was trying did not had that path defined correctly. But with another Device it gave me results for all variables. Assuming that is something not which I can help and the windows team can take a look into it if I am not wrong. Also the one which worked yesterday was also not working but when I synced Midserver it worked though.

1) The other stuff when i have a reference custom field (for the lastloggedonuser) it should match with user table record where do i need to modify to parse the value from discovery and updates with user matching with user table.

2) I am capturing the value from environment and it gives me data from discovery but since i want to update against OOB Environment field which is choice type it is not inserting the new choices . 

Any guidance on this to proceed please

Thanks