Windows XP-based computers that were installed by using a Volume License product key might be marked as non-genuine

Recently some Microsoft Windows XP-based computers might start to fail the Windows Genuine Advantage (WGA) validation process, or the Windows XP-based computers might be reported as being non-genuine.

You can take one of the solutions below to solve it:

l          Manual steps to update the WGA Data.dat file on a single computer

To update the Data.dat file manually, follow these steps:

1. Log on to the computer that is experiencing the problem by using an account that has administrator credentials. 

2. Delete the Data.dat file from the %ALLUSERSPROFILE% Application DataWindows Genuine Advantagedata folder. 

3. Visit the following Microsoft Web site to confirm that the computer is reported as genuine: 

4. Click Start, click Run, type wgatray.exe /b , and then click OK.


*Note*: The wgatray.exe command might not be available on your computer. This command is available only on computers that have Windows Genuine Advantage Notifications installed. If the wgatray.exe command is unavailable, it is not an error. Go to the next step. For more information about Windows Genuine Advantage Notifications, click the following article number to view the article in the Microsoft Knowledge Base:

905474 Description of the Windows Genuine Advantage Notifications application 

5. Restart the computer. 

l          Automated steps to update the WGA Data.dat file on a single computer

1. Visit the following Microsoft Web site: 

2. When you are prompted, click Run to run the Microsoft Genuine Advantage Diagnostic Tool.

*Note*: Depending on your security settings, you might be prompted several times to confirm that you want to run the tool. 

3. Click Continue. 

4. On the Windows tab, click Resolve. 

If this method does not work, use the instructions in the “Manual steps to update the WGA Data.dat file on a single computer” section.

l         Steps to automatically update the WGA Data.dat file on multiple computers

The following sample script is a simple .cmd script. To run this script on multiple Windows XP-based client computers, use Group Policy, Microsoft Systems Management Server, or other tools that are available in your environment. Use the best method for your environment to distribute the script. To run this script individually, you must run the script as an administrator.

To create this script, open a new .txt file, and then paste the following script text in the new file. After you create the file, rename it by using a .cmd file name extension.

Script text

@ECHO OFF IF EXIST “%ALLUSERSPROFILE%Application DataWindows Genuine Advantagedatadata.dat” ( ECHO Deleting data.dat attrib -R “%ALLUSERSPROFILE%Application DataWindows Genuine Advantagedatadata.dat” DEL “%ALLUSERSPROFILE%Application DataWindows Genuine Advantagedatadata.dat” ) IF NOT EXIST %WINDIR%system32WGATray.exe (GOTO END) ECHO WGA Validation in progress. WGATray.exe /b :END ECHO Done


More info:


This behavior might be caused by an incorrect Data.dat file or by a corrupted Data.dat file in the %ALLUSERSPROFILE% Application DataWindows Genuine Advantagedata folder.

Note By default, the
%ALLUSERSPROFILE% folder is the C:Documents and SettingsAll Users folder. This location might be a different folder in your installation of Windows XP.

Comments (0)

Skip to main content