Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Perl module to update windows service password

by mukkollu (Initiate)
on Apr 05, 2013 at 21:55 UTC ( #1027226=perlquestion: print w/replies, xml ) Need Help??
mukkollu has asked for the wisdom of the Perl Monks concerning the following question:

Hi, Is there a perl module that I can use to update windows service password? Thanks, SM
  • Comment on Perl module to update windows service password

Replies are listed 'Best First'.
Re: Perl module to update windows service password
by NetWallah (Abbot) on Apr 06, 2013 at 05:27 UTC
    If your service account is in Windows Active directory, you could use the "set_password" method of Win32::AD::User.

    For a local user account, the "UserChangePassword" method of Win32API::Net should work.

                 "I'm fairly sure if they took porn off the Internet, there'd only be one website left, and it'd be called 'Bring Back the Porn!'"
            -- Dr. Cox, Scrubs

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1027226]
Approved by kcott
help
Chatterbox?
[erix]: relax, LanX it takes all sorts ;)
[LanX]: I have a tight schedule and some keep changing the data model claiming I could adapt easily
[erix]: we're there to improve the average ;P
[erix]: ... that does sound pretty annoying...
[LanX]: ny boss is the poster boy of the Peter principle
[LanX]: ... ran a fries shack successfully and thinks the same methods apply to a restaurant

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (8)
As of 2017-09-22 13:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (264 votes). Check out past polls.

    Notices?