Windows Scripts and Downloads
Index
- Go to DCDiag and NetDiag Gui
- Go to User Account Attributes
- Go to RID Pool Recovery
- Go toWindows 2003 Resource Kit
- DCDiag and NetDiag Gui
If you need to run diagnostics against your Active Directory domain.
Microsoft has written two good command line utilities that provide
information to help troubleshoot problems you maybe experiencing. Knowing
which switch options to select may not always be simple, but with this
front end click and go.
You will still need the command line tools DCDiag and NetDiag. If you
don't have the tools installed, you can install them from your server
install disk.
d:\support\tools\setup.exe -or- The links to the files reside on the
script download page listed below.
The script provides the option to run individual tests without having
to learn all the switch options. It automagically outputs the test details
to a text file and calls this text file up at the completion of the test.
This makes it much easier to read and save the details for future use and
analysis.
The front end is an hta file that provides check boxes, radio buttons and
dialogue boxes for input. You have the option to select the local server
or a remote DC via a text box. This script is customizable.
The storage location of the script storage of the output logfiles and
diagnostic tools are modified by a const definition in the working storage
section.
The script is at http://www.pbbergs.com/windows/windows.htm, download it
and save it to:
c:\program files\support tools\
Just select both dcdiag and netdiag make sure verbose is set. (Leave the
default settings for dcdiag as set when selected)
When complete search for fail, error and warning messages
- Active Directory User Account
Attributes
This download will provide ALL user ids from your domain in a date
generated csv file stored at c:\
which is modifiable via the const def'n FileLocation. The script will
determine all parameters
about your AD, modifications to add or remove parameters should be
realtively easy
I run this job nightly, since all users are listed we use it for SOX
compliance
Attributes include:
- User Name
- Last Logon Date
- Creation Date
- Home Folder
- Script
- Display Name
- Password Not Needed
- Password Does Not
Expire
- Expired Password
- Account Is Disabled
- New RID Pool how to and
its accompanying executable LookupDomainInfo.exe
If you have a domain where your RID FSMO is no longer capable of assining
new RID pools this document and the available download should help. The
download simply provides info on your domain which you then use on an LDP
connection to invalidate the remaining RID Pool which triggers AD to start
a new pool. It is very simple and straight forward.
- Windows 2003 Resource
Kit
