Microsoft KB Archive/328356

= Windows XP Service Pack 1 Volume License Product Key Encryption =

Article ID: 328356

Article Last Modified on 8/22/2007

-

APPLIES TO


 * Microsoft Windows XP Professional

-



This article was previously published under Q328356



SUMMARY
Microsoft Windows XP Service Pack 1 (SP1) adds new functionality for encrypting Volume License Product Keys in Windows Setup answer files.



MORE INFORMATION
To use this feature you must have the following items:
 * Windows XP Professional Volume License Media
 * Windows XP Professional Volume License Product Key
 * Windows XP SP1

To encrypt a Volume License Product Key in a script, follow these steps:  Copy the I386 Directory and all subdirectories from your Windows XP Professional Volume License Media CD-ROM to a directory on your hard disk. For example, copy them to C:\Flat. Download and extract Xpsp1.exe to a directory on your hard disk. Run the following command to integrate SP1 into the I386 directory:

c:\xpsp1\update\update.exe -s:c:\flat

 Run the following command to encrypt your Windows Setup answer file:

c:\flat\winnt32.exe /encrypt:&quot;xxxxx-xxxxx-xxxxx-xxxxx-xxxxx:y&quot; /unattend:

This command uses the following place holders:  xxxxx-xxxxx-xxxxx-xxxxx-xxxxx is your Volume License Product Key.

 y is a value ranging from 5 to 60. This is the time in days that you want this script to be valid for.

 filename is the script that you want to encrypt the Volume License Product Key in.</li></ul> </li></ol>