前两天,Excel (2010)突然问Input Product Key to finish setup

实在找不到了,猴年的事儿了!可以长按Esc 5秒钟,取消各种问话,还能用,太烦。就想重装。先找到自己product key。系统为了防贼,装了各种装置。用Claude。AI 加上个人探索,分享如下

Method 1: Using PowerShell Direct Command (Quickest Method)

Steps:

    1. Press Win + X
    2. Select “Windows PowerShell (Admin)” or “Terminal (Admin)”
    3. Click “Yes” when prompted by User Account Control (UAC)
    4. Copy and paste this command:
(Get-WmiObject -query ‘select * from SoftwareLicensingService’).OA3xOriginalProductKey
  1. Press Enter to execute
  2. Your product key will be displayed

Method 2: Using WMIC Command (Alternative Method)

Steps:

    1. Press Win + X
    2. Select “Windows PowerShell (Admin)” or “Terminal (Admin)”
    3. Click “Yes” when prompted by UAC
    4. Copy and paste this command:
wmic path softwarelicensingservice get OA3xOriginalProductKey
  1. Press Enter to execute
  2. Your product key will be displayed

Method 3: Using PowerShell Script (Advanced Method)

Steps:

  1. Open PowerShell as Administrator (Win + X → PowerShell (Admin))
  2. Navigate to your desired directory:
    cd “YourDirectory”
  3. Create a new script file:
    New-Item -Path “.\get-windows-keys.ps1” -ItemType File -Force
  4. Copy the script content into the file
  5. 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

了解 星辉看世界 - Xinhui Times 的更多信息

立即订阅以继续阅读并访问完整档案。

继续阅读