Read Remote Registry

By | 2019-08-22

This tip is based on existing tip (but with some bugfixes and explanation). The code should be treated as an example, e.g. more treating needed of other kinds of values

Usage

Dim CompName, sSMS_Site, sSMS_Travel As String

CompName = "\\MyComputerName"

sSMS_Site = ReadRemoteReg(CompName, HKEY_LOCAL_MACHINE, _
 &nsbp; "SOFTWARE\Microsoft\Windows NT\CurrentVersion", "SystemRoot")

Attachments

FileUploadedSize
970-20190822-170650-remotereg.zip8/22/2019 5:06:50 PM2583
Author: dwirch

Derek Wirch is a seasoned IT professional with an impressive career dating back to 1986. He brings a wealth of knowledge and hands-on experience that is invaluable to those embarking on their journey in the tech industry.

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.