Random Tech Articles
0

Here is an awesome script I found to change the admin password on all the computers in your domain.  It uses a simple visual basic object to search for all the computers in your domain's Active Directory then loops through each computer and sets a new password for the Administrator account.   On Error Resume Next rem http://blogs.technet.com/b/heyscriptingguy/archive/2007/07/03/how-can-i-change-the-local-administrator-password-on-all-my-computers.aspx Const ADS_SCOPE_SUBTREE = 2 Set objConnection = CreateObject("ADODB.Connection") Set objCommand = CreateObject("ADODB.Command") objConnection.Provider = "ADsDSOObject" objConnection.Open "Active Directory Provider" Set objCommand.ActiveConnection = objConnection objCommand.CommandText = _ "Select Name From 'LDAP://DC=hilohattie,DC=com' Where objectClass='computer'" objCommand.Properties("Page Size") = 1000 objCommand.Properties("Searchscope") = ADS_SCOPE_SUBTREE Set objRecordSet = objCommand.Execute objRecordSet.MoveFirst Do Until objRecordSet.EOF ...

Read More

Info

Fight Censorship

Categories

Twitter Updates

Viewers like you:

Subscribe via Twitter
59 Followers
Subscribe via Facebook
0 Fans
Subscribe via Email
Subscribe
Subscribe via RSS
Readers

Wanna Donate