We are testing a new proxy and are trying query HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings for a string value - AutoConfigURL. We have defined a custom data definition in the manage software list for the correct HKCU key and string. We have verified that it works on some machines where the inventory was ran with the user logged on.
From what I can find on other posts, querying HKCU is next to impossible for a reliable query response. I have tried some of the sample scripts that copy HKCU keys to HKLM (Printer.vbs) and adapted for our purposes, but it will only work when the logged in user is a local admin. We have very few people with local admin rights.
I have seen a few posts suggesting you might have to use strasuser.exe but no examples or feedback indicating it worked.
Has anyone successfully queried HKCU? If so, can you post a sample script/process?
We are running a newly re-built 9.6 sp1 core with over 2000 machines which are almost exclusively Windows 7 64-bit Enterprise.