Thanks for the swift reply. I'm attempting to access the local registry.
I've tried logged on as the administrator for the local machine, but no joy. Unfortunatly I don't have access to anything other than Win9x boxes until this evening then I will post the error message verbatum. -----Original Message----- From: Raghuram P [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 27, 2002 9:38 AM To: 'Wheldon,M' Subject: RE: Newbe: Problems accessing win2kpro registry Does the current logged on user has administrative rights ? R u trying to access this from local or remote? To read the registry u need have local admin privileges -----Original Message----- From: Wheldon,M [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 27, 2002 2:19 PM To: '[EMAIL PROTECTED]' Subject: Newbe: Problems accessing win2kpro registry Hi, Being relativly new to Perl could someone please explain why the following doesn't work on a win2k pro box the problem is that the registry key is not being opened $CompName= $Registry->{"LMachine/System/CurrentControlSet/Control/ComputerName/Computer Name/"}; $Name=$CompName->GetValue("ComputerName"); when the following does $CompName= $Registry->{"CUser/Software/Microsoft/Windows/CurrentVersion/Internet Settings/"}; $Name=$CompName->GetValue("ProxyEnable"); Both work OK on Win9x so I presume there must be a permissions problem on the win2k box. thanks in advance Martin Wheldon _______________________________________________ Perl-Win32-Admin mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs _______________________________________________ Perl-Win32-Admin mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
