简体   繁体   中英

WAN friendly remote registry reads

I have a .NET app that does the following:

  1. Connect to a remote machine with the StdRegProv class from WMI.

  2. Query a subkey for all of its sub keys.

  3. In each of those sub keys (about 60 or so sub keys), download all of the registry values (about 10 or so values).

Over a WAN with a 1.5 Mbps link, it takes about a minute to download the contents of each sub key in step #3... so the whole process finishes in about a hour.

I have a feeling if I did one bulk download of all sub keys and contents, this process would take much less than a hour, but I can't find any API for this.

Does anyone know of a better way to download lots of registry values over a WAN? I'll be testing this with the Remote Registry Service as well, but the APIs look similar to WMI's StdRegProv, so I'm not sure if its going to be any better.

One of the requirements is to not have any third-party software on the remote machine. I'm limited to native Windows technologies (eg WMI, Remote Registry Service, etc.). That also means I have no control over compression.

为您自己编写代理服务,并通过政策进行推广

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM