使用大量授權產品金鑰安裝的 Windows XP 電腦會標記為非正版

文章編號 : 926333
上次校閱 : 2006年10月13日
版次 : 1.3

徵狀

Microsoft Windows XP 電腦執行 Windows Genuine Advantage (WGA) 驗證程序失敗,或者 Windows XP 電腦會回報為非正版。如果使用大量授權產品金鑰來安裝 Windows XP 電腦,並且 Windows XP 電腦嘗試在 Microsoft 伺服器發生問題的短暫期間 (大約是 24 小時) 進行驗證,就會發生這個情形。這段期間是開始於 2006 年 10 月 2 日,並於 2006 年 10 月 3 日結束。
 

發生的原因

這個情形可能是由於 %ALLUSERSPROFILE%\Application Data\Windows Genuine Advantage\data 資料夾中錯誤或損毀的 data.dat 檔案所造成。

注意 根據預設,%ALLUSERSPROFILE% 資料夾就是 C:\Documents and Settings\All Users 資料夾,但是這個位置在您安裝的 Windows XP 中可能是不同的資料夾。
 

解決方案

如果您是在 2006 年 10 月 2 日到 2006 年 10 月 3 日之間收到 data.dat 檔案,則必須移除 Windows XP 用戶端電腦中的 data.dat 檔案,以便讓此 data.dat 檔案在下一次驗證時可以正確地更新。您可以使用三種方法更新此檔案:
手動
自動
指令碼
請根據您的特定環境選用最佳方法。
 

手動

如果要手動更新 data.dat 檔案,請依照下列步驟執行:
1. 使用具有系統管理員認證的帳戶,登入發生問題的電腦。
2. %ALLUSERSPROFILE%\Application Data\Windows Genuine Advantage\data 資料夾刪除 data.dat 檔案。
3. 造訪下列 Microsoft 網站,確認電腦已回報為正版:
http://www.microsoft.com/genuine/downloads/validate.aspx?displaylang=zh-tw (http://www.microsoft.com/genuine/downloads/validate.aspx?displaylang=zh-tw)
4. 按一下 [開始],再按一下 [執行],輸入 wgatray.exe /b,然後按一下 [確定]

注意 您的電腦可能無法使用 wgatray.exe 命令。只有已安裝 Windows Genuine Advantage Notifications 的電腦,才能使用這個命令。如果無法使用 wgatray.exe 命令,這不是個錯誤,請前往下一個步驟。 如需有關 Windows Genuine Advantage Notifications 的詳細資訊,請按一下下面的文件編號,檢視「Microsoft 知識庫」中的文件:
905474 (http://support.microsoft.com/kb/905474/) 說明 Windows Genuine Advantage Notifications 應用程式
5. 重新啟動電腦。

自動

如果要自動更新 data.dat 檔案,請依照下列步驟執行:
1. 造訪下列 Microsoft 網站:
http://go.microsoft.com/fwlink/?linkid=52012 (http://go.microsoft.com/fwlink/?linkid=52012)
2. 出現提示時,請按一下 [執行] 以執行 Microsoft Genuine Advantage Diagnostic Tool。

注意 根據您的安全性設定,可能會出現數次提示,確認您是否要執行此工具。
3. 按一下 [Continue]
4. [Windows] 索引標籤中,按一下 [Resolve]
如果此方法無效,請使用<手動>一節中的指示。
 

指令碼

下列範例指令碼是簡單的 .cmd 指令碼。
如果要在多部 Windows XP 用戶端電腦執行這個指令碼,請使用「群組原則」、Microsoft Systems Management Server 或其他可以在您的環境中使用的工具。請根據您的環境,使用最佳的方法散佈這個指令碼。如果要個別執行這個指令碼,您必須以系統管理員的身分來執行。

如果要建立這個指令碼,請開啟新的 .txt 檔案,然後在這個新檔案中貼上下列指令碼文字。建立這個檔案之後,請將副檔名改成 .cmd。

指令碼文字

@echo off

IF EXIST "%ALLUSERSPROFILE%\Application Data\Windows Genuine Advantage\data\data.dat" (
ECHO Deleting data.dat
attrib -R "%ALLUSERSPROFILE%\Application Data\Windows Genuine Advantage\data\data.dat"
DEL "%ALLUSERSPROFILE%\Application Data\Windows Genuine Advantage\data\data.dat"
)

IF NOT EXIST %WINDIR%\system32\WGATray.exe (GOTO END)
ECHO WGA Validation in progress.
WGATray.exe /b

:end
ECHO Done
 

這篇文章中的資訊適用於:
Microsoft Windows XP Home Edition (家用版)
Microsoft Windows XP Media Center Edition
Microsoft Windows XP Professional Edition (商用版)
Microsoft Windows XP Starter Edition
Microsoft Windows XP Tablet PC Edition
 
關鍵字: 
kbexpertisebeginner kbtshoot kbprb KB926333

資料來源:

http://support.microsoft.com/kb/926333