หมายเลขบทความ (Article ID): 918342 - รีวิวครั้งสุดท้าย: 15 มกราคม 2554 - Revision: 4.0

วิธีการเปลี่ยนรหัสผลิตภัณฑ์การอนุญาตให้ใช้สิทธิ์ระดับเสียงใน Windows xp หรือคอมพิวเตอร์ที่ใช้ Windows Server 2003

เคล็ดลับของระบบThis article applies to a different operating system than the one you are using. Article content that may not be relevant to you is disabled.


คำเตือนขั้นตอนในบทความนี้ใช้กับไดรฟ์ข้อมูลสิทธิ์การใช้งานสื่อเท่านั้น ถ้าคุณทำตามขั้นตอนเหล่านี้ บนสื่อแบบ OEM หรือสื่อที่วางจำหน่าย คุณจะไม่เปลี่ยนหมายเลขผลิตภัณฑ์

เนื้อหาบนหน้านี้

ขยายทั้งหมด | ยุบทั้งหมด

บทนำ

เมื่อคุณใช้เป็นleakedรหัสผลิตภัณฑ์ในการอนุญาตให้ใช้สิทธิ์ระดับเสียงติดตั้งจะติดตั้ง Microsoft Windows XP หรือ Microsoft Windows Server 2003 บนคอมพิวเตอร์หลายเครื่อง ปัญหาต่าง ๆ ที่อาจเกิดขึ้น

หมายเหตุ:aleakedผลิตภัณฑ์ที่มีหมายเลขผลิตภัณฑ์ที่พร้อมใช้งานการชนทั่วไป

ตัวอย่างเช่น คุณอาจไม่สามารถติดตั้ง Windows เซอร์วิสแพ็ค หรือ เพื่อขอรับโปรแกรมปรับปรุงจาก Windows Update เว็บไซต์โดยอัตโนมัติ คุณอาจพบอาการตามที่อธิบายไว้ในบทความฐานความรู้ของ Microsoft ต่อไปนี้เมื่อคุณติดตั้ง service pack ของ Windows:

