Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

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.

Comment on win32 remote access and registry
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?
Username:
Password:

What's my password?
Create A New User
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? | Other CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2014-12-29 06:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (185 votes), past polls