1. install a new Windows server with the same name as the old Exchange server
2. start recovery server mode of Exchange by running setup /m:RecoverServer from the Exchange media
3. restore the mailbox databases