Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Change password for NT4 domain user

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,25764
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Change password for NT4 domain user
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Change password for NT4 domain user - 9/8/2005 8:42:37 PM   
  cjwallace

 

Posts: 491
Score: 0
Joined: 3/5/2005
From: United Kingdom
Status: offline
Guys.

Does anyone know how to reset a password for a NT4 domain user?

I have

Set objUser = GetObject _
   ("LDAP://cn=MyerKen,ou=management,dc=fabrikam,dc=com")
objUser.SetPassword "i5A2sj*!"

but that is for AD, does anyone know how i can convert it to change a NT4 domain user password?

Many thanks for any urgent help you can give me
 
 
Post #: 1
 
 RE: Change password for NT4 domain user - 9/8/2005 9:51:52 PM   
  cjwallace

 

Posts: 491
Score: 0
Joined: 3/5/2005
From: United Kingdom
Status: offline
Anyone, this is so urgent and i am not sure how to do it.

Any help would be smashing

(in reply to cjwallace)
 
 
Post #: 2
 
 RE: Change password for NT4 domain user - 9/8/2005 10:19:41 PM   
  Zifter


Posts: 318
Score: 0
Joined: 1/5/2005
From: Belgium
Status: offline
(...fourth attempt to reply...)

Found this googling, so it isn't tested and you'll need to know the old password


      

HTH

(in reply to cjwallace)
 
 
Post #: 3
 
 RE: Change password for NT4 domain user - 9/8/2005 10:40:50 PM   
  cjwallace

 

Posts: 491
Score: 0
Joined: 3/5/2005
From: United Kingdom
Status: offline
Hello mate. thanks for that. yeah i saw that to but it means you need to know the password they already use.

I  have found a way using net user ABC Password to change the password for user ABC to Password which works fine. I have put it into a batch file.

What i would like to know, does anyone know with the net user command can you set it prompt the user to change at next logon?

(in reply to Zifter)
 
 
Post #: 4
 
 RE: Change password for NT4 domain user - 9/8/2005 11:09:15 PM   
  Snipah


Posts: 1343
Score: 6
Joined: 11/1/2004
From: Netherlands
Status: offline
You can make a VBS file, place a link in the RunOnce Key and let the user reboot.....

_____________________________

For more information, please see the "Read me First" topic.

http://www.visualbasicscript.com

(in reply to cjwallace)
 
 
Post #: 5
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Change password for NT4 domain user Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts