TechShizz | All posts tagged 'Fault Finding'

Configure Logging in Exchange 2010

The main place to configure logging is when right clicking on the  server object under server configuration for a giver server.

Click on "Manage Diagnostic Logging Properties" and configure which logs are needed.

Manage Diagnostic Logging Properties


Logging can also be enabled for a given connector as shown below.

Send connector properties


On the Hub Transport role, we can configure if logging happens and where to save those log files.

Log settings tab


It's also worth noting that Group Policy may have some audit policies enabled that will pick up some Exchange events.

Local Audit Policy

Flush DNS on Multiple machines

Get a list of computers: dsquery computers, format it to a single column of computer names and save it to a file computers.csv on c:\


Put psexec on the source machine.




Psexec @c:\computers.csv ipconfig /flushdns

Windows Update Fix

If windows update fails to install try this:
Step by step instructions to get the issue fixed.


a) Press Windows key + X and select Command Prompt (Admin).


b) On the open Command Prompt window copy and paste the commands (all at once)


net stop wuauserv


net stop cryptSvc


net stop bits


net stop msiserver


ren C:\Windows\SoftwareDistribution SoftwareDistribution.old


ren C:\Windows\System32\catroot2 catroot2.old


net start wuauserv


net start cryptSvc


net start bits


net start msiserver


c) Wait for the process to complete.


d) Close the Command Prompt.



Now, try to install Windows Updates again and check if it helps.




I was getting this error too, but solved removing a value from registry:

  • Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\Applicability
    • ThresholdOptedIn

How is my registry now (downloading updates):

Test SMTP Email with Telnet

In this example I'll email from to


First ID the SMTP server via it's MX record:


Nslookup -q=mx


From a Telnet client run:


Telnet 25


At this point you should get a 220 response which means everything is OK up to this point.


Helo    <  just type the domain after helo - (not important)


Mail from:


250 OK


Rcpt to:



This is a test - Ignore


    < Hit Enter then  <Period Key> then enter to submit.


250 OK