none
exchange2010 在"安裝 Windows Server 2008 SP2 作業系統必要條件"時出現問題 RRS feed

  • 一般討論

  • 想請教

    在下 安裝 Windows Server 2008 SP2 作業系統必要條件 時

    1. 安裝 Microsoft .NET Framework 3.5 Service Pack 1 (SP1)。
    2. 安裝 Microsoft .NET Framework 3.5 Family Update for Windows Vista x64,以及 Windows Server 2008 x64 更新。
    3. 安裝 Windows 遠端管理 (WinRM) 2.0 和 Windows PowerShell V2 (Windows6.0-KB968930.msu)。
    4. 在將會主控 Hub Transport 或 Mailbox server role 的伺服器上,請安裝 Microsoft Filter Pack。
    5. 開啟已提高權限的命令提示字元,並瀏覽至 Exchange 2010 安裝媒體上的 Scripts 資料夾,然後使用下列其中一個命令安裝必要的作業系統元件:

    因為伺服器只有一台所以選擇了Multiple roles的方式來安裝5步驟

    對於主控 Client Access、Hub Transport、Mailbox 及 Unified Messaging server role 的伺服器:

    sc config NetTcpPortSharing start= auto
    ServerManagerCmd -i Desktop-Experience
    ServerManagerCmd -ip Exchange-Typical.xml -Restart

    到步驟四都很順利

    但是當我到步驟5的時候發生了問題,底下是我擷下的訊息,請大家幫幫我,謝謝大家

    PS C:\> cd d:/scripts
    PS D:\scripts> sc config NetTcpPortSharing start= auto
    Set-Content : A positional parameter cannot be found that accepts argument 'start='.
    At line:1 char:3
    + sc <<<<  config NetTcpPortSharing start= auto
        + CategoryInfo          : InvalidArgument: (:) [Set-Content], ParameterBindingException
        + FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerShell.Commands.SetContentCommand

    PS D:\scripts> ServerManagerCmd -i Desktop-Experience
    WriteError: Failed to write the log file: . Access to the path 'C:\Windows\logs\ServerManager.log' is denied.

    PS D:\scripts> ServerManagerCmd -ip Exchange-Typical.xml -Restart
    WriteError: Failed to write the log file: . Access to the path 'C:\Windows\logs\ServerManager.log' is denied.

     

    • 已變更類型 Vincent Lin 2010年4月28日 上午 03:38
    2010年3月19日 上午 03:07

