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
File | Uploaded | Size |
---|---|---|
970-20190822-170650-remotereg.zip | 8/22/2019 5:06:50 PM | 2583 |