hi,

        Is it possible to write to Hkey_Current_User remotely using a perl
script. ???

use Win32::TieRegistry;
use Win32::AdminMisc;
open(User,'c:\utils\computer.txt');
while (<User>)
{

$machkey=$Registry->Open("\\\\$_\\CUser\\Control Panel\\International");
if ($machkey)
        {
                print " Changing $_ ";
                $hello=$machkey->CreateKey( "Calendars");
                $hello1=$hello->CreateKey( "TwoDigitYearMax")
        }
else 
        { 
                print " Unable to Open";
        }
}


This  Script cannot open the specified computers from the computer.txt
file.. Any suggesstions ????
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to