- هذا الموضوع فارغ.
- Post
-
- ديسمبر 21, 2024 الساعة 5:55 ص
Weekend Wikiمدير عامTo retrieve the original Windows product key using Command Prompt (CMD), follow these steps:
Step 1: Open Command Prompt as Administrator
- Press
Windows + S
, type cmd, and right-click on Command Prompt. - Select Run as Administrator.
Step 2: Run the Command
Enter the following command in CMD to retrieve the Windows product key from the system BIOS or UEFI firmware:
wmic path softwarelicensingservice get OA3xOriginalProductKey
Step 3: View the Product Key
- The output will display the original Windows product key if it’s stored in the system firmware (common for pre-installed OEM systems).
- Example Output:
OA3xOriginalProductKey XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
If the Above Command Doesn’t Work
- Use PowerShell: Open PowerShell as Administrator and run:
(Get-WmiObject -query 'select * from SoftwareLicensingService').OA3xOriginalProductKey
- Check the Registry: If the product key is not stored in the BIOS, it might be stored in the registry. Run this command:
reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform" /v BackupProductKeyDefault
- The key will be displayed as
BackupProductKeyDefault
.
- The key will be displayed as
Note:
- OEM Keys: If the device came with Windows pre-installed, the key is usually embedded in the BIOS/UEFI.
- Digital Licenses: If you upgraded to Windows 10/11 via a digital license, the key might not be retrievable, as it’s tied to your Microsoft account.
To enter or change the Windows product key using Command Prompt (CMD), follow these steps:
Step 1: Open Command Prompt as Administrator
- Press
Windows + S
, type cmd, and right-click on Command Prompt. - Select Run as Administrator.
Step 2: Enter the New Product Key
Run the following command to enter your new Windows product key:
slmgr.vbs /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
- Replace
XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
with your actual product key.
Example:
slmgr.vbs /ipk W269N-WFGWX-YVC9B-4J6C9-T83GX
Step 3: Activate Windows
After entering the product key, activate it with the following command:
slmgr.vbs /ato
Step 4: Verify Activation
To check the activation status, run:
slmgr.vbs /dli
For a detailed view of the activation information:
slmgr.vbs /dlv
Additional Commands (Optional)
- Uninstall the Current Product Key:
slmgr.vbs /upk
- Clear the Product Key from the Registry:
slmgr.vbs /cpky
- View the Current Product Key:
slmgr.vbs /xpr
These commands should allow you to enter, activate, and manage your Windows product key effectively. Let me know if you encounter any issues!
- يجب تسجيل الدخول للرد على هذا الموضوع.