Previous Topic: Windows 2003 和 Windows XP 平台Next Topic: 安裝失敗時新增 OEM SCSI/RAID/SCSI 驅動程式


將 OEM 網路介面卡新增到 RIS 安裝的方式

在 Windows Server 2003 及 Windows XP 上有效

症狀

將需要 OEM 驅動程式的網路介面卡新增到以光碟為基礎的 RIS 映像的一些步驟與將此類驅動程式新增到一般的未參與安裝相同。但是,由於安裝方式是先使用 Pre-Boot eXecution Environment (PXE),然後再切換到使用「伺服器訊息區塊」(SMB) 通訊協定,因此在文字模式設定期間,網路介面卡驅動程式及其 .inf 檔案必須可用。如果驅動程式與 .inf 檔案不可用,您會收到下列錯誤訊息:

網路伺服器不支援啟動 Windows 2003。安裝程式無法繼續。請按任意鍵結束。

當執行 [用戶端安裝精靈] (CIW) 的 PXE 用戶端連線到 RIS 伺服器時,網路介面卡會使用「通用網路裝置介面」來與 RIS 伺服器通訊。當「Windows 安裝程式」切換到 SMB 時,會偵測到網路介面卡,而且會載入適當的驅動程式。因此,驅動程式必須可用。

解決方案

您可以將 OEM 網路介面卡新增到 RIS 映像中。

執行下列步驟:

檢查 OEM 以確定提供的網路介面卡驅動程式是否為數位簽章。如果製造商的驅動程式包含目錄 (.cat) 檔案,它們不會獲得正確的簽章。Microsoft 簽章的驅動程式經確認及測試可與 Windows 搭配使用。If your driver has not been signed but you still want to use it, make sure to add the following unattended-setup parameter to the .sif file that is located in the RemoteInstall\Setup\Language\Images\Dir_name\I386\Templates folder:[Unattended]

DriverSigningPolicy = Ignore

附註:If the OEM driver is an update of an included Windows XP driver (for example, if the drivers have the same name), the file must be signed or else Setup uses the included driver instead.

  1. 在 RIS 伺服器上,將網路介面卡 OEM 提供的 .inf.sys 檔案複製到 RemoteInstall\Setup\Language\Images\Dir_name\i386 資料夾中。這可以讓「安裝程式」在安裝的文字模式部份使用此驅動程式。
  2. 在 IRS 映像上與 i386 資料夾相同的層級上,建立 $oem$ 資料夾。使用下列結構:
    \$oem$\$1\Drivers\Nic 
    
  3. 將 OEM 提供的驅動程式檔案複製到此資料夾中。請注意 .inf 檔案尋找其驅動程式的資料夾。某些製造商將 .inf 檔案放在資料夾中,而從子資料夾中複製驅動程式檔案。如果遇到這種情況,請在您在此步驟中建立的結構下建立相同的資料夾結構。
  4. 請對用於此映像安裝的 .sif 檔案執行下列變更:
    [Unattended]
    OemPreinstall = yes
    OemPnpDriversPath = \Drivers\Nic
    
  5. 停止並重新啟動 RIS 伺服器上的「遠端安裝」服務 (BINLSVC)。若要執行此動作,請在指令提示中輸入下列指令,並在每個指令後按 Enter
    net Stop binlsvc
    net Start binlsvc
    

    Note:You must stop and restart the Remote Installation Service because the Boot Information Negotiation Layer (BINL) needs to read all the new network adapter-related .inf files and create .pnf files in the image.這是一項很耗時的任務,只有在「遠端安裝服務」啟動時才會執行。

如果您擁有需要 OEM 驅動程式的多個網路介面卡,請針對每張介面卡執行之前的步驟。不過,已經包含網路介面卡驅動程式的 PXE 用戶端不會受到這些變更的影響,而且可以使用此映像來用於安裝。