User AD Info - Ron Crumbaker Web Console 3.21
After seeing Hector's post, that reminded me I had added a similar button to Ron's console. Either one will work. If you notice that results returned from the original query take several seconds, you might want to try this one. I noticed in my environment it was because the script needs to query every domain controller in order to determine last logged in time or last failed login time. I added a prompt asking if they need that information returned. Only if the tech wants that information will every DC be queried otherwise that section is skipped.
-
Copy machrest.asp elsewhere for paranoia
-
Edit MachRest.asp, near other button definitions (near the top) (but I suggest under the User Lookup button) add
<input style="WIDTH: 180px" type="button" value="AD Info" name="Btnl735">
-
Add the contents of the attached .txt near the bottom; just after all of the other Sub / End Sub routines.