http://www.perlmonks.org?node_id=691282

johnnywang has asked for the wisdom of the Perl Monks concerning the following question:

Hi all, first time to need to use win32, not even sure how to get started: I'd like to run a perl script on my windows box, it will remotely logged into some machines (say with domain/user/password), and change a registry value on each of those machine. Is that doable? and what are the relevant packages? it looks like Win32::TieRegistry is ok for the registry part, but not sure how to login and access it. Thanks.

Replies are listed 'Best First'.
Re: win32 remote access and registry
by Corion (Patriarch) on Jun 10, 2008 at 17:54 UTC

    You can connect to a remote machine by using '\\HostName\LMachine\' instead of 'LMachine\', just as the documentation states. The authentication is simply done through domain credentials, that is, your program must be run with an account that has the appropriate rights to the remote machine or the domain that the remote machine belongs to.