Windows NT remote registry import

Martin v. Loewis martin at v.loewis.de
Mon Oct 7 00:47:47 EDT 2002


logistix at zworg.com (logistix) writes:

> Yeah, believe it or not, there is no "default" way to remotely import
> .reg files to remote machines.  

I believe that not. On Windows NT+, it is possible to programmatically
access a remote registry: notice, not the .reg file, but the registry;
this requires the Remote Registry Service to run.

On the API level, this is done through RegConnectRegistry. With
Python's _winreg module, you get that as _winreg.ConnectRegistry.

Regards,
Martin



More information about the Python-list mailing list