السلام عليكم
اخوي انا سويت مثل ما طلبت مني
لكن فجأه انفتحت لي شاشه
على شركة مايكروسوفت وشوف وش قالوا لي
body { background:url('/library/images/support/cn/gsfx_brnd_gn_top_bgrd.gif') repeat-x #C8E3F1; } #gsfx_brnd_PageContainer { background:url('') no-repeat fixed top center transparent; } .gsfx_brnd_NetworkLink, .gsfx_brnd_NetworkLink:visited, .gsfx_brnd_NetworkLink a, .gsfx_brnd_NetworkLink a:visited { color: #cdcbce; } .gsfx_brnd_NetworkLink:hover, .gsfx_brnd_NetworkLink:active, .gsfx_brnd_NetworkLink:focus, .gsfx_brnd_NetworkLink a:hover, .gsfx_brnd_NetworkLink a:active, .gsfx_brnd_NetworkLink a:focus { color: #f9d060; border-bottom-color: #f9d060; } #gsfx_brnd_NetworkHeader, #gsfx_brnd_NetworkHeaderLinks { color: #ffffff; } #gsfx_brnd_SiteHeader, #gsfx_brnd_PageLogoWrapper, #gsfx_brnd_PageTitle { color: #ffffff; } #gsfx_brnd_SiteFooter, #gsfx_brnd_SiteFooterWrap { color: #ffffff; } #gsfx_brnd_NetworkFooter, #gsfx_brnd_FooterLinkContainerm, #gsfx_brnd_FooterLinkContainer span, #gsfx_brnd_copyright_container, #gsfx_brnd_copyright_container span { color: #ffffff; }
السعودية
|
التعليمات والدعم
العربية الإنجليزية
How to change the Volume Licensing product key on a computer that is running Windows XP SP1 and later versions of Windows XP
Article ID:328874Last Review:November 21, 2007Revision:7.5
This article was previously published under Q328874
Warning The steps in the article are effective only on Volume License media. If you try these steps on OEM media or on retail media, you will not change the product key.
On This Page
INTRODUCTION
If you use a "leaked" product key (a product key that is known to be available to the general public) for the deployment of Microsoft Windows XP across multiple computers (a Volume Licensing installation), you may not be able to install Windows XP Service Pack 1 (SP1) or later versions of Windows XP or automatically obtain updates from the Windows Update Web site. For example, you may experience the symptoms that are described in the following Microsoft Knowledge Base article when you install Windows XP SP1 or a later version of Windows XP:
(
) You receive a "The product key used to install Windows is invalid" error message
This article describes how to change the Windows XP product key after a Volume Licensing installation. You can use the Windows Activation Wizard graphical user interface (GUI) or a Windows Management Instrumentation (WMI) script. The Activation Wizard method is easier, but if you must change the product key for multiple computers, the script method is better.
MORE INFORMATION
Use the Activation Wizard
Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
(
) How to back up and restore the registry in Windows
If you have only a few volume licensing product keys to change, you can use the Activation Wizard.
Note Microsoft recommends that you run System Restore to create a new restore point before you follow these steps. For information about how to create a restore point by using System Restore, see the "To Create a Restore Point" help topic in Help and Support. 1.Click
Start, and then click
Run.2.In the
Open box, type regedit, and then click
OK.3.In the left pane, locate and then click the following registry key:
HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsNT\Current Version\WPAEvents
4.In the right pane, right-click
OOBETimer, and then click
Modify.5.Change at least one digit of this value to deactivate Windows.6.Click
Start, and then click
Run.7.In the
Open box, type the following command, and then click
OK. %systemroot%\system32\oobe\msoobe.exe /a
8.Click
Yes, I want to telephone a customer service representative to activate Windows, and then click
Next.9.Click
Change Product key.10.Type the new product key in the
New key boxes, and then click
Update.
If you are returned to the previous window, click
Remind me later, and then restart the computer.11.Repeat steps 6 and 7 to verify that Windows is activated. You receive the following message: Windows is already activated. Click OK to exit.
12.Click
OK.13.Install Windows XP SP1 or a later version of Windows XP.
If you cannot restart Windows after you install Windows XP SP1 or a later version of Windows XP, press F8 when you restart the computer, select
Last Known Good Configuration, and then repeat this procedure.
Use a script
You can create a WMI script that changes the volume licensing product key, and then deploy this script in a startup script. The sample ChangeVLKey2600.vbs script and the sample ChangeVLKeySP1 script that are described in this section use the new volume licensing key that you want to enter, in its five-part alphanumeric form, as a single argument. Microsoft recommends that you use the ChangeVLKey2600.vbs script on Windows XP-based computers that are not running Windows XP SP1 or a later version of Windows XP and that you use the ChangeVLKeySP1.vbs script on Windows XP-based computers that are running Windows XP SP1 or a later versions of Windows XP. These scripts perform the following functions: •They remove the hyphen characters (-) from the five-part alphanumeric product key.•They create an instance of the
win32_WindowsProductActivation class.•They call the
SetProductKey method with the new volume licensing product key.You can create a batch file or a cmd file that uses either of the following sample scripts, together with the new product key as an argument, and either deploy it as part of a startup script or run it from the command line to change the product key on a single computer.
For more information about how to script the product key, visit the following Microsoft Web site:
(
)
ChangeVLKeySP1.vbs
' ' WMI Script - ChangeVLKey.vbs'' This script changes the product key on the computer''***************************************************************************ON ERROR RESUME NEXTif Wscript.arguments.count<1 then Wscript.echo "Script can't run without VolumeProductKey argument" Wscript.echo "Correct usage: Cscript ChangeVLKey.vbs ABCDE-FGHIJ-KLMNO-PRSTU-WYQZX" Wscript.quitend ifDim VOL_PROD_KEYVOL_PROD_KEY = Wscript.arguments.Item(0)VOL_PROD_KEY = Replace(VOL_PROD_KEY,"-","") 'remove hyphens if anyfor each Obj in Get("winmgmts:{impersonationLevel=impersonate}").InstancesOf ("win32_WindowsProductActivation") result = Obj.SetProductKey (VOL_PROD_KEY) if err <> 0 then WScript.Echo Err.Description, "0x" & Hex(Err.Number) Err.Clear end ifNext
ChangeVLKey2600.vbs
' ' WMI Script - ChangeVLKey.vbs'' This script changes the product key on the computer''***************************************************************************ON ERROR RESUME NEXTif Wscript.arguments.count<1 then Wscript.echo "Script can't run without VolumeProductKey argument" Wscript.echo "Correct usage: Cscript ChangeVLKey.vbs ABCDE-FGHIJ-KLMNO-PRSTU-WYQZX" Wscript.quitend ifDim VOL_PROD_KEYVOL_PROD_KEY = Wscript.arguments.Item(0)VOL_PROD_KEY = Replace(VOL_PROD_KEY,"-","") 'remove hyphens if anyDim WshShellSet WshShell = WScript.Create("WScript.Shell")WshShell.RegDelete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WPAEvents\OOBETimer" 'delete OOBETimer registry valuefor each Obj in Get("winmgmts:{impersonationLevel=impersonate}").InstancesOf ("win32_WindowsProductActivation") result = Obj.SetProductKey (VOL_PROD_KEY) if err <> 0 then WScript.Echo Err.Description, "0x" & Hex(Err.Number) Err.Clear end ifNext
Example
The following example shows how to use the ChangeVLKeySP1.vbs script from a command line: 1.Click
Start, and then click
Run.2.In the
Open box, type the following command, where AB123-123AB-AB123-123AB-AB123 is the new product key that you want to use, and then click
OK: c:\changevlkeysp1.vbs ab123-123ab-ab123-123ab-ab123
For more information, visit the following Microsoft Web site:
(
)
APPLIES TO
•Microsoft Windows XP Professional SP2•Microsoft Windows Server 2003, Web Edition•Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)
Keywords:
kbsetup kbregistry kbenv kbhowto KB328874
Provide feedback on this article
Did this article help you solve your problem?
YesNoPartiallyI do not know yet
Strongly AgreeStrongly Disagree987654321The article is easy to understand
The article is accurate
Additional Comments:
To protect your privacy, do not include contact information in your feedback.
Thank you! Your feedback is used to help us improve our support . For more assistance options, please visit the
.
Article Translations
ArabicBulgarianCroatianCzechDanishDutchEstonianFinnishFrenchGermanGreekHebrewHindiHungarianItalianJapaneseKoreanLatvianLithuanianNorwegianPolishPortuguese (Brazil)Portuguese (Portugal)RomanianRussianSerbianSimplified ChineseSlovakSlovenianSpanishSwedishThaiTraditional ChineseTurkishUkraineVietnam
خيارات الدعم الأخرى
- <LI id=L_93182_tr>
أرقام الهواتف وخيارات الدعم والتسعير والتعليمات الفورية والمزيد.
-
إرسال سؤال لمستخدمين آخرين. العديد من مجموعات المناقشات والمنتديات المتعلقة بالتقنيات والمنتجات والخدمات التي تقدمها Microsoft.
أدوات الصفحة
- <LI id=PrintPage_tr>
- إرسال هذه الصفحة بالبريد الإلكتروني
التعليمات والدعم
|
|
|
©2008 Microsoft
#gsfx_brnd_Center, #gsfx_brnd_PageWrapper { background: url('/library/images/support/cn/gsfx_brnd_gn_bottom_bgrd.png') repeat-x bottom; }