Boot onto DVD of Windows Server 2008
Choose “Repair your computer”
Launch cmd
Go to c:\windows\system32
Rename Utilman.exe to Utilman.exe.bak
Copy cmd.exe to Utilman.exe
Reboot on Windows
Do the keyboard shortcut Windows + U when on the logon screen
net user administrator Newpass123 inside the cmd
log on with the domain admin account and this new pass
change the password to remember it if needed
Reboot on the DVD to put back the original Utilman.exe
Thx to mathieu chateau
Posts mit dem Label AD werden angezeigt. Alle Posts anzeigen
Posts mit dem Label AD werden angezeigt. Alle Posts anzeigen
Dienstag, 26. Januar 2010
Mittwoch, 16. Dezember 2009
Saved Queries to Query Locked Out Accounts
You can use the Saved Queries feature of Windows Server 2003 to query Active Directory for any locked-out accounts. Just open the Active Directory Users and Computers console, right-click on Saved Queries in the console tree and select New --> Query. Type a name and description for the query, specify a query root (where in your namespace your query begins searching), and click the Define Query button. Since there's no default option for finding locked-out accounts in the Common Queries box, select Custom Search instead to open the Find Custom Search box. Then select the Advanced tab and enter the following LDAP string in the Enter LDAP Query textbox:
(&(&(&(objectCategory=person)(objectClass=user)(lockoutTime:1.2.840.113556.1.4.804:=4294967295))))
Click OK twice to create and run the saved query.
The string works on Windows Server 2003 SP1.
Update: Here's another LDAP query that finds all locked out accounts:
(&(objectCategory=Person)(objectClass=User)(lockoutTime>=1))
(&(&(&(objectCategory=person)(objectClass=user)(lockoutTime:1.2.840.113556.1.4.804:=4294967295))))
Click OK twice to create and run the saved query.
The string works on Windows Server 2003 SP1.
Update: Here's another LDAP query that finds all locked out accounts:
(&(objectCategory=Person)(objectClass=User)(lockoutTime>=1))
Abonnieren
Posts (Atom)