Archive for the ‘Windows’ Category

Problem with Outlook 2003 and Exchange 2010

Wednesday, July 28th, 2010

If you get the following error message after migrating over to Exchange 2010:

Cannot start Microsoft Office Outlook. Unable to open the Outlook window. The set of folders could not be opened.

It is because the default with Exchange 2010 is encrypted RPC traffic.    This is easily rectified, you can find the encrption setting in MS Exchange mail properties under control panel for the PC.  See here for more information.

Exchange 2010 and Certificates.

Monday, July 26th, 2010

When creating the CSR in Exchange 2010 ensure that all entries are made in lowercase. For whatever reason, mixing upper and lower case letters just seem to cause problems! See here on how to create Exchange 2010 CSRs.

I encountered problems with Outlook Anywhere complaining about MSSTD authentication and even the certificate provider automated system not authorising mixed case certificates. Especially when the certificate request doesn’t match (case wise) the common name: Example being CN = Mcdonalds.co.uk and using sync.McDonalds.co.uk or Legacy@McDonalds.co.uk. Notice the problem of the capital ‘D’.

Exchange 2010 and Windows Backup Server.

Monday, July 26th, 2010

Found a great write up here on how to use Windows Backup Server (ntbackup replacement).

This is particular useful for truncating Exchange logs, especially when you perform VMware level backups on Exchange servers.

Exchange 2010 and IPv6

Monday, July 26th, 2010

I solved a whole load of problems with getting Outlook Anywhere to work by enabling IPv6.  The customer had disabled IPv6 using a registry setting on their domain controllers and Exchange Remote Connectivity Analyzer would continually fail its testing with RPC_S_UNAVAILABLE (ox6ba) errors.   Removal of the offending registry setting and checking the IPv6 box in TCP/IP protocols for the network adapter solved the problem.

Redirecting the default website in IIS 7

Monday, July 26th, 2010

Use IIS Manager to simplify the Outlook Web App URL when SSL is required

You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the “IIS Manager” entry in the Client Access Permissions topic.

  1. Start IIS Manager.
  2. Expand the local computer, expand Sites, and then click Default Web Site.
  3. At the bottom of the Default Web Site Home pane, click Features View if this option is not already selected.
  4. In the IIS section, double-click HTTP Redirect.
  5. Select the Redirect requests to this destination check box.
  6. Type the absolute path of the /owa virtual directory. For example, type https://mail.contoso.com/owa.
  7. Under Redirect Behavior, select the Only redirect requests to content in this directory (not subdirectories) check box.
  8. In the Status code list, click Found (302).
  9. In the Actions pane, click Apply.
  10. For the new settings to take effect, open a Command Prompt window, and then type iisreset /noforce to restart IIS.

The full articule can be found here.

How to Backup and Restore IIS 7

Monday, July 26th, 2010

There doesn’t appear to be any gui solution to this, so you need to run the following commands to backup and restore respectively.

Backup -> %windir%\system32\inetsrv\appcmd.exe add backup “My Backup Name”

Resotre -> %windir%\system32\inetsrv\appcmd.exe add restore “My Backup Name”

Further information can be found here.

VMware vCenter Startup Problems

Friday, May 21st, 2010

If you ever find yourself having problems starting the VMware vCenter server always check that the default ports 80 & 443 haven’t been used elsewhere.  I recently did an install for the customer and a couple of days later the vCenter console wouldn’t load up.  Upon further inspection, I noticed the vCenter services not starting.   The event log reported the following:-

The description for Event ID 1000 from source VMware VirtualCenter Server cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event originated on another computer, the display information had to be saved with the event.

The following information was included with the event:

Failed to initialize VMware VirtualCenter.  Shutting down…

the message resource is present but the message is not found in the string/message table.

We also had the following event logged:

The description for Event ID 1000 from source VMware VirtualCenter Server cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event originated on another computer, the display information had to be saved with the event.

The following information was included with the event:

Error getting configuration info from the database

the message resource is present but the message is not found in the string/message table

There was nothing much more to report, not even in the Virtual Center logs.   Turns out that by doing the following:  http://localhost on the Virtual Center server, the server reported the following: This site is running TeamViewer.  Apparently the customer decided to install their remote management software which effectively usurped the ports used by Virtual Center.   I removed the software and everything started up without a problem.

P2V MS Windows Cluster Running Exchange 2003 and uninstalling the cluster service on W2K3.

Wednesday, March 24th, 2010

Great write-up here on the process of migrating over clustered Exchange servers into the virtual arena.    Also, whilst on the subject of clustered servers I found this Microsoft KB article outlining the process of uninstalling the cluster service on a Windows Server 2003 cluster.

Windows Server 2008 R2 & Microsoft Hyper-V Server 2008 R2 – Hyper-V Live Migration Overview & Architecture

Wednesday, February 24th, 2010

Microsoft have just released a white paper on Hyper-V Server 2008 R2 – you can pick it up from here.

Overview

With Hyper-V™ live migration, you can move running VMs from one Hyper-V™ physical host to another without any disruption of service or perceived downtime. Live migration is integrated with Windows Server 2008® R2 Hyper-V™ and Microsoft® Hyper-V™ Server 2008 R2. Since Hyper-V™ live migration can move running virtual machines without downtime, it will facilitate greater flexibility and value: • Provides better agility: Datacenters with multiple Hyper-V™ physical hosts will be able to move running VMs to the best physical computer for performance, scaling, or optimal consolidation without impacting users. • Reduces costs and increase productivity: Datacenters with multiple Hyper-V™ physical hosts will be able to service those systems in a more controlled fashion, scheduling maintenance during regular business hours. Live migration makes it possible to keep VMs online, even during maintenance, increasing productivity for both users and server administrators. Datacenters will be also able to reduce power consumption by dynamically increasing consolidation ratios and powering off un-used physical hosts during times of lower demand.

Windows Disk Alignment – Creating new Aligned Volumes

Tuesday, February 9th, 2010

TCPDump have a great write up on why and how to align Windows Server disks – see  here.  It’s not necessary with Server 2008 as this will automatically offset to 1024 out-of-the-box.   Also, with VMware if you create the partition using the GUI this will auto align the partition.