Tuesday, October 17

Lots of people sharing on how to install Exchange 2007 via command Shell. How about uninstall?

Lets see:

Log on to the server on which you want to remove one or more Exchange 2007 server roles.
Open a Command Prompt window and navigate to the directory where you installed the Exchange Server 2007 files.

Navigate to the \bin directory.

ExSetup.exe /mode:uninstall /role:

Where , in a comma-separated list:

  • Mailbox (or MB, or M)
  • UnifiedMessaging (or UM, or U)
  • ManagementTools (or MT, or T)
  • HubTransport (or HT, or H)
  • ClientAccess (or CA, or C)
  • EdgeTransport (or ET, or E)

Upgrading to Exchange 2007 - From Exchange 5.5/2000/2003/Lotus Notes

Dear all, lots of our customers are asking, how to move from Exchange 5.5 to Exchange 2007.

This table explain all:

Exchange 5.5
Inplace Upgrade - Not Supported
Transition- Not Supported
Direct Migrate- Upgrage/Migrate to E2000/E2003 first

Exchange 2000
Inplace Upgrade - Not Supported
Transition- Supported
Direct Migrate- Supported

Exchange 2003
Inplace Upgrade - Not Supported
Transition- Supported
Direct Migrate- Supported

Mixed E2000/E2003
Inplace Upgrade - Not Supported
Transition- Supported
Direct Migrate- Supported

Lotus Notes
Inplace Upgrade - Not Supported
Transition- Not Supported
Direct Migrate- Using thrid party tool

Monday, October 16

Personal Firewall or IPSec

IPSec or Personal Firewall?

Recently, Microsoft Malaysia shares lots of info on IPSec. From vendor point of view, we explain it as below:

IPSec and a personal firewall can be used to permit or prevent communications on the network, when should you use one or the other? While the answer is not always clear, my dear customers, peers and friends, here are some guidelines:

A personal firewall is not equipped to provide secure communications between computers - this is for sure. The purpose of a personal firewall is to block or allow communications between the computer. For example, a personal firewall cannot encrypt communications. When you need to secure communications, IPSec should be your choice.

IPSec was not designed to act as a personal firewall - this also you need to put into your consideration. It can only permit or block communications based on port numbers, or IP address. Nowadays, new firewalls provide stateful filtering and application layer filtering, neither of which can be done by IPSec.

IPSec can be scripted in a Windows Server 2003 or Windows 2000 domain, IPSec policies can be configured in Group Policy and deployed to thousands and thousands of computers. IPSec also can block incoming and outgoing communications, while some firewalls only block incoming communications - thats what by default of Windows Firewall.

Finally, IPSec can be applied to systems during startup to protect communications before all services are initialized. Many personal firewalls do not do this.

DNS - SRV records for Active Directory

SRV records are the important elements for Active Directory to function properly. In this session, just a quick share on What SRV records used for Active Directory:

_msdcs
This is a Microsoft-specific subdomain that stores SRV records for domain controllers with roles in AD. These roles include domain controllers, global catalog servers, and primary domain controller emulators.

_sites
This contains records for domain controllers based on site. Microsoft Clients like Windows 2000/XP/Vista can use this record to locate domain controllers and global catalog servers that are in their site, so that they can avoid using services across the WAN.

_tcp
This contains domain controllers in the AD domain. If windows clients need to find a DC in a specific site, they will look here. The TCP protocol will be used to request the information.

_udp
Kerberos clients can use UDP port 88 to request tickets and port 464 for password changes.

DomainDnsZones
Zone information that should be replicated to all DCs in the domain that have the DNS service installed.

ForestDnsZones
Zone information that should be replicated to all DCs in the forest that have the DNS service installed.

Use nslookup to query for SRV service location records, you should:

NOTE: you will need to have reverse lookup zone setup

Type nslookup and then press Enter.
Type set type=all and then press Enter.
Type ldap.tcp.dc._msdcs.domainname and then press Enter.
Repeat this process for as many SRV records as you want to confirm.

Using LDIFDE

ldifde is an Important tools for system administrations. Recently, one of our customer called up for tools to update 600 objects in Active Directory - My God - am I going to do one by one?

Let us intro and explain a bit on LDIFDE.
--------------------------------------------------------------------------------
LDIFDE stands for Lightweight Directory Access Protocol Interchange Format (LDIF) Directory Exchange, a utility for bulk import/export of data between line-delimited (LDIF) text files and Active Directory. Unlike CSVDE, ldifde can add, delete, or modify multiple user accounts, groups, computers, printers, or other AD objects in a single batch operation - solve the problem.

Examples
You can create one file called C:\newusers.txt, copy the text shown below and save it, which creates three new user accounts:

# Create user account for Poo
dn: CN=Poo,OU=Support,DC=London,DC=com
objectClass: users
AMAccountName: Poo
userPrincipalName: poo@london.com
displayName: Poo Malaysia
AccountControl: 514

# Create user account for Jen
dn: CN=Jen,OU=PM,DC=London,DC=com
objectClass: users
AMAccountName: Jen
userPrincipalName: jen@london.com
displayName: Jen Project Manager
AccountControl: 514

# Create user account for Gavin Lai
dn: CN=Gavin Lai,OU=Management,DC=london,DC=com
objectClass: users
AMAccountName: Glai
PrincipalName: gavinlai@london.com
displayName: Gavin Lai
AccountControl: 512

Use ldifde to import the previous file into AD to create the users:

ldifde -i -f C:\newusers.txt