HighTechTalks DotNet Forums  

Scripting a password change

Dotnet Scripting microsoft.public.dotnet.scripting


Discuss Scripting a password change in the Dotnet Scripting forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
James L Szatkowski, PE
 
Posts: n/a

Default Scripting a password change - 08-25-2006 , 09:21 PM






I'd like to see how to script (WSH or JS or VBS or even Python) a password
change in WinXP. Anyone seen such an animal?
I've seen some pushout scripts from Admin's on domains but I'm looking for a
simple user to change their domain password. It'd be nice
to script the regular password change so when it pops up, it's done with the
pattern I've established instead of doing it from memory every time.
I've looked through hours of Google search and I haven't seen one yet.

Thanks!!
Jim



Reply With Quote
  #2  
Old   
Alex Turmer
 
Posts: n/a

Default Re: Scripting a password change - 08-31-2006 , 08:04 AM






It looks to me that wmi is the way to go

I found this

strComputer = "MyComputer"
Set objUser = GetObject("WinNT://" & strComputer & "/Administrator,user")
objUser.SetPassword "testpassword"
objUser.SetInfo

at this site
http://www.activexperts.com/activmon...inPassword.htm

I know that the system management guys at Project-Network do all this
sort of thing via wmi

If you get your script to work - I would love to see the result

cheers

AJ


James L Szatkowski, PE wrote:
Quote:
I'd like to see how to script (WSH or JS or VBS or even Python) a password
change in WinXP. Anyone seen such an animal?
I've seen some pushout scripts from Admin's on domains but I'm looking for a
simple user to change their domain password. It'd be nice
to script the regular password change so when it pops up, it's done with the
pattern I've established instead of doing it from memory every time.
I've looked through hours of Google search and I haven't seen one yet.

Thanks!!
Jim



--
www.deployview.com
www.nerds-central.com
www.project-network.com


Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.