August 22,2012 by Damian ScolesExchange Server 2013 Preview Prerequisites Script – 2008 R2 SP1

While building my lab for Exchange 2013 Preview I was struck by how much of a pain the prerequisite installation was for my lab so I began working on an install script to handle this.   I used a script that I felt was extremely useful for Exchange 2010.   This base script was written by several Exchange MVPs who felt this would be something to spend the time on for the Exchange user base.  In that spirit I felt that I would try to create something that would give back to the Exchange community as well.   My script is a heavily modified version of their Exchange 2010 script.   Currently this script is in BETA format and should be used with caution.   I am currently going through revision testing now to work out any bugs, errors, etc that I have seen in my testing.

*** DISCLAIMER ***

DO NOT install Exchange Server 2013 Preview in a production environment.
This script is not supported by Microsoft.
This script is written AS IS. Use at your own risk

*** END DISCLAIMER ***
Credit must be given to the various sources I have used to create this script. I have heavily modified the original Exchange 2010 Prerequisite script that was created by Anderson Patricio, Bhargav Shukla and Pat Richard. See these links for information on that script:

Blog 1
Blog 2

Now that we have that out of the way, let’s get to the script and what it does. In Exchange Server 2013 Preview there are only two roles that can be installed, CAS and Mailbox. Each of these is accounted for in separate steps in the script. There are two reboot required due to the Windows Features installed as well as the Hot fixes installed.

The script is menu driven for ease of use. The current Menu looks like this:
***********************************************************
Exchange Server 2013 [On Windows 2008 R2] – Features script
***********************************************************

Please select an option from the list below.

1) Install Client Access Server prerequisites – STEP 1
2) Install Client Access Server prerequisites – STEP 2
3) Install Mailbox and or CAS/Mailbox prerequisites – STEP 1
4) Install Mailbox and or CAS/Mailbox prerequisites – STEP 2
5) Configure NetTCP Port Sharing service
(Required for the Client Access Server role
Automatically set for options 2 and 4)
6) Install 2010 Office System Converter: Microsoft Filter Pack 2.0
(Required if installing Mailbox Server roles
Automatically set for option 4)
7) Install Typical (CAS/Mailbox) prerequisites – STEP 2 [with .PDF ifilter; disable IPv6]
8) Disable TCP/IP v6
9) Install & Configure Adobe PDF Filter Pack
10) Launch Windows Update
16) Install – One Off – STEP 1 – Windows Components
17) Install – One Off – STEP 2 – .NET 4.5 RC
18) Install – One Off – STEP 3 – Windows Management Framework 3.0, RC
19) Install – One Off – STEP 4 – Unified Communications Managed API 4.0
20) Install – One Off – STEP 5 – Office 2010 Filter Pack (w/SP1)
21) Install – One Off – STEP 6 – WinIDFoundation
22) Install – One Off – STEP 7 – KB2619234 (Hotfix)
23) Install – One Off – STEP 8 – KB2533623
24) Install – One Off – Step 9 – Final Cleanup
98) Restart the Server
99) Exit

Menu selections 16-24 should be used just for installing individual components if you are missing them in your first attempts to install the prerequisites either with the script or on your own.

To install the CAS role, use Menu selections 1 and 2.  For the CAS/Mailbox or Mailbox Role servers, use Menu selections 3 and 4. Make sure you reboot in between steps and at the end of Step 2 or 4 depending on the role install you are performing.

The PDF Filter from the previous version has been left in the script as well.

Menu selection 24 is the cleanup of removing C++ and registering ASP. Net and running iisreset.

Please provide any feedback or improvements you would like to see in this script.

Last and certainly not least, this script is in BETA right now and is not completely finished.  I need to do some further testing to make sure it works 100% as expected.

Download the code from here. Rename the file from .doc to .ps1 to run it.

- Damian Scoles, Technical Architect
You can read more posts by Damian at Just a UC Guy.

Comments(0)     Add a Comment

