kakaze has asked for the wisdom of the Perl Monks concerning the following question:
I am using Win32::TieRegistry to pull some information from the registry.
When I use the Connect method on the local machine, all is well.
When I try to use the Connect Method on a remote machine, I get the following error:
Overlapped I/O operation is in progress
Here's the code I'm using for the connect:
# Connect to a remote Registry key: $regKey= $Registry->Connect( $Machine, $target, { Access=>KEY_READ } ) or die "Can't connect to machine: $Machine : $^E\n";
The Connect method apparently works fine connecting to Windows NT Machines but fails consistently for Windows 2000 (Server and Professional) The target is defined as:
$target = "LMachine\\Software\\Microsoft\\Windows\\CurrentVersion\\Uni +nstall\\";
I am running ActivePerl build 5.8.0
The reason I am using this method of finding out what software is installed on a Windows machine is that WMI only returns software installed from an MSI file.
All help would be appreciated,
Kakaze
<update> I should have noted that I am running the script on a Win2K platform. </update>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Win32::TieRegistry and Connect Method Errors (authenticate)
by tye (Sage) on Nov 12, 2003 at 20:24 UTC | |
by Anonymous Monk on Nov 12, 2003 at 21:53 UTC | |
by kakaze (Sexton) on Nov 13, 2003 at 09:51 UTC | |
by tye (Sage) on Nov 13, 2003 at 17:10 UTC | |
|
Re: Win32::TieRegistry and Connect Method Errors
by BrowserUk (Patriarch) on Nov 12, 2003 at 23:25 UTC | |
by kakaze (Sexton) on Nov 13, 2003 at 09:27 UTC | |
by kakaze (Sexton) on Nov 13, 2003 at 09:46 UTC | |
|
Re: Win32::TieRegistry and Connect Method Errors
by meetraz (Hermit) on Nov 12, 2003 at 17:58 UTC |