NetworkGeezer Posted July 19, 2006 Posted July 19, 2006 I found this script on TechNet: strComputer = "MyComputer" Set objUser = GetObject("WinNT://" & strComputer & "/Administrator, user") objUser.SetPassword "testpassword" objUser.SetInfo
NetworkGeezer Posted July 19, 2006 Posted July 19, 2006 the 'net user' command can do this. I am not sure it can do this remotely unless you psexec it.
Guest Posted July 19, 2006 Posted July 19, 2006 From the techrepublic Essentially, the script reads in a list of computer names from a file called SERVERS.TXT. For each server listed in this file, the script connects to the administrator account on that server and resets the password. All results are posted to a log file (CHANGEPWDSERVERS.LOG), including accounts that the script was unsuccessful in changing.
MkII Posted July 19, 2006 Author Posted July 19, 2006 Thanks guys @Geoff: yes many passwords remotely. I like the Techrepublic one - to have a record to see that all are done is excellent.
Geoff Posted July 19, 2006 Posted July 19, 2006 Run 'net user' in a machine startup script. That'll work.
fooby Posted July 19, 2006 Posted July 19, 2006 We use Net user administrator ****** in a machine startup script. fooby
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now