Getting Registry Values from Remote Computers

Being able to use the Windows registry effectively is a very powerful tool for a Windows administrator. There are a number of ways to change settings: GPO, SCCM, logon scripts (not recommended), and of course the manual option of regedit. However, as far as I know, there isn’t really a good way to find out what registry settings are currently set on a bunch of computers. In order to alleviate that, I put together the below script to facilitate such queries:

To run this, simply specify one or more computers and the hive to search. The name of the hive is pretty forgiving. For example, you can use HKLM:\<path> or HKEY_LOCAL_MACHINE\<path>, either will work fine.

Leave a Reply

Your email address will not be published. Required fields are marked *