Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

win32 remote access and registry

by johnnywang (Priest)
on Jun 10, 2008 at 17:22 UTC ( #691282=perlquestion: print w/replies, xml ) Need Help??

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 (Pope) 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.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://691282]
Approved by ww
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2021-09-18 18:05 GMT
Find Nodes?
    Voting Booth?

    No recent polls found