RE: Win32 Module to change local Password on Remote Computers




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:perl@xxxxxxxx]
Sent: Sunday, March 12, 2006 6:12 AM
To: beginners@xxxxxxxx
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>


.



Relevant Pages

  • Re: CoCreateInstanceEx fails
    ... "Manash" wrote in message ... > I am trying to access a component in a remote PC from a head less ... But the same API succeeds when run on desktop machine (windows ... I thought of WMI to for remote activation etc. ...
    (microsoft.public.windowsce.app.development)
  • Re: NetShareEnum returns ERROR_ACCESS_DENIED for Win2003 and WinXP...
    ... I am studying a sample code from MSDN about API NetShareEnum. ... I run the app on my PC to enumerate net share for a remote PC in our ... And my domain account belongs to the Domain Administrators ... In general can an you browse the remote computer shares from explorer? ...
    (microsoft.public.win32.programmer.networks)
  • CoCreateInstanceEx fails
    ... I am trying to access a component in a remote PC from a head less ... as a workgroup member.Here CoCreateInstanceExfails saying rpc server not ... But the same API succeeds when run on desktop machine (windows ... I hope I am supplying correct machine name in the API. ...
    (microsoft.public.windowsce.app.development)
  • NetShareEnum returns ERROR_ACCESS_DENIED for Win2003 and WinXP...
    ... I am studying a sample code from MSDN about API NetShareEnum. ... I run the app on my PC to enumerate net share for a remote PC in our LAN. ... And my domain account belongs to the Domain Administrators group. ...
    (microsoft.public.win32.programmer.networks)