cisco678 Posted October 6, 2015 Report post Posted October 6, 2015 I'm trying to pin down a registry value in HKCU. Would it be better to work with a MOF file or write a script? It seems like anything not in HKCU is easy to do via a MOF file. Quote Share this post Link to post Share on other sites More sharing options...
Peter van der Woude Posted October 6, 2015 Report post Posted October 6, 2015 That will be a hell of a job, because the ConfigMgr client runs in the SYSTEM context. That means it would require custom scripting in which you find the current logged on user and go through it's hyve in the registry. Quote Share this post Link to post Share on other sites More sharing options...
cisco678 Posted October 7, 2015 Report post Posted October 7, 2015 Thanks for the confirmation. I created a script and SCCM package to check for the existance of the registry key under the logged in user. It writes a different text file based upon the results and I have SCCM set to look for those files. Quote Share this post Link to post Share on other sites More sharing options...
Peter van der Woude Posted October 7, 2015 Report post Posted October 7, 2015 That's a very good start! You can make it even prettier by looking into configuration items. Quote Share this post Link to post Share on other sites More sharing options...