Thursday, April 26, 2012

Fresh Win2008 R2 Domain Controller & Exchange 2010 Servers Installation

-Windows 2008 R2 x64 - install
-Computer Name (ny-dc-2k8)
-FQDN Name (mmx.com)
-NetBIOS Name (mmx)
-reg add hklm\system\currentcontrolset\services\tcpip6\parameters /v DisabledComponents /t REG_DWORD /d 255

-net user administrator /active:yes Pa55w0rd --> optional
-net user administrator /active:yes /passwordreq:yes --> optional

-Change Administrator's Name (Right Click -> Rename -> Change Login name -> select domain name -> change password)
-Logout Administrator -> Login with new administrator's name (c:\users\administrator) profile folder name won't be change.
-use DSADD.bat file or manually add user / group at command prompt.
-Start -> Run -> regsvr32 schmmgmt.dll (register Schema Master)
-Active Directory Users and Computers -> Raise Domain Functional Level -> 2003 (atleast)
-Active Directory Domain and Trust -> Raise Forest Functional Level -> 2003 (atleast)
-Copy or Insert Exchange 2010 installer to "ny-dc-2k8"
-Command Prompt -> c:\exchange\setup setup /PrepareLegacyExchangePermissions:ny-dc-2k8.mmx.com or setup /pl:ny-dc-2k8.mmx.com (if u have previous exchange servers)
-Command Prompt -> c:\exchange\setup setup /PrepareSchema or setup /ps (to run this command you should be in "Schema Admins" group)
-Command Prompt -> c:\exchange\setup  /PrepareAD /OrganizationName:mmx (to run this command you should be in "Exterprise Amdins" group)
-Command Prompt -> c:\exchange\setup  /PrepareAllDomains

-------------------------------------------------All the above commands run on  ny-dc-2k8---------------------------------------------------------------------------------------
For Exchange Server 2010 installation

-Windows 2008 R2 x64 - install
-Computer Name (ny-cas-2k8)
-Join to domain , become member server
-Login with administrator account
-2007 Office System Converter: Microsoft Filter Pack (FilterPackx64.exe - download and install it - 4.1MB)

Type in power shell

-Import-Module ServerManager 

hxxp://technet.microsoft.com/en-us/library/bb691354.aspx

(For a server that will have the typical installation of Client Access, Hub Transport, and the Mailbox role)
-Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,Web-Net-Ext,Web-Lgcy-Mgmt-Console,WAS-Process-Model,RSAT-Web-Server,Web-ISAPI-Ext,Web-Digest-Auth,Web-Dyn-Compression,NET-HTTP-Activation,RPC-Over-HTTP-Proxy -Restart

For Cas / Hub Transport Servers

Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,
Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,
Web-Net-Ext,Web-Lgcy-Mgmt-Console,
WAS-Process-Model,RSAT-Web-Server,Web-ISAPI-Ext,
Web-Digest-Auth,Web-Dyn-Compression,NET-HTTP-Activation,
Web-Asp-Net,Web-Client-Auth,Web-Dir-Browsing,
Web-Http-Errors,Web-Http-Logging,Web-Http-Redirect,
Web-Http-Tracing,Web-ISAPI-Filter,Web-Request-Monitor,
Web-Static-Content,Web-WMI,RPC-Over-HTTP-Proxy -Restart
 
For Hub Transport OR Mailbox Server Only
 
Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,
Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,Web-Net-Ext,
Web-Lgcy-Mgmt-Console,WAS-Process-Model,RSAT-Web-Server -Restart 



-Set-Service NetTcpPortSharing -StartupType Automatic

(Setup /m:install,Uninstall,Upgrade,RecoverServer) <- examples

[/InstallWindowsComponents] [/OrganizationName:]
[/TargetDir:] [/SourceDir:][/UpdatesDir:]
[/DomainController:] [/AnswerFile:]
[/DoNotStartTransport] [/EnableLegacyOutlook] [/LegacyRoutingServer]
[/EnableErrorReporting] [/NoSelfSignedCertificates] [/AdamLdapPort:]
[/AdamSslPort:] [/LanguagePack:] [/AddUmLanguagePack:]
[/RemoveUmLanguagePack:] [/NewProvisionedServer:] [/RemoveProvisionedServer:]
[/ExternalCASServerDomain:] [/MdbName:] [/DbFilePath:] [/LogFolderPath:] [/Upgrade] [/Hosting]

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

-setup    /m:install /r:CA,HT (Only CAS and Hub Transport Servers) <- run at command prompt

-setup   /m:install /r:MB

1 comment:

Anonymous said...

It's very simple
to find out any topic on web as compared to books, as I found this piece of writing at this web site.

my blog post :: stall mats