> I have written a simple script to retrieve the value of a single key in the 
> registry which works fine when logged into the Windows NT4 Workstation 
> machine as an administrative user. But when i try and run it as a user who 
> is not in the administrators group it fails, even though the same user can 
> view the selected key in regedit or with the resourcekit program reg.exe. 
> Has anyone got any suggestions as to what i'm doing wrong (i'm using 
> activestate perl 5.6.0.620)
> 
> thanks,
> Mike

Not unless you show us the code.

Just a wild guess ... you are trying to open the key for reading 
right? Not for writing ... try to use OpenEx() and specify that you 
only want to read.

Jenda

== [EMAIL PROTECTED] == http://Jenda.McCann.cz ==
            FUCK THE ARMY!
                       Myself
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-admin

Reply via email to