I've been looking around for a method to read the registry from remote Windows machines running XP and Win2003. I first tried Hardware/Software Inventory and that works great if the credentials on both machines match but I need to be able to specify unique credentials for each machine. I've looked at Win32::OLE and Win32::TieRegistry, and http://www.microsoft.com/technet/scriptcenter/guide/sas_wmi_vzbp.mspx?mfr=true. I didn't see anything that would help or if the answer is there it's most likely above my current skill level.

After trying a few other examples I stumbled on Win32::Lanman that might work but I get this message  Error installing package 'Win32-Lanman': Read a PPD for 'Win32-Lanman', but it is not intended for this build of Perl (MSWin32-x86-multi-thread-5.10) . I'm using strawberry Perl 5.10.0 on XP.
There's a thread http://www.mail-archive.com/perl-win32-users@listserv.activestate.com/msg37524.html that indicates Win32::Lanman needs to be updated and there's a volunteer, but I don't see anything more recent. There are instructions for compiling it using MSVC++ but I'm afraid that would become a second career before I got it figured out.

Are there any other ideas for getting at the remote registry or something I've missed?


In reply to Error: Read a PPD for 'Win32-Lanman', but ..not intended ..for this build (MSWin32-x86-multi-thread-5.10) by gctaylor1

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.