You can script it. Just add the script to the startup scripts. Here's a code
example:
Dim Container
Dim ContainerName
Dim User, UsrSID, b
Dim WshNetwork
Set WshNetwork = WScript.CreateObject("WScript.Network")
'--- Set objFSO=WScript.CreateObject("WScriopt.FileSystemObject")
ComputerName=WshNetwork.ComputerName
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & ComputerName & "\root\cimv2")
strSelect="Select * from Win32_UserAccount"
Set colSystemUsers = objWMIService.ExecQuery (strSelect)
For Each objSystemUser in colSystemUsers
if Right(objSystemUser.SID,3)="500" Then
Set objUser = GetObject("WinNT://" & ComputerName & "/" &
objSystemUser.Name & ",user")
NewPassword="MySuperPassword"
Call objUser.SetPassword(NewPassword)
Exit For
End If
Next
The script doesn't care about built-in admin account's name, can be used
with any name.
--
Dmitry Korolyov [
[email protected]]
MVP: Windows Server - Active Directory
Is there as group policy setting that will allow resetting all local
administrator passwords centrally?
If not does anyone know of a utility that would do this on 400 desktops?
-Ken