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.
To encrypt the product key in a answer file, you must run Winnt32.exe from a computer that is running Windows XP or later. You cannot encrypt the product key on a computer that is running either Windows 2000 or Windows 98.
This procedure works for any valid Windows Setup answer file (for example, Unattend.txt, Winnt.sif, Sysprep.inf, or Ristndrd.sif ).
You have to install from a Windows XP Professional source directory into which Windows XP SP1 has been integrated.
The /encrypt command automatically adds the "Productkey=" line to your file or updates an existing Productkey or ProductID entry.
When the time period specified has ended, the user is prompted to manually enter a product key during Setup.
When you run this command, you do not receive any dialog boxes or error messages. To determine whether the command is successful, see the %WINDIR%\Winnt32.log file. The following is a sample command to encrypt a product key that is not valid for Volume License media:
Main module path: <c:\flat\i386\winnt32u.dll>PID is not valid or not a valid VL key.
For more information about Volume License Product Keys and the changes to Product Activation in Windows XP SP1, visit the following Microsoft Web sites:
Microsoft Windows XP Professional, Windows Server 2008 Datacenter without Hyper-V, Windows Server 2008 Enterprise without Hyper-V, Windows Server 2008 for Itanium-Based Systems, Windows Server 2008 Standard without Hyper-V, Windows Server 2008 Datacenter, Windows Server 2008 Enterprise, Windows Server 2008 Standard, Windows Web Server 2008