Shouldn't need to install ADSI on the clients, only if you want to run the
scripts from those PC's. I haven't had any problems with my NT4 boxes,
works like a charm.
Load up Visual Basic and create a form and put a command button on it. In
the code paste this piece of code. Some of it may wrap. You might want to
throw in some error checking too. Also just load up an array full of the
names of the servers to change password and then put it in a for loop and
iterate through all of the servers. Might even want to store them in a DB
and then load them up like that. Anyway, this will get you started. You
can also run this from a command prompt using the default host as
cscript.exe.
I did an email compile so it may have bugs :)
private sub command1_click()
Dim objComputer
Dim strDomain As String
Dim strPassword As String
Dim strComputer as string
strComputer = "mycomputer"
strDomain = "yourdomain"
strPassword = "Password*123"
Set objComputer = GetObject("WinNT://" & strDomain & "/" & strComputer &
"/administrator")
objComputer.getinfo
objComputer.setpassword strPassword
objComputer.setinfo
Set objComputer = Nothing
end sub
-----Original Message-----
From: Saraga, Scott l [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 13, 2001 12:25 PM
To: MSWinNT Discussions
Subject: RE: Quick way to change local Administrator passwords?
if you decide to go ahead with Jermey's idea with the ADSI script, don't
forget that you will have to install WSH and ADSI on your NT4.0 clients
first.
-----Original Message-----
From: Jeremy Morin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 13, 2001 3:15 PM
To: MSWinNT Discussions
Subject: RE: Quick way to change local Administrator passwords?
Script a simple ADSI script. Pretty easy to do. I wrote one some time ago,
I'll send it to you if I can find it.
jr
-----Original Message-----
From: Josefowski, Larry [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 13, 2001 12:07 PM
To: MSWinNT Discussions
Subject: RE: Quick way to change local Administrator passwords?
Only through third party-type software...
-----Original Message-----
From: Crumbaker, Ron [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 13, 2001 2:23 PM
To: MSWinNT Discussions
Subject: Quick way to change local Administrator passwords?
Is there a way to change local administrator passwords on all pcs at one
time?
We had a person change departments and I want to be able to change the
local administrator password on all pc, without having to do it remotely
one at a time?
Any suggestions?
Client PCs are, Winnt 4.0, Windows 2000 Pro, and Windows XP Pro.
Also, I don't want to change it on any of the servers.
Thank you,
Ron Crumbaker, MCP
Network Specialist
[EMAIL PROTECTED]
MPD, Inc. -An Employee Owned Company
Office 270-685-6381
Fax 270-685-6212
------
You are subscribed as [EMAIL PROTECTED]
Archives: http://www.swynk.com/sitesearch/search.asp
To unsubscribe send a blank email to [EMAIL PROTECTED]
------
You are subscribed as [EMAIL PROTECTED]
Archives: http://www.swynk.com/sitesearch/search.asp
To unsubscribe send a blank email to [EMAIL PROTECTED]
------
You are subscribed as [EMAIL PROTECTED]
Archives: http://www.swynk.com/sitesearch/search.asp
To unsubscribe send a blank email to [EMAIL PROTECTED]
------
You are subscribed as [EMAIL PROTECTED]
Archives: http://www.swynk.com/sitesearch/search.asp
To unsubscribe send a blank email to [EMAIL PROTECTED]
------
You are subscribed as [email protected]
Archives: http://www.swynk.com/sitesearch/search.asp
To unsubscribe send a blank email to [EMAIL PROTECTED]