Search Blog

 
Tag Cloud
acquision acquisition acquisitions Active Directory Add new tag AdminStudio Analysis Services 2008 analytics application packaging Applications audiocodes balanced scorecard bandwidth best practices BI blackberry BPOS budget business intelligence business strategy BYOC BYOD career certification Chicago Chicago Bears CIO Cisco Citrix Cloud CmdLets columnstore index communications compatability ConfigMgr configuration manager consulting corporate leadership Cost Management/Print crix CUCM customer experience DAG data governance dcs DCS deployment deactivation Dell directory synchronization Directory Syncronization DirSync DNS email ESX exchange execution Fair Market Value Fantasy Football File Share forensics gizmo HandShake handshake software health care infrastrucutre install integration internal messages IP IT leadership licensing litigation load balancing Lync M&A MDM merger merger and acquisition Microsfot microsoft migration mms2013 mms 2013 network monitoring NIC object limit Office 365 Office 2013 OSD outlook P&C PLA Polycom PowerShell Print print costs profit Profitability Analysis–SQL Server 2012 SSIS and SSAS meets JD Edwards propery & casualty protocol QLogic Relativity reporting reverse proxy RPO RTO SCCM SCOM scripting scsm SCVMM search service excellence service manager sharepoint smartphone specialists spug sql SQL PASS Summit SSL strategy Strategy & Execution strategy mapping Surface Symantex Sysem Center System Center system center service manager Task Scheduler task sequence technology telemedicine telephony training troubleshooting truecrypt ucoms unbalanced scorecard unified commmunications unified communications Upgrade VDI VDI-in-a-box videoconferencing virtual machines VMM Walgreens WAN Windows Windows 8 Wise Package Studio WSP WSUS XenDesktop
 
