Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

win32 remote access and registry

by johnnywang (Priest)
on Jun 10, 2008 at 17:22 UTC ( [id://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 (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.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2024-03-19 09:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found