Last Error: dns query failed in queue exchange 2007/2010

Firstly, make sure your firewall has an exception for DNS (UDP 53) and SMTP (TCP 25)If you cannot successfully ping the smart host and receive a reponse within a few seconds, I'd suggest clearing the cache of your Internal DNS Server then restarting the DNS Server service on your DC, and restarting Microsoft Exchange Transport…

Removing a dead Exchange 2007 server from Organization – AD and Console

  This will require some manual editing of the Configuration container. Done incorrectly you can destroy your domain, but that being said… Run ADSIEdit.msc or ldp.exe. Expand or go to configuration then follow path of CN=configuration,DC=company,dc=com -> Services -> Microsoft Exchange -> organization -> Admin groups -> name of the group -> servers. Right click…

How to renew a self signed certificate in Exchange Server 2007

When a new Exchange Server 2007 role is installed on a computer the server automatically generates a self signed certificate to be used with services like transport (SMTP), POP,  IIS (OWA and Exchange Web Services) and IMAP. This certificate expires right after the completion of one  year from the date server was installed or the…

Create new owa virtual directory

Prior to this we must first make a site called "clients" New-OWAVirtualDirectory –OwaVersion: Exchange2007 –Name "owa" –WebSiteName "clients" Set-OwaVirtualDirectory -identity "owa (clients)" -DefaultClientLanguage 3098 This is if you want to set the default one language, so that clients do not need to choose the first time they login to OWA 3098 is code for  Serbian…

generate exchange certificate without CA in your organization

New-ExchangeCertificate -domainname webmail.mydomain.com,SRVCASHUB-1,SRVCASHUB-1.mydomain.com,autodiscover.mydomain.com,mail.mydomain.com ###The old certificate is enabled for IIS, POP, IMAP and SMTP. The new certificate generated using the above command is enabled only for POP, IMAP and SMTP – IIS is missing. To enable the certificate for IIS: Enable-ExchangeCertificate -thumbprint "3DA55740509DBA19D1A43A9C7161ED2D0B3B9E3E" -services IIS Remove-ExchangeCertificate -thumbprint "C5DD5B60949267AD624618D8492C4C5281FDD10F"

generate exchange certificate with CA in your organization

New-ExchangeCertificate -GenerateRequest – Domainname mail.mydomain.com, Services.mydomain.com, autodiscover.mydomain.com, webmail.mydomain.com, ServerName -FriendlyName mail.mydomain.com -PrivateKeyExportable: $True -path c:\Cert.req Import-ExchaneCertificate -path c:\certnew2.cer | Enable-ExchangeCertificate -Services IIS, SMTP #delete the existing certificate, which we replaced Remove-ExchangeCertificate -Thumbprint 08AEB1E82FF900AD1EA7E05999E2F10EFAFB10BA

import bulk atribute to user; bulk import user; import atribute to ad using logonname

First you must install powershell 2.0 if not exist, if it is installed on Win 2008 R2 PowerShell 2.0 is present. Next, you must install ActiveRoles Management Shell for Active Directory 64-bit you can download from this location http://www.quest.com/QuestWebPowershellCmdletDwnld64bit After install start powershell and type command EXAMPLE: Import-csv C:\importfolder\importFile.csv | foreach-object {Set-qaduser $_.samaccountname -telephoneNumber $_.telephoneNumber…