前两天,Excel (2010)突然问Input Product Key to finish setup
实在找不到了,猴年的事儿了!可以长按Esc 5秒钟,取消各种问话,还能用,太烦。就想重装。先找到自己product key。系统为了防贼,装了各种装置。用Claude。AI 加上个人探索,分享如下Method 1: Using PowerShell Direct Command (Quickest Method)
Steps:
-
- Press Win + X
- Select “Windows PowerShell (Admin)” or “Terminal (Admin)”
- Click “Yes” when prompted by User Account Control (UAC)
- Copy and paste this command:
(Get-WmiObject -query ‘select * from SoftwareLicensingService’).OA3xOriginalProductKey
- Press Enter to execute
- Your product key will be displayed
Method 2: Using WMIC Command (Alternative Method)
Steps:
-
- Press Win + X
- Select “Windows PowerShell (Admin)” or “Terminal (Admin)”
- Click “Yes” when prompted by UAC
- Copy and paste this command:
wmic path softwarelicensingservice get OA3xOriginalProductKey
- Press Enter to execute
- Your product key will be displayed
Method 3: Using PowerShell Script (Advanced Method)
Steps:
- Open PowerShell as Administrator (Win + X → PowerShell (Admin))
- Navigate to your desired directory:
cd “YourDirectory”
- Create a new script file:
New-Item -Path “.\get-windows-keys.ps1” -ItemType File -Force
- Copy the script content into the file
- Run the script with execution policy bypass:
powershell -executionpolicy bypass -file “get-windows-keys.ps1”
Important Notes:
- Always run these commands as Administrator
- These methods work for legitimate Windows installations
- The product key shown is for the currently installed Windows version
Troubleshooting:
- If you get an access denied error, make sure you’re running PowerShell as Administrator
- If you get an execution policy error, use the bypass command shown in Method 3
- If no key is displayed, your Windows copy might be activated through a digital license instead of a product key
发表评论