Bloggers Talks
  • 0Replies
    Workflow Manager: Building wor....
  • 0Replies
    Create 100s of Email Aliases i....
  • 0Replies
    Keep a website alive – Power....
  • 0Replies
    Updated Lync Debugging Utiliti....
  • 0Replies
    Managed Print Contracts - Is i....
  • 0Replies
    Configuration Manager 2012 SP1....
  • 0Replies
    Deploying the UE-V Agent in Co....
  • 0Replies
    Exchange 2010 SP3 – PowerShe....
  • 0Replies
    Exchange 2010 SP2 – PowerShe....
  • 0Replies
    SharePoint Designer Cannot Dis....
  • 0Replies
    SharePoint Designer Cannot Dis....
  • 0Replies
    How to encrypt your hard drive....
  • 0Replies
    What’s your disaster recover....
  • 0Replies
    Exchange 2013 RTM CU1 – New ....
  • 0Replies
    Exchange 2013 RTM CU1 – Chan....
  • 0Replies
    Exchange 2013 RTM CU1 – Chan....
  • 0Replies
    Exchange 2013 RTM CU1 – Chan....
  • 0Replies
    Exchange 2013 RTM CU1 Prerequi....
  • 0Replies
    Cleaning up your Application A....
  • 0Replies
    Exchange Version Check – 201....
  • 0Replies
    How to limit a SharePoint list....
  • 0Replies
    Exchange 2013 CU1 - Database C....
  • 0Replies
    Using the Request User Input T....
  • 0Replies
    MMS2013 Day Two (The Search fo....
  • 0Replies
    Exchange 2013 in the field....
  • 0Replies
    Exchange 2010 SP3 – Sent Ite....
  • 0Replies
    Search form with a Dynamic Wid....
  • 0Replies
    Exchange 2010 SP3 – IE10 –....
  • 0Replies
    Configuration Manager 2012 XML....
  • 0Replies
    Microsoft Business Intelligenc....
  • 0Replies
    Configuration Manager 2012 SP1....
  • 0Replies
    Yammer and SharePoint: Enterpr....
  • 0Replies
    Jet Stress 2013 – First Look....
  • 0Replies
    Remove Pilot WorkItems from Se....
  • 0Replies
    Quick PowerShell Tips....
  • 0Replies
    Office 365 Mailbox Move Failur....
  • 0Replies
    Mobile Device Management – a....
  • 1Replies
    Develop different Timelines fo....
  • 0Replies
    Z-Hire and Z-Term Review....
  • 0Replies
    Recursive Distribution List Sc....
  • 0Replies
    Sync Internet Explorer Favorit....
  • 0Replies
    Searching the Visual Studio To....
  • 0Replies
    Exchange 2013 – Configure Yo....
  • 0Replies
    Exchange Admin Console - Migra....
  • 0Replies
    Unlocking ConfigMgr 2012 Objec....
  • 0Replies
    Setting your local time zone o....
  • 0Replies
    Replicating your search topolo....
  • 0Replies
    Exchange 2010 SP3 Released....
  • 0Replies
    Querying TFS for Data....
  • 0Replies
    Find All Active Distribution G....
  • 0Replies
    Managing Ex-Employee Mailboxes....
  • 0Replies
    Script Troubleshooting in Powe....
  • 0Replies
    Log Files are your Friend....
  • 0Replies
    Video: MS System Center IT Eff....
  • 0Replies
    Admin Audit Logs – Scripted....
  • 0Replies
    SQL Extended Event: Extended E....
  • 0Replies
    Mailbox Audit Logs – Scripte....
  • 0Replies
    SQL Extended Event: Problem De....
  • 0Replies
    SQL Extended Event: Introducti....
  • 0Replies
    SharePoint 2013 Hardware & Sof....
  • 0Replies
    Using File Server Resource Man....
  • 0Replies
    Restoring a DB when the databa....
  • 0Replies
    User Can Log Into OWA, but Not....
  • 0Replies
    Important ConfigMgr 2012 SP1 H....
  • 0Replies
    Special Mailboxes in Exchange ....
  • 0Replies
    Incorrect Virtual Memory Amoun....
  • 0Replies
    PowerShell Scripts and Useful ....
  • 0Replies
    The New Office 365? - Part 1 o....
  • 0Replies
    Repository Pattern with Cross ....
  • 0Replies
    Enabling Single Sign-On for Ap....
  • 0Replies
    Exchange, MessageLog Tracking,....
  • 0Replies
    PowerShell and Arrays....
  • 0Replies
    Memory Leak with KB2799728....
  • 0Replies
    Urgent MS Hotfix for Hyper-V 2....
  • 0Replies
    Showing system message to user....
  • 0Replies
    Troubleshooting the MBAM (Micr....
  • 0Replies
    Search Filters in Outlook....
  • 0Replies
    Install Linux Configuration Ma....
  • 0Replies
    Group Membership Approval – ....
  • 0Replies
    Exchange Server 2013 – Admin....
  • 0Replies
    Mailbox role in Exchange 2013....
  • 0Replies
    Discontinued features from Exc....
  • 0Replies
    Discontinued features from Exc....
  • 0Replies
    Exchange Server 2013 – Admin....
  • 0Replies
    Exchange Server 2013 – Admin....
  • 0Replies
    Configuration Manager 2012 Sof....
  • 0Replies
    PowerShell Quickscripts – Ce....
  • 0Replies
    Exchange Servers – Serial Nu....
  • 0Replies
    Configuration Manager 2012 SP1....
  • 0Replies
    Installing System Center Confi....
  • 0Replies
    Postmaster Mailbox check....
  • 0Replies
    InfoPath Error “The query ca....
  • 0Replies
    My Exchange Toolbox....
  • 0Replies
    Have resources accept invites ....
  • 0Replies
    Disabled Firewall Service in X....
  • 0Replies
    Exchange Server 2013 RTM – T....
  • 0Replies
    Exchange 2010 - Cannot remove ....
  • 0Replies
    Windows 8 Tip - Keep User Acco....
  • 0Replies
    Exchange Server 2013 RTM – S....
  • 0Replies
    Office 365 Preview: Lync Web S....
  • 0Replies
    Messages Stuck in 'Defunct' SM....
  • 0Replies
    Legal hold and eDiscovery with....
  • 0Replies
    Exchange Server 2013 Preview â....
  • 0Replies
    Exchange Server 2013 Preview â....
  • 0Replies
    You can't hide your tracks fro....
  • 0Replies
    Office 365 Preview: Integrated....
  • 0Replies
    Planning Virtualization Rights....
  • 0Replies
    Exchange Server 2013 Preview â....
  • 1Replies
    Lync/Exchange Server 2013 are ....
  • 0Replies
    Exchange Server 2013 Preview â....
  • 0Replies
    Exchange Server 2013 Preview â....
  • 0Replies
    Configuration Manager 2012 SP1....
  • 0Replies
    Windows 2003/2008 – AD Conne....
  • 0Replies
    Exchange Server 2013 Preview S....
  • 0Replies
    Necessary skills for a success....
  • 0Replies
    Windows 8 Client Hyper-V and C....
  • 0Replies
    Exchange Server 2013 Preview â....
  • 0Replies
    Installing and Configuring Rig....
  • 0Replies
    Manage Voice Mail option missi....
  • 0Replies
    Windows RT: What You Need To K....
  • 0Replies
    Windows 8 To Go....
  • 0Replies
    Deploy DPM 2012 SP1 Beta Agent....
  • 0Replies
    Exchange Server 2013 Preview â....
  • 0Replies
    Exchange Server 2013 Preview â....
  • 0Replies
    Using Offline Updates with Con....
  • 0Replies
    Exchange Server 2013 Preview â....
  • 0Replies
    Error running the Freebusy con....
  • 0Replies
    Troubleshooting: Can't create ....
  • 0Replies
    Planning SharePoint - Part 2....
  • 0Replies
    Planning SharePoint - Part 1....
  • 0Replies
    Using Office 2013 and SharePoi....
  • 0Replies
    Exchange Server 2013 Preview â....
  • 0Replies
    ConfigMgr 2012 SP1 New OSD Fea....
  • 0Replies
    ExFolders error after decomiss....
  • 0Replies
    How to Color Code a SharePoint....
  • 0Replies
    Data Modeling for Data Governa....
  • 0Replies
    Exchange 2010 Upgrade – OAB ....
  • 0Replies
    Devices for Mobile Windows App....
  • 0Replies
    Exchange Server 2013 Preview â....
  • 0Replies
    Troubleshooting: Lync 2010 DB ....
  • 0Replies
    Cascading Drop-Downs in a Shar....
  • 0Replies
    System Center Configuration Ma....
  • 0Replies
    Exchange Server 2013 Preview â....
  • 0Replies
    Configuration Manager 2012 SP1....
  • 0Replies
    Exchange Server 2013 Preview P....
  • 0Replies
    Digital Evidence Preservation....
  • 0Replies
    Setup of a Hybrid server for O....
  • 0Replies
    Exchange Server 2013 Preview P....
  • 0Replies
    New Office 365 Preview - 2013 ....
  • 0Replies
    Quick Admin Menu Access in Win....
  • 0Replies
    How to put an icon into a Shar....
  • 0Replies
    Exchange Server 2013 Preview P....
  • 0Replies
    Customizing the Forefront Thre....
  • 0Replies
    Debugging the InfoPath "this f....
  • 0Replies
    Content deployment of Site Col....
  • 0Replies
    Troubleshooting: Error install....
  • 0Replies
    Test-Drive of Self Service Ins....
  • 0Replies
    Data Modeling - Inmon vs. Kimb....
  • 0Replies
    LYNC 2010 and SQL 2008 Cluster....
  • 0Replies
    VirtualBox vs VMWare Player fo....
  • 0Replies
    Resolution relevance in Videoc....
  • 0Replies
    Public Folder Replicas – Mov....
  • 0Replies
    ThinkPad Driver Packs for Conf....
  • 1Replies
    Exchange Address List Upgrade ....
  • 0Replies
    Lync-to-Phone Is Now Available....
  • 0Replies
    Lync Databases Stuck in "Restr....
  • 0Replies
    SharePoint 2010 and BGInfo....
  • 0Replies
    Office 365 Remote Powershell....
  • 0Replies
    DPM 2012 - No SQL Instances Ap....
  • 0Replies
    Quick Powershell Tips 3....
  • 0Replies
    Connecting Excel 2010 to SQL S....
  • 0Replies
    The green aspect of videoconfe....
  • 0Replies
    Checking Out of Office – Exc....
  • 0Replies
    Lync and Forward (Web) Proxy E....
  • 0Replies
    Monitoring Service Manager Inc....
  • 0Replies
    Personal Archive Won’t Open ....
  • 0Replies
    Sending Email to a contact in ....
  • 0Replies
    VCenter Services will not star....
  • 0Replies
    Exchange 2003 to Exchange 2010....
  • 0Replies
    Concepts and Techniques on Bus....
  • 0Replies
    Personal Archive – Follow-up....
  • 0Replies
    Law Firm Portals and Support D....
  • 0Replies
    SQL Server Data Alerts - Email....
  • 0Replies
    Quick Powershell Stuff 2....
  • 0Replies
    Using a Config.xml file with U....
  • 0Replies
    Lync 2010 Edge Server Jumpstar....
  • 0Replies
    Remote PowerShell for Office 3....
  • 0Replies
    Quick Powershell Stuff 2....
  • 0Replies
    Outside Dial-In to Outlook Voi....
  • 0Replies
    Microsoft Office 365 Deploymen....
  • 0Replies
    Videconferencing support in en....
  • 0Replies
    Office 365 migrations and a F5....
  • 0Replies
    How to be a great change agent....
  • 0Replies
    Exchange Management Shell Erro....
  • 0Replies
    Directly boot to Windows 8 Con....
  • 0Replies
    PowerShell and Managed Metadat....
  • 0Replies
    Use the RACI model for effecti....
  • 0Replies
    Manage Lync infrastructure fro....
  • 0Replies
    Disabled Personal Archive – ....
  • 0Replies
    Barracuda HLB OWA URL Rewritin....
  • 0Replies
    Content distribution via video....
  • 0Replies
    Moving mailboxes from Exchange....
  • 0Replies
    How to Prevent Disclaimers on ....
  • 0Replies
    Profitability Analysis–SQL S....
  • 0Replies
    Four tips for Office 365 migra....
  • 0Replies
    Short troubleshooting checklis....
  • 0Replies
    Exceptional customer experienc....
  • 0Replies
    Publishing Lync Simple URLs wi....
  • 0Replies
    Conditionally hiding a web par....
  • 0Replies
    Lync 2010 Post Install Tasks....
  • 0Replies
    Bandwidth considerations....
  • 0Replies
    HLBs, Exchange migrations, and....
  • 0Replies
    Lync 2010 and Polycom CX serie....
  • 0Replies
    AD Synchronization (DirSync) D....
  • 0Replies
    Wise Package Studio discontinu....
  • 0Replies
    Allocate a Measure to a Lower ....
  • 0Replies
    2008 R2 Failover Clustering: A....
  • 0Replies
    PLA and Handshake....
  • 0Replies
    Cross site/stretch DAG adjustm....
  • 0Replies
    Connecting R to Microsoft SQL ....
  • 0Replies
    Using Public Certificates with....
  • 0Replies
    The lost mission of corporate ....
  • 0Replies
    Exchange UM Mailbox Sharing wi....
  • 0Replies
    Immersive telepresence conside....
  • 0Replies
    Lync Edge Issues – Sample Tr....
  • 0Replies
    What constitutes a DCS deploym....
  • 0Replies
    VMM 2012 & SCOM 2012 Integrati....
  • 0Replies
    Qlogic HBA Issues with VMware ....
  • 0Replies
    For effective strategy executi....
  • 0Replies
    Basic PowerShell – Common mi....
  • 0Replies
    Microsoft Lync 2010 Hardware L....
  • 0Replies
    Simplify VDI with Citrix VDI-i....
  • 0Replies
    Take a deeper dive into print ....
  • 0Replies
    VMM 2012: Removing decommissio....
  • 0Replies
    How can non-SharePoint adminis....
  • 0Replies
    DirSync Object Limit....
  • 0Replies
    Windows 7 X64 AppCompat exampl....
  • 1Replies
    The future of videoconferencin....
  • 0Replies
    The importance of service exce....
  • 0Replies
    RPO vs. RTO....
  • 0Replies
    What's new in PLA network moni....
  • 0Replies
    How to avoid exposing Exchange....
  • 0Replies
    Use existing WSUS to patch cli....
  • 0Replies
    Columnstore index in the wild ....
  • 0Replies
    Videoconferencing in 2012....
  • 0Replies
    64-bit DirSync released....
  • 0Replies
    Print, The Final Frontier – ....
  • 0Replies
    Scripting logic for applicatio....
  • 0Replies
    File Share vs. SharePoint....
  • 0Replies
    A practical approach to data g....
  • 0Replies
    Keys to Successful Merger & Ac....
  • 0Replies
    Citrix to release a Universal ....
  • 0Replies
    SmartPhone – E-mail Encrypti....
  • 0Replies
    SQL PASS Summit 2011 in Seattl....