Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: Scanning of 64 Bit registry

by Anonymous Monk
on Jan 11, 2011 at 12:33 UTC ( [id://881652]=note: print w/replies, xml ) Need Help??


in reply to Re: Scanning of 64 Bit registry
in thread Scanning of 64 Bit registry

Hi,

Thanks for your Support...

here i will give you detailed description.I am able to access keys when i am using

my @Keys_Lmachine = keys %{$RegHash{LMachine}{SOFTWARE}};

but if i change my query to

my @Keys_Lmachine = keys %{$RegHash{LMachine}{SYSTEM}}; it is returning undef

may be it is because SOFTWARE is a shared subkey but not sure....

Please comment..

Regards

Vikas Sharma

Replies are listed 'Best First'.
Re^3: Scanning of 64 Bit registry
by wwe (Friar) on Jan 12, 2011 at 18:53 UTC
    Hi Vikas,

    this is not true. HKLM/System is shared/same but HKLM/Software/<some subkeys> is redirected or "reflected" how MS says. Please read and understand all provided links to MS knowledge base.

    At the moment I have no 64-bit system to check but I'm pretty sure the problem is somewhere else. I use OO-style access to the Win32::TieRegistry object like this
    my $registry_obj = $Registry->Connect( $hostname, $registry_key, { Acc +ess=>'KEY_READ' } ) or do { $log->error("access to [$registry_key] on host [$hostname] f +ailed"); return; }; $registry_obj->SetOptions( SplitMultis => 0 ); $registry_obj->SetOptions( FixSzNulls => 0 ); $registry_obj->SetOptions( ArrayValues => 0 ); $registry_obj->SetOptions( DWordsToHex => 1 ); } ... foreach my $registry_subkey ( $registry_obj->SubKeyNames() ) { something; }
    but I don't think it makes any difference. regards willi

      Hi all,

      That problem is solved without any modification actually it was permission issue i gave all previliages to that particular key and that issue was resolved

      Thanks all for Your responses

      Regards

      Vikas Sharma

      <Together we can we will !

Log In?
Username:
Password:

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

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

    No recent polls found