Join domain batchfile

With the following script you can yoin a workstation to a domain. Copy the script into notepad and save it as an batchfile.

@echo off

C:
cd \Temp\Tools
netdom.exe JOIN %COMPUTERNAME% /Domain:corp.local

 /UserD:WSimport /PasswordD:*** /OU:”OU=Workstations,DC=corp,DC=local”

Make sure the user you use in the script has administrative rights, so this user can join the workstations into de domain corp.local.

Defrag an Exchange Maildatabase

With the following commando, you can perform an offline defragmentation of the maildatabase. Be sure that you dismount the specific database before you start the commando.

“D:\ExchSvr\Bin\eseutil.exe” /d “E:\SG1MD1\SG1MD1.edb” /t “D:\TEMP\temp_defrag.edb”
pause

The path to the de maildatabase can be different in some environments, so you have to change that path manualy.

E:\temp\temp_defrag.edb is the path and filename for the tempdatabase. This can also changed manualy.

Make sure you dismount the specific mailstore.

     

       

Renew Exchange 2007 self-signed certificate

When you install an Exchange 2007 server, there will also installed an self-signed certificate. This will be used for your internal OWA, OMA, ActiveSync. After one year, this self-signed certificate will be expired and it has to be renewed. So let’s take a look on that…

First you will get some information about the current certificates.

        

       

       

       

       

Remember that you have to distribute this new certificate to all mobile devices.

Installing Exchange 2007 SP1 on Windows 2003 server

This article will show an installation of Exchange 2007 Service Pack 1 on Windows 2003 server. The first step is to install al the prerequisites for Exchange 2007. Make sure your Windows 2003 server operating system is 64 bits.

  • Microsoft .NET Framework 2.0 x64
  • Microsoft .NET Framework 2.0 x64 update KB926776
  • Microsoft Management Console 3.0 for Windows 2003 x64 KB907265
  • Microsoft PowerShell 1.0 for Windows 2003 x64
  • Domein Functional Level of 2000 Native of higher
  • Internet Information Services (IIS)

       

       

       

The installation of Exchange 2007 Service Pack 1 is finished. Remember, this is only the basic installation without any rollup packs.