326904  (http://support.microsoft.com/kb/326904/ ) คุณได้รับข้อความแสดงข้อผิดพลาด "The product key used to install Windows is invalid"
883254  (http://support.microsoft.com/kb/883254/ ) คุณได้รับข้อความแจ้งความผิดพลาด "หมายเลขผลิตภัณฑ์ที่ใช้ในการติดตั้ง Microsoft Windows ไม่ถูกต้อง" ขณะที่กำลังติดตั้ง Windows XP Service Pack 2
842196  (http://support.microsoft.com/kb/842196/ ) ข้อความแสดงข้อผิดพลาด "รหัสผลิตภัณฑ์ที่ใช้ในการติดตั้ง Microsoft Windows อาจไม่ถูกต้อง" เมื่อคุณพยายามติดตั้งโปรแกรมปรับปรุงของ Windows ใน Windows Server 2003
บทความนี้อธิบายวิธีการเปลี่ยนรหัสผลิตภัณฑ์ Windows XP หรือการอนุญาตให้ใช้ Windows Server 2003 ไดรฟ์ข้อมูลสิทธิ์หลังการติดตั้งที่อนุญาตให้ใช้สิทธิ์ระดับเสียง สำหรับขั้นตอนนี้ คุณสามารถใช้อินเทอร์เฟซของผู้ใช้แบบกราฟิกตัวช่วยสร้างการเปิดใช้งาน Windows (GUI) หรือสคริปต์ Windows จัดการ Instrumentation (WMI) วิธีตัวช่วยสร้างการเปิดใช้งานอาจเป็นการง่ายขึ้น อย่างไรก็ตาม คุณอาจต้องวิธีสคริปต์ได้ถ้าคุณต้องเปลี่ยนหมายเลขผลิตภัณฑ์สำหรับคอมพิวเตอร์หลาย ๆ เครื่อง

ข้อมูลเพิ่มเติม

ใช้วิซาร์ด Activation

สิ่งสำคัญนี้ส่วน วิธี หรืองานประกอบด้วยขั้นตอนที่บอกวิธีการแก้ไขรีจิสทรี อย่างไรก็ตาม ปัญหาร้ายแรงอาจเกิดขึ้นหากคุณปรับเปลี่ยนรีจิสทรีไม่ถูกต้อง ดังนั้น โปรดตรวจสอบให้แน่ใจว่าคุณได้ทำตามขั้นตอนเหล่านี้อย่างระมัดระวัง สำหรับการป้องกันเพิ่มเติม ให้สำรองรีจิสทรีก่อนทำการปรับเปลี่ยน เพื่อที่คุณจะสามารถคืนค่ารีจิสทรีได้หากมีปัญหาเกิดขึ้น สำหรับข้อมูลเพิ่มเติมเกี่ยวกับวิธีการสำรองข้อมูลและคืนค่ารีจิสทรี โปรดคลิกที่หมายเลขบทความต่อไปนี้ เพื่อดูบทความในฐานความรู้ของ Microsoft::
322756  (http://support.microsoft.com/kb/322756/ ) วิธีการสำรองข้อมูลและคืนค่ารีจิสทรีใน Windows


ถ้าคุณไม่จำเป็นต้องเปลี่ยนหลายไดรฟ์ข้อมูลที่อนุญาตให้ใช้สิทธิ์ผลิตภัณฑ์คีย์ คุณสามารถใช้ตัวช่วยสร้างการเปิดใช้งาน

หมายเหตุ:เราขอแนะนำให้ คุณเรียกใช้การคืนค่าระบบใน Windows XP เพื่อสร้างจุดคืนค่าใหม่ก่อนที่คุณทำตามขั้นตอนเหล่านี้ สำหรับข้อมูลเพิ่มเติมเกี่ยวกับวิธีการสร้าง restore point โดยการใช้ System Restore ดูหัวข้อวิธีใช้ "การสร้าง Restore Point" ในวิธีใช้และการสนับสนุน
  1. คลิกเริ่มการทำงานคลิกเรียกใช้ประเภท:regeditแล้ว คลิกตกลง.
  2. ในบานหน้าต่างด้านซ้าย ค้นหา และคลิกคีย์ ย่อยของรีจิสทรีต่อไปนี้:
    HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsNT\Current Version\WPAEvents
  3. คลิกขวาในบานหน้าต่างด้านขวาoobetimerแล้ว คลิกปรับเปลี่ยน.
  4. เปลี่ยนตัวเลขอย่างน้อยหนึ่งของการoobetimerค่าการปิดการใช้งาน Windows
  5. คลิกเริ่มการทำงานคลิกเรียกใช้พิมพ์คำสั่งต่อไปนี้ และจากนั้น คลิกตกลง:
    %systemroot%\system32\oobe\msoobe.exe /a
  6. คลิกใช่ ฉันต้องการโทรศัพท์ลูกค้าตัวแทนฝ่ายบริการเปิดใช้งาน Windowsแล้ว คลิกถัดไป.
  7. คลิกเปลี่ยนคีย์ผลิตภัณฑ์พิมพ์หมายเลขผลิตภัณฑ์ใหม่ในการคีย์ใหม่กล่อง แล้วคลิกการปรับปรุง.

    หมายเหตุ:ถ้าหน้าจอตัวช่วยสร้างการเปิดใช้งานก่อนหน้าปรากฏอีก คลิกเตือนฉันในภายหลังแล้ว รีสตาร์ทเครื่องคอมพิวเตอร์
  8. ทำซ้ำขั้นตอนที่ 6 และ 7 เพื่อตรวจสอบว่า มีเริ่ม Windows คลิกตกลงเมื่อคุณได้รับข้อความต่อไปนี้:
    Windows is already activated. Click OK to exit.
  9. Install any Windows service packs that you want to install.

    หมายเหตุ:If you cannot restart Windows after you install a service pack, press F8 when you restart the computer, clickLast 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 ChangeVLKey2600.vbs and ChangeVLKeySP1 sample scripts use the new Volume Licensing key that you want to use, in a five-part alphanumeric form, as a single argument. We recommend that you use the ChangeVLKey2600.vbs script on Windows XP-based computers that are not running Service Pack 1 (SP1) or a later service pack. We also recommend that you use the ChangeVLKeySP1.vbs script on Windows XP-based computers that are running SP1 or a later service pack. These scripts perform the following functions:
  • They remove the hyphen characters (-) from the five-part alphanumeric product key.
  • They create an instance of thewin32_WindowsProductActivationคลาสที่
  • They call theSetProductKeymethod with the new Volume Licensing product key.
You can create a batch file or a file that uses either of the following sample scripts together with the new product key as an argument. Then, you can deploy that file as part of a startup script or you can run the file 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:
http://technet.microsoft.com/en-us/library/bb457096.aspx (http://technet.microsoft.com/en-us/library/bb457096.aspx)

ChangeVLKeySP1.vbs

' 
' WMI Script - ChangeVLKey.vbs
'
' This script changes the product key on the computer.
'
'***************************************************************************

ON ERROR RESUME NEXT


if 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.quit
end if

Dim VOL_PROD_KEY
VOL_PROD_KEY = Wscript.arguments.Item(0)
VOL_PROD_KEY = Replace(VOL_PROD_KEY,"-","") 'remove hyphens if any

for each Obj in GetObject("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 if

Next

ChangeVLKey2600.vbs

' 
' WMI Script - ChangeVLKey.vbs
'
' This script changes the product key on the computer.
'
'***************************************************************************

ON ERROR RESUME NEXT

if 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.quit
end if

Dim VOL_PROD_KEY
VOL_PROD_KEY = Wscript.arguments.Item(0)
VOL_PROD_KEY = Replace(VOL_PROD_KEY,"-","") 'remove hyphens if any
Dim WshShell
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.RegDelete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WPAEvents\OOBETimer" 'delete OOBETimer registry value
for each Obj in GetObject("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 if

Next 
You can use the ChangeVLKeySP1.vbs script from a command line by performing the following action:

คลิกเริ่มการทำงานคลิกเรียกใช้type the following command, and then clickตกลง:
c:\changevlkeysp1.vbsab123-123ab-ab123-123ab-ab123
หมายเหตุ:ในคำสั่งนี้ab123-123ab-ab123-123ab-ab123is a placeholder that represents the new product key.

ใช้กับ
  • Microsoft Windows XP Professional Edition
  • Microsoft Windows Server 2003 Datacenter Edition
  • Microsoft Windows Server 2003, Datacenter x64 Edition
  • Microsoft Windows Server 2003 Enterprise Edition
  • Microsoft Windows Server 2003, Enterprise x64 Edition
  • Microsoft Windows Server 2003 Standard Edition
  • Microsoft Windows Server 2003 Web Edition
  • Microsoft Windows Server 2003 R2 Enterprise Edition (32-Bit x86)
  • Microsoft Windows Server 2003 R2 Enterprise Edition (64-Bit x86)
  • Microsoft Windows Server 2003 R2 Standard Edition (32-bit x86)
  • Microsoft Windows Server 2003 R2 Standard Edition (64-Bit x86)
Keywords: 
kbsetup kbregistry kbenv kbhowto kbmt KB918342 KbMtth
แปลโดยคอมพิวเตอร์แปลโดยคอมพิวเตอร์
ข้อมูลสำคัญ: บทความนี้แปลโดยซอฟต์แวร์การแปลด้วยคอมพิวเตอร์ของ Microsoft แทนที่จะเป็นนักแปลที่เป็นบุคคล Microsoft มีบทความที่แปลโดยนักแปลและบทความที่แปลด้วยคอมพิวเตอร์ เพื่อให้คุณสามารถเข้าถึงบทความทั้งหมดในฐานความรู้ของเรา ในภาษาของคุณเอง อย่างไรก็ตาม บทความที่แปลด้วยคอมพิวเตอร์นั้นอาจมีข้อบกพร่อง โดยอาจมีข้อผิดพลาดในคำศัพท์ รูปแบบการใช้ภาษาและไวยากรณ์ เช่นเดียวกับกรณีที่ชาวต่างชาติพูดผิดเมื่อพูดภาษาของคุณ Microsoft ไม่มีส่วนรับผิดชอบต่อความคลาดเคลื่อน ความผิดพลาดหรือความเสียหายที่เกิดจากการแปลเนื้อหาผิดพลาด หรือการใช้บทแปลของลูกค้า และ Microsoft มีการปรับปรุงซอฟต์แวร์การแปลด้วยคอมพิวเตอร์อยู่เป็นประจำ
ต่อไปนี้เป็นฉบับภาษาอังกฤษของบทความนี้:918342  (http://support.microsoft.com/kb/918342/en-us/ )