Monday, March 10, 2008
uCertify Test Engine Review
The download and installation of the product was straight forward. They even offer you a chance to do some practice tests for free to test out the software. The test itself is inexpensive coming in at $49.99 for a single user. Not bad in my opinion. So far I have only gone through the 15 question diagnostic test once, but the questions where challenging none the less.
I will be using this practice test for my 70-284 exam to truely test it out and to be honest I think it will work. I have to go through all of the exams first and then start using the "Adaptive Test" to really hone in on areas I have trouble in. Also the custom test allows you to pick areas of the exam that you are really struggeling with so you can "turn your weakness into stenght".
Friday, November 09, 2007
Handy Microsoft related blogs
Port 25 The Open Source Software Lab at Microsoft
Microsoft Exchange Team Blog (You had me at EHLO...)
Microsoft Internet Information Services HomepageAlso if you have sites that you find useful please leave them in the comments so I can addt them.
Monday, July 23, 2007
How to: Fix Background Cleanup Errors
To fix this I found a Microsoft Technet Article "Background Cleanup interval for a mailbox store is missing". It supplies an easy fix for my problem.
Open a registry editor, such as Regedit.exe or Regedt32.exe.
Navigate to: HKLM\System\CurrentControlSet\Services\MSExchangeIS\
Create a DWORD value called Background Cleanup with value data of 60000 (decimal) or 0xEA60 (hexadecimal). Do this for each mailbox on the server.
Close the registry editor. To make the changes take effect, do one of the following:
Dismount and mount the affected information stores.
Restart the Microsoft Exchange Information Store service.
Monday, July 09, 2007
How to: Recreate Outlook Web Access Virtual Directory in Exchange 2007
After a lot of looking around online I figured out a few things.
You cannot install .Net 1.1 on the OWA server. OWA requires IIS to be running in 64-bit mode (x64), while .Net requires 32-bit mode (x86). So I un-installed the .Net framework since I didn't need it any how and rebooted.
Things still where not working, so I tried to delete the Virtual Directory right from the IIS admin screen. That didn't work so I restored the Virtual Directory from a back up I had made right before (Trust me this is always a good idea!).
I also found out that with good examples and the proper references that the new PowerShell interface for Exchange is very powerful. However I am still looking forward to Exchange 2007 SP1 when Microsoft brings some things missing from the GUI back.
Today I found the proper way to recreate the Virtual Directory.
Step one is to view all of the Virtual Directories on the server.
Get-OwaVirtualDirectory will display a list of all the Exchange Virtual Directories on that server. The one you are looking for here is "OWA (Default Web Site)" on a default install.
Step two is to remove the default OWA Virtual Directory with:
Remove-OwaVirtualDirectory -identity "owa (Default Web Site)"
The next step is to recreate the OWA Virtual Directory with:
New-OWAVirtualDirectory -OWAVersion "Exchange2007" -Name "owa (Default Web Site)"
Now go into the Exchange 2007 Management Console and setup the correct internal and external URLs and any other settings you may have changed the first time around. One of the changes I recommend is on the "Authentication" tab the Logon Format for Forms based authentication to "User name only" and then setting the domain. This will make it easier for your users to login by not having to remember the domain or typing domain\username.
Thursday, June 14, 2007
Microsoft Exchange TCP/IP Ports List
TCP port 25 - SMTP
TCP port 26 - SSL secured SMTP
TCP port 110 - Post Office Protocol v. 3 (POP3)
TCP port 995 - SSL secured POP3
TCP port 143 - Internet Message Access Protocol v. 4 (IMAP4)
TCP port 993 - SSL secured IMAP4
TCP port 80 - HTTP for Outlook Web Access
TCP port 443 - SSL secured HTTP for Outlook Web Access (HTTPS)
TCP/UDP port 389 - Lightweight Directory Access Protocol (LDAP)
TCP port 3268 - LDAP communications with an Active Directory Global Catalog Server
TCP port 119 - Network News Transfer Protocol (NNTP)
TCP port 563 - SSL secured NNTP
TCP port 135 - Remote Procedure Protocol (RPC) however it will also use ports 1024 and up as needed.
TCP/UDP port 53 - Domain Name System (DNS)
TCP port 102 - Mail Transfer Agent (MTA) *Only used in X.400 connections.
TCP/UDP port 88 - KERBEROS
Additionally if you are secureing any servers such as front-end / back-end servers with IPSEC you will need to allow IP protocol 51 for the Authenitcation Header, IP protocol 50, TCP/UDP port 88 for KERBEROS, and UDP port 500 for Key Exchanges.
That's a pretty decent sized list "JUST" for one network service. On the plus side most of those are not needed in a default setup as POP3 and IMAP4 are rarely used in a pure Microsoft network.
Also hopefully this will help me remember some of the less used ports and let me ace my test!
-EDIT: Thanks to the commenter I updated this post to have the correct Global Catalog server port.
Friday, June 08, 2007
How to Delete the Undeletable File!
Geeks are Sexy has a good article on how to delete pesky undeletable files. I already knew about #1. I always first try to kill "Explorer.exe" from task manager before I do anything drastic. If that doesn't work I move on to number three if I have Unlocker handy.
I typically have either unlocker installed or an Internet connection to download a copy so I have never had to resort to using the Recovery Console on my computer. Also it is far more likely that I would have those then a Windows CD around to use the recovery console as I always forget to install it before hand.
Thursday, May 24, 2007
How to Use Nslookup to Verify MX record configuration
- Open a Command Prompt (Start, Run, cmd, [Enter])
- Type nslookup.
- Server
(The DNS server that you want to use. This is optional.) - Set q=mx (This sets the query type to "MX" {Mail Exchanger}.)
(The domain name you want to lookup the mail exchanger to.)
This operation can be done on Windows XP, Windows Server 2003, and Windows Vista. There are similar options if you are doing this from Linux.
- Open up a terminal (Differs by distribution)
- Type nslookup.
- Set type=mx (This sets the query type to "MX" {Mail Exchanger}.)
(The domain name you want to lookup the mail exchanger to.)
Thursday, May 17, 2007
Microsoft Exchange 2003 Send as vs. Send on behalf of
The key difference is how the reciever sees the message come in. When using "Send as" the reciever thinks it really came from the sender, but when using "Send on Behalf of" it comes across as "Steve Lippert sent on behalf of Steve's Manager".
Thursday, May 10, 2007
Recovering a failed Exchange 2007 server!
After I got Microsoft Windows Server 2003 R2 reinstalled and fully updated I had to reinstall Exchange. This being my first time recovering a failed server I was a bit nervious to say the least. I tried to just run Setup.exe but it said "Exchange is in an inconsistent state" or something very similar. So I opened up a command prompt and ran "setup /?". After reading through the help file I saw the holy grail of commands. "Setup /mode:RecoverServer" will do just that. Recover your server (Installed and configured as it had been.) Too bad our backups of the mail stores where bad otherwise I could have had everything back up and running within a matter of hours.
Wednesday, May 02, 2007
MC MCSE: A resource for aspiring MCSEs
Free Practice Exams - 44 free practice tests with over 4,300 total questions.
Free Study Guides - 110 study guides and tutorials to help you pass your exams.
Find Training Materials - Find the best books and training products for your studies.
Free Tech Magazines - Free subscriptions to ComputerWorld, eWeek and many more.
I took my first free test yesterday and got a 76% on it, passing, but not excellent. I find that most of the questions are well written but there where a few that needed some work. (Much like this blog I know!)
Tuesday, May 01, 2007
70-284 Exam Prep Problem Question Number 1
Basically you need to migrate from Lotus cc: Mail to Microsoft Exchange 2003, but the catch is that your Microsoft Exchange Server is not available yet. To complete this question you must correctly add in the necessary steps and what order they go in.
Step one is a simple, you must choose to do a Two-Step migration because your Microsoft Exchange Server is not available. Step two: you must specify a path to the migration files so that you can use them when your new Microsoft Exchange Server is ready. Step three: you must specify the Lotus cc: Mail Post Office and password to export the mailboxes with. Step four: here you select the information to migrate over to Microsoft Exchange. Step five: The final step in all of this is to select the users to export.
Hopefully now that I have written this out I can remember it at least long enough to get a question like this right on my Exam!
Tuesday, April 24, 2007
ISINTEG for Microsoft Exchange: a Troubleshooting Tool
Much like its cousin ESEUTIL you have to run it from the /bin directory of the c:\Program Files\exchsrvr directory as it is not added to the PATH system variable by default.
The easiest and safest option with ISINTEG is -test. Also don't forget to use -s [SERVERNAME] as this will tell ISINTEG what server to run the test on.
There are other flags that ISINTEG can use such as -patch, -verbose, and -l [LogFile]. But the one that you should be especially careful of is -fix. This has been know to kill an Exchange server, so make sure you have a back up of you Information Store before running this, as a bad store is still better than a bad installation of Exchange. You have been warned!
Monday, April 23, 2007
ESEUTIL for Microsoft Exchange, Part 1 The Basics
ESEutil (Extensible Storage Engine utility) is the sister EXE to NTDSutil (New Technology Directory Service I believe). There are three sides to this utility that any Microsoft Exchange administrator should know how to use. The harmless checking options, the hairier defragmentation option, and finally the scariest restore options.
On a side note it should be mentioned to any new Microsoft Exchange administrators that ESEUTIL is not a part of the PATH system variable, and as such must be run from the Exchange/bin folder. If you find yourself using ESEUTIL frequently I would suggest adding it to your path as I have.
First there is the mostly harmless options /k, /mh, and /cc. These flags will do various things that Microsoft Exchange will normally do for you, such as re-run log files after you remount a store. The /mh flag will check the store to see if it was properly shut down and along the way will tell you when the last time it was backed up. This is an easy way to start learning how to use ESEUTIL properly.
Example: “eseutil /mh "d:\program files\exchsrvr\mdbdata\priv1.edb" (Assuming Exchange 2003 is installed on the d:\ drive.)”
This command should return “State: Clean Shutdown” within its output. Also you can use /mh to see how many /r commands have been run against it, with anything greater than zero being your number.
There are other simple flags to use such as /ml to check log files, /mm to dump the metadata (not truly useful to most administrators, but interesting to see none the less.), /mk to see information about the checkpoint file (.chk files).
ESEUTIL /k will run a similar function to running a checksum against a file to verify its integrity. It will only VERIFY the database, not repair as that is what /p and /r are for. This is most often used when Microsoft Exchange has been shut down improperly. On another side note it worth mentioning that hundreds of uninitialized pages are normal, but bad checksums or wrong page numbers are bad. Also you can verify log files with /k in the same way you verify stores.
Example: “eseutil /k "d: \program files\exchsrvr\mdbdata\priv1.edb" “
Just as easy to run is ESEUTIL with the /d flag. This will defragment the .edb file and recover lost disk space. This is much akin to running jetpack against the DHCP.mdb file to defragment the DHCP database in Microsoft Windows Server 2003 and not so much like defragmenting you hard drive with Windows built in defragmenter. You must dismount the store in order to run eseutil /d, but you do not need to stop the Information Store service to do so.
The last function of ESEUTIL, and by far the scariest function set is the restore options. The /r and /p flags can really muck up a Microsoft Exchange store quickly. These options will require their own blog entry so stay tuned for more.
A quick over view of all the options for Microsoft Exchange’s ESEUTIL.
Eseutil /cc Performs a hard recovery after a database restore.
Eseutil /d Performs an offline compaction of a database.
Eseutil /g Verifies the integrity of a database.
Eseutil /k Verifies the checksums of a database.
Eseutil /m Generates formatted output of various database file types. e.g. /mh
Eseutil /p Repairs a corrupted or damaged database.
Eseutil /r Performs soft recovery to bring a single database into a consistent or clean shutdown state.
Eseutil /y Copies a database, streaming file, or log file.
Monday, April 02, 2007
A simple way to Secure Microsoft Exchange 2003
Small Business Server users should take note of this as the default install of Small Business Server has Microsoft Exchange 2003 Server running on your Active Directory Domain Controller with Microsoft SQL Server running as well. Also more than likely this same server is also running your Active Directory DNS server, DHCP server, WINS server and in some cases even your public Web Site running on IIS and an FTP server also running on IIS.
Secure Multi-Purpose Internet Mail Extension also known as S/MIME
Using a Public Key Infrastructure to secure Microsoft Exchange Server 2003
For all of this to work you need a client that supports S/MIME such as Outlook, Outlook Web Access, and most 3rd Party POP3 & IMAP4 clients. Also you need to both trust the same Certificate Authority (CA).
PKI's are best used with-in the same Active Directory Domain/Forest with a Windows 2003 Certificate Authority as the CA for the domain. Also Auto Enrollment must be enabled or all certificates would need to be manually approved by a CA administrator.
Using a Front-end / Back-end to secure Microsoft Exchange 2003
This configuration allows more ports opened on the external firewall and fewer ports opened on the internal firewall. Also, the data and log files that Exchange needs are keep more secure behind two firewall and no direct access from the Internet. The front-end server will then respond to all Internet SMTP requests and then forward them on to the back-end servers for delivery to users mailboxes.
While this method may be a "Best Practice" it requires at least twice as much hardware and software. You now need at least two servers, two firewalls, and two copies of Windows Server 2003 and Exchange server 2003. To allow this setup to withstand even more abuse you should then also Cluster the Exchange back-end server requiring Windows 2003 Enterprise Edition and Exchange Enterprise edition on the two back-end servers.
A heavily suggested setup is to have the Front-end server running Outlook Web Access (OWA) with a widely know Certificate Authority SSL certificate to provide data encryption to the clients over the public Internet. This requires TCP port 443 (for default installs). Also since the whole reason to have Microsoft Exchange is to send and recieve email with other organizations via the Internet you will need SMTP running over TCP port 25, with Anonymous Access allowed. These would then be the only two ports open on the public/external firewall. On the internal firewall you would need to open TCP port 80 to allow OWA access to the back-end servers, TCP/UDP ports 389 for LDAP (Lightweight Directory Access Protocol), TCP port 3268 for LDAPGC (Global Catalog), and all of this is running with in the confines of IPSEC which would need IP Protocol 51 for Authenticating Header, IP Protocol 50 for Encapsulating Security Protocol, UDP port 500 for the key exchange and TCP/UDP port 88 for KERBEROS.