Your policies may require that the user be logged on to run this API.  A
kludgey work-around is to use WMI and Win32_Process to launch a process
remotely that makes the password change for you, for example via 'NET
USER UserName Password'.  Assuming you have administrator access on the
remote machine, prior knowledge of the original password isn't even
necessary.

 


-----Original Message-----
From: Babale Fongo [mailto:[EMAIL PROTECTED] 
Sent: Sunday, March 12, 2006 6:12 AM
To: beginners@perl.org
Subject: Win32 Module to change local Password on Remote Computers

Hi,

 

I'm trying to programmatically change a local password on several
Computers,
but the Win32API::Net and Win32::NetAdmin modules seem not to be
appropriate
for that.

Wondering whether there's any Win32 API module for that. I tried using
the
UserChangePassword function, and wasn't surprise it didn't work.

 

 

<snip>



--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to