所有回覆

  • PowerShell按右鍵選擇以管理者權限執行

    <!-- /* Font Definitions */ @font-face {font-family:新細明體; panose-1:2 2 5 0 0 0 0 0 0 0; mso-font-alt:PMingLiU; mso-font-charset:136; mso-generic-font-family:roman; mso-font-pitch:variable; mso-font-signature:-1610611969 684719354 22 0 1048577 0;} @font-face {font-family:細明體; panose-1:2 2 5 9 0 0 0 0 0 0; mso-font-alt:MingLiU; mso-font-charset:136; mso-generic-font-family:modern; mso-font-pitch:fixed; mso-font-signature:-1610611969 684719354 22 0 1048577 0;} @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:1; mso-generic-font-family:roman; mso-font-format:other; mso-font-pitch:variable; mso-font-signature:0 0 0 0 0 0;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:-520092929 1073786111 9 0 415 0;} @font-face {font-family:"\@新細明體"; panose-1:2 2 5 0 0 0 0 0 0 0; mso-font-charset:136; mso-generic-font-family:roman; mso-font-pitch:variable; mso-font-signature:-1610611969 684719354 22 0 1048577 0;} @font-face {font-family:"\@細明體"; panose-1:2 2 5 9 0 0 0 0 0 0; mso-font-charset:136; mso-generic-font-family:modern; mso-font-pitch:fixed; mso-font-signature:-1610611969 684719354 22 0 1048577 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-unhide:no; mso-style-qformat:yes; mso-style-parent:""; margin:0cm; margin-bottom:.0001pt; mso-pagination:none; font-size:12.0pt; mso-bidi-font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:新細明體; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi; mso-font-kerning:1.0pt;} .MsoChpDefault {mso-style-type:export-only; mso-default-props:yes; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi;} /* Page Definitions */ @page {mso-page-border-surround-header:no; mso-page-border-surround-footer:no;} @page Section1 {size:612.0pt 792.0pt; margin:72.0pt 90.0pt 72.0pt 90.0pt; mso-header-margin:36.0pt; mso-footer-margin:36.0pt; mso-paper-source:0;} div.Section1 {page:Section1;} /* List Definitions */ @list l0 {mso-list-id:796408125; mso-list-template-ids:-1340447244;} @list l1 {mso-list-id:1813715239; mso-list-template-ids:1554273674;} ol {margin-bottom:0cm;} ul {margin-bottom:0cm;} -->

    Install the Windows Server 2008 SP2 operating system prerequisites

    1. Install Microsoft .NET Framework 3.5 Service Pack 1 (SP1). For details, see Microsoft .NET Framework 3.5 SP1 .
    2. Install the Microsoft .NET Framework 3.5 Family Update for Windows Vista x64, and Windows Server 2008 x64 updates. For details, see Microsoft .NET Framework 3.5 Family Update for Windows Vista x64, and Windows Server 2008 x64 . See also, An update for the .NET Framework 3.5 Service Pack 1 is available .
    3. Install Windows Remote Management (WinRM) 2.0 and Windows PowerShell V2 (Windows6.0-KB968930.msu). For details, see Windows Management Framework .
    4. On servers that will host the Hub Transport or Mailbox server role, install the Microsoft Filter Pack. For details, see 2007 Office System Converter: Microsoft Filter Pack .
    5. Open an elevated command prompt, navigate to the Scripts folder on the Exchange 2010 installation media and use one of the following commands to install the necessary operating system components:
      1. For a server that will have the typical installation of Client Access, Hub Transport, and the Mailbox role:

    2.  sc config NetTcpPortSharing start= auto

    ServerManagerCmd -ip Exchange-Typical.xml -Restart

    1.  
      1. For a server that will host the Client Access, Hub Transport, Mailbox, and Unified Messaging server roles:

    4.  sc config NetTcpPortSharing start= auto

    5.  ServerManagerCmd -i Desktop-Experience

    ServerManagerCmd -ip Exchange-Typical.xml -Restart

    1.  
      1. For a server that will host the Client Access and Hub Transport server roles:

    7.  sc config NetTcpPortSharing start= auto

    ServerManagerCmd -ip Exchange-Typical.xml -Restart

    1.  
      1. For a server that will host the Hub Transport and Mailbox server roles:

    ServerManagerCmd -ip Exchange-Typical.xml -Restart

    1.  
      1. For a server that will host the Client Access and Mailbox server roles:

    10. sc config NetTcpPortSharing start= auto

    ServerManagerCmd -ip Exchange-Typical.xml -Restart

    1.  
      1. For a server that will host only the Client Access role:

    12. sc config NetTcpPortSharing start= auto

    ServerManagerCmd -ip Exchange-CAS.xml -Restart

    1.  
      1. For a server that will host only the Hub Transport role:

    ServerManagerCmd -ip Exchange-Hub.xml -Restart

    1.  
      1. For a server that will host only the Mailbox role:

    ServerManagerCmd -ip Exchange-MBX.xml -Restart

    1.  
      1. For a server that will host only the Unified Messaging role:

    ServerManagerCmd -ip Exchange-UM.xml -Restart

    1.  
      1. For a server that will host the Edge Transport role:

    ServerManagerCmd -ip Exchange-Edge.xml -Restart

    After installing the above pre-requisites and before installing Exchange 2010, we recommend that you install any critical or recommended updates from Microsoft Update .

     Install the Windows Server 2008 R2 operating system prerequisites

    1. On servers that will host the Hub Transport or Mailbox server role, install the Microsoft Filter Pack. For details, see 2007 Office System Converter: Microsoft Filter Pack .
    2. On the Start Menu, navigate to All Programs , then Accessories , then Windows PowerShell . Open an elevated Windows PowerShell console, and run the following command:

    Import-Module ServerManager

    1. Use the Add-WindowsFeature cmdlet to install the necessary operating system components:
      1. 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

    1.  
      1. For a server that will host the Client Access, Hub Transport, Mailbox, and Unified Messaging server roles:

    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,Desktop-Experience -Restart

    1.  
      1. For a server that will host the Client Access and Hub Transport server roles:

    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

    1.  
      1. For a server that will host the Hub Transport and Mailbox server roles:

    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

    1.  
      1. For a server that will host the Client Access and Mailbox server roles:

    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

    1.  
      1. For a server that will host only the Client Access 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

    1.  
      1. For a server that will host the Hub Transport or 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 -Restart

    1.  
      1. For a server that will host only the Unified Messaging 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,Desktop-Experience -Restart

    1.  
      1. For a server that will host the Edge Transport role:

    Add-WindowsFeature NET-Framework,RSAT-ADDS,ADLDS -Restart

    1. After the system has restarted, log on as an administrator, open an elevated Windows PowerShell console, and configure the Net.Tcp Port Sharing Service for Automatic startup by running the following command:

    Set-Service NetTcpPortSharing -StartupType Automatic

    2010年3月25日 下午 07:10