3)
"A better method for changing the local Administrator password on all your
workstations, without traveling"
Tip 2501 at http://www.jsiinc.com/reghack.htm
sComputer = "SomeComputerName"
On Error Resume Next
Set oUser = GetObject("WinNT://" & sComputer & "/Administrator, user")
If Err.Number = 0 Then
oUser.SetPassword "testpassword"
oUser.SetInfo
Else
Wscript.Echo "Could not connect to " & sComputer
End If
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.