I am wondering if it is possible and how to run a script against a couple hundred computers to export the following key value to a text file:
General. In General there is a String Value "UserTemplates" and it's the data in there I need to extract.
I tried deploying a batch to do this using a service that can execute scripts via an end agent that runs on the system, however, I found that since it's running under a service account, it cannot pull date from the "HKEY_CURRENT_USER" key.
How is it possible to get the date under that key for the actual user that is logged on and using the computer?
If this isn't possible let me know of a product that exists that can run these types of reports.. we'll be set.
echo %computername%/%username% >>\\server1\share\usertemplates.txt
reg query "HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Common\General" /v "UserTemplates">>\\server1\share\usertemplates.txt