Microsoft Dynamics CRM 4.0 is compatible with Windows Server 2008. This public Knowledge Base article written by the CRM Support Team covers common issues encountered with deploying Microsoft Dynamics CRM 4.0 on Windows Server 2008.

Link