Solved

Obtain Keycode or GSM Site Id programmatically from server


Hi,
 
I'm writing some powershell scripts which will run on on our clients servers, these servers run Webroot AV and I need to be able to make API queries to Webroot relevant to that particular client from the script. 
 
To do this, I need to be able to correctly identify the client via obtaining either the webroot keycode, or GSM Site Id programatically from the server where the script is running. 
 
Are these values stored somewhere that can be read by PowerShell?
 
Thanks
icon

Best answer by freydrew 2 February 2018, 18:24

The webroot keycode/GSM key is mostly hidden on the local endpoint so you would not be able to script this detection. Some endpoint data is available in the registry under:
HKEY_LOCAL_MACHINESOFTWAREWRData
HKEY_LOCAL_MACHINESOFTWAREWow6432NodeWRData
 
However, we would recommend leveraging our API which can pull much more data:
https://unityapi.webrootcloudav.com/Docs
https://www.webroot.com/unityapicommunity
https://community.webroot.com/t5/Unity-API-KB/Getting-Started-with-the-Webroot-Unity-API-and-Postman/ta-p/274427

View original

This topic has been closed for comments

3 replies

Userlevel 7
Badge +47
The webroot keycode/GSM key is mostly hidden on the local endpoint so you would not be able to script this detection. Some endpoint data is available in the registry under:
HKEY_LOCAL_MACHINESOFTWAREWRData
HKEY_LOCAL_MACHINESOFTWAREWow6432NodeWRData
 
However, we would recommend leveraging our API which can pull much more data:
https://unityapi.webrootcloudav.com/Docs
https://www.webroot.com/unityapicommunity
https://community.webroot.com/t5/Unity-API-KB/Getting-Started-with-the-Webroot-Unity-API-and-Postman/ta-p/274427
Hi freydrew,
 
I definitely intend to use the API to pull additional data, but to do that I need to be able to identify the correct client. 
 
We have around ~80 clients in our reseller console, so I'm looking for a simple way to identify the client from the endpoint so I can query the API for data relevant to that client. 
Userlevel 7
Badge +47
I wanted to followup with you on this. 
 
It's best if you talk with support directly as they'll have to look into this issue directly. I'll message you directly with some more information. 
 
Thanks!

Cookie policy

We use cookies to enhance and personalize your experience. If you accept or continue browsing you agree to our cookie policy. Learn more about our cookies.

Accept cookies Cookie settings