Technology Integration Services by BrainWave Consulting Company, LLC - Because Good Technology Means Better Business


BrainWave Technology News

Home | Services | News | Search | Site Map | Feedback | Library | Document Archive | UltraTech KB

 

Diagnostics


HOT LINKS

Why Security Is Important
Installing & Maintaining Windows Systems
Generating Diagnostics Logs

Home
Services
Vendors
Associations
Tech Providers
Other Links Document Archive
UltraTech KB

Last updated: 25 August 2010 ; Supplements this Knowledgebase Article.

Generating Diagnostics Logs

From time to time, it is necessary to provide or obtain diagnostics information for the purpose of solving Systems or Networking problems in Windows. The following scripts have been created to facilitate the creation of both types of logs, making it easier to gather all of the relevant information into one place.

The Windows System Diagnostics logs require the use of some really cool tools from SysInternals.com to generate the appropriate logs. The Windows 2003 Resource Kit also provides some useful tools for the Systems Diagnostics script. The networking diagnostics logs are generated with all native tools, including the Windows Support tools.  Third party tools, like TCPVCON, are optional.

The logs generated by both of these scripts will be stored in C:\Storage\Logs\Debug by default. The scripts can be altered to use a different location.  Except for the initial folders, as listed below, any directories that do not already exist, will be created by these batch files.

It is recommended that you store your scripts in a folder such as C:\Scripts. You will probably have to create this folder, as it is does not exist by default.  When executing the scripts, it is advisable that you use the full pathname (i.e. C:\Scripts\Debug.BAT) to avoid any conflict with other files of the same name on your system.

If you execute the scripts without modification, the only folders that you will need to create in advance will be:

  •  C:\Scripts ........... Batch files run from here

  •  C:\Utils ............... SysInternals (and other 3rd party) utilities placed here

 

PLEASE NOTE: It is not a widely known fact that Windows XP Pro and Windows 2003 come with more (and sometimes better) native utilities than XP Home or Windows 2000. If you are running XP Home, you can expect to get a little less information than is possible with XP Pro or 2003. There are enough tools from  SysInternals.com to make up most of the difference, however.


Preparing Your Machine

Okay, let's get started.  In order to get your machine ready to run these scripts, you're going to need to execute the following steps:

  •  Open a CMD window

  •  Create the initial folders  (C:\Scripts and C:\Utils)

  •  Download the SysInternals utilities and place them in the C:\Utils folder

  •  Download the ResKit from Microsoft and install it to its default location

  •  Download the Diagnostics Script(s) and place them in C:\Scripts

  •  Execute the Diagnostics Script(s) from the C:\Scripts folder

 

To open the CMD window that you'll be using for much of this exercise, go to the START menu:

 START --> RUN --> CMD
 ...and in the CMD window, type these three commands in order:

  •       MD C:\Scripts

  •       MD C:\Utils

  •       PUSHD C:\Scripts


Creating System Logs

  •  Installed Apps, Open Files, DLLs, Running Processes

If you have not previously downloaded any utilities from SysInternals, you should do so now.  The list of files you need for this script can be found below.  After downloading these utilities, please extract/unzip them into the C:\UTILS folder. The download link for each of them can be found at the very bottom of each page describing the utility.

Now, you're ready to download the Systems Diagnostics script and place it in the C:\Scripts folder.  Go to the link below, scroll all the way down on the right-hand side to find the download link, then save the file.  Once you've downloaded it, go back into the CMD window and execute it by typing: DEBUG.BAT.

System Diagnostics Script

This script will create 8 logs which you can use to help diagnose your systems problems.  If you are seeking help from 3rd parties, you can zip up these logs and make them available to whomever is assisting you with your problem.  The log file that contains the current date is a combination of all the other files.  This is the file that you will primarily want to send to someone else. This information, in addition to what can be gleaned from the Event Logs, will go a long way to helping you resolve your issues quickly and accurately.

NOTE: Always check the logs before making them available to third parties, as they may contain private information about your machine or your network that you do not wish to have exposed arbitrarily.


Creating Networking Logs

  •  IP Configuration, Caches, Routing Tables and other Network Settings

The following script does not require any 3rd party utilities to run successfully. If you have NT4 or later, it will run just fine and generate the logs. However, if you have XP or 2003, you will get additional info not available to Windows 2000 or earlier.

Download the following script, place it in C:\Scripts folder, go back into the CMD window and execute it by typing: IPDEBUG.BAT.

Network Diagnostics Script

This script will create 6 logs which you can use to help diagnose your networking problems.  If you are seeking help from 3rd parties, you can zip up these logs and make them available to whomever is assisting you with your problem. 

NOTE: Always check the logs before making them available to third parties, as they may contain private information about your machine or your network that you do not wish to have exposed arbitrarily. This is especially true of your network diagnostics logs.  You may want to consider obscuring some of the details (such as IP addresses or computer name) that will be provided in these logs...


Troubleshooting & Log Analysis Services

To assist you in your problem resolution, one of the services we provide is the analysis of the logs generated by these scripts. We can also perform additional troubleshooting and diagnostics -- all for the small fee of $25.00 USD

Logs should be zipped and then emailed to: [email protected]

Go To Top

 

UltraTech -- Computer Solutions for Work and Play
Contact the WebMaster
Copyright (c) 1996-2007, BrainWave Consulting Company, LLC
All Rights Reserved
This site was last modified on August 12, 2007 at 08:00 PM
Technology Integration Services by BrainWave Consulting Company, LLC - Because Good Technology Means Better Business

Home | Services | News | Search | Site Map | Feedback | Library | Document Archive | UltraTech KB