Home » 2007 » August » Page 2

Microsoft Windows DNS Troubleshooter

Name resolution Failures
Internal domain lookup failures
It is important to understand the customer’s internal name resolution configuration. When troubleshooting a particular issue, you will need to know what servers are authoritative for the zone and how the client is configured to retrieve the record. In most cases, the client should only point to DNS servers that […]

Useful Commands for the Windows Debugger

Commands within the debugger:
.cls clears the screen
arrow up previous commands
Dr. Watson User dump
======================================
| list the current image or the app hat was dumped
~ list of threads in the process
|m list drivers
~*kb stack infor for threads
~#s to switch to thread #
kb stack trace “dump stack”
!drivers list of drivers
!lmi {driver/image} give info and symbol info
!lmv m {driver/image} […]

How do I Restore Corrupted Windows Performance Monitor Counters?

Restoring Corrupt Performance Counters
Note: Backup the following registry keys before doing the procedure below:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\Current Version\Perflib\
1. Place the Windows 2000 Server CD into the CDRom drive
2. Open a CMD prompt window and issue the following commands
(hitting ENTER after each command):

cd %systemroot%\system32
REN perf?009.dat *.bak
Expand <CD_drive_letter:>\i386\perfc009.DA_ %systemroot%\system32\perfc009.DAT.
Expand <CD_drive_letter:>\i386\perfd009.DA_ %systemroot%\system32\perfd009.DAT.
Expand <CD_drive_letter:>\i386\perfh009.DA_ %systemroot%\system32\perfh009.DAT.
Expand <CD_drive_letter:>\i386\perfi009.DA_ %systemroot%\system32\perfi009.DAT

Where <CD_drive_letter:> is the letter […]

Windows Cluster Printing Registry Structure

All printer information is stored under the following registry key:
HKLM\Cluster\Resources\ResourceGUID\
All printer, driver, port information, spool directory, job completion tiemout is stored in separate keys under the following parameters key:
HKLM\Cluster\Resources\ResourceGUID\Parameters
Structure necessary for other Windows based print clients under the following key:
HKLM\Cluster\Resources\ResourceGUID\Parameters\Environments
Monitor information, TCP/IP ports, port address, name and SNMP information under the following key:
HKLM\Cluster\Resources\ResourceGUID\Parameters\Monitors
The same printer […]

Useful Links for Active Directory related Troubleshooting and Installation

If you need a one stop shop for Microsoft KB articles for Active Directory troubleshooting check out the links below 
Account Lockout Problems
189541 - Using the Checked Netlogon.dll to Track Account Lockouts
306133 - Account Unlocks and Manual Password Expirations Are Not Replicated Urgently
817701 - Service Packs and Hotfixes That Are Available to Resolve Account Lockout […]

How to force Active Directory Software Deployment policies to be applied with every logon

The following steps are intended to force software depolyment policies to be applied to a target computer on every logon. These steps are useful in a slow or unreliable link situation:

Confirm that only Software Deployment policies are not being applied from gpresults report run on the client .
Access a problem computerthat is failing to […]

How do I troubleshoot Active Directory Application Deployment problems?

The following event ids may appear when group policy based application deployment fails:
Event ID 1000
Event Type: Error
Source: UserEnv
Description:
The Group Policy client-side extension Application Management was passed flags (1)
and returned a failure status code of (1612).
Event ID 102
Event Type: Error
Source: Application Management
Description:
The install of application “<Package Name>” from policy “<Policy Name>” failed. The
error was The […]

Useful SQL Server DBCC Commands and Syntax

Here is a list of DBCC commands and relevant syntax:

DBCC activecursors [(spid)]
DBCC addextendedproc (function_name, dll_name)
DBCC addinstance (objectname, instancename)
DBCC adduserobject (name)
DBCC auditevent (eventclass, eventsubclass, success, loginname, rolename, dbusername, loginid)
DBCC autopilot (typeid, dbid, tabid, indid, pages [,flag])
DBCC balancefactor (variance_percent)
DBCC bufcount [(number_of_buffers)]
DBCC buffer ( {’dbname’ | dbid} [, objid [, number [, printopt={0|1|2} ][, dirty | io | […]

How do I Disable Windows Product Activation Notices with VBscript?

If you are interested in disabling the Windows product activation notices with a vbscript then the following steps maybe of interest to you:

In the root of your system drive save the following in a text file
Set objWMI = GetObject(”winmgmts:{impersonationLevel=
impersonate}!\\” & computer & “\root\cimv2″)Set objWPA = objWMI.ExecQuery(”Select * from
Win32_WindowsProductActivation”)
For Each PA in objWPA
PA.SetNotification(0)
Next
Replace computer with […]

How do I fix IIS 6 Digest Authentication Timeout problem?

When Microsoft developed IIS 6.0 then enhanced the capabilities of the digest authentication to be called advance digest authentication. If you have a advanced digest authenticated web site that is running on IIS6 and you find that after a few minutes user have to re-enter their credentials then the following info may be of […]