I get the following message:#! c:\perl use strict; use warnings; my $Registry; use Win32::TieRegistry 0.24 ( TiedRef => \$Registry, Delimiter=>"/", ArrayValues => 1, SplitMult +is => 1, AllowLoad => 1, qw( REG_SZ REG_EXPAND_SZ REG_DWORD REG_BINARY REG_MULTI_SZ KEY_READ +KEY_WRITE KEY_ALL_ACCESS ), ); # ... $pc = remote machine name ... my $regKeyName = 'HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/Curren +tVersion/Uninstall/'; print STDERR "Checking the registry on $pc.\n"; my $remKey= $Registry->Connect( $pc, $regKeyName, { Access=>Win32::TieRegistry::KEY_READ() } ) or Carp::croak("!! Couldn't connect to $pc or can't open reg key ($r +egKeyName).\n". "!! - Is File and Printer Sharing enabled?\n$^E\n");
The system could not find the environment option that was entered
It doesn't seem to currently be a problem with Windows Firewall, as I turned it off and got the same message. At least the firewall is not the only problem. I've also added read permissions to HKEY_LOCAL_MACHINE\SOFTWARE\ on the Vista machine for Guest and Everyone, just in case this was the issue. I'm running out of ideas of how to get this to work.
Does anyone have suggestions? Ideally I'd only open up the permissions in Vista just enough to allow this to work.
I'm using ActivePerl 5.8.8 Build 819 and Win32::TieRegistry 0.24
Thanks much,
Jonathan
In reply to Win32::TieRegistry and Vista by Shade
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |