office2007查看方法:
點擊開始菜單→控制面板→系統和安全→系統
把它往下拉、就可以看到你的序列號.也就是激活碼和密匙了
office2010查看方法:
下載使用Product Key Finder. Product Key Finder是一個windows系統注冊序列號查看工具,可以查看系統注冊的序列號等信息,以便備份密鑰。
office2013查看方法:
1、定位到Office2013的安裝目錄:如果是32位的操作系統,或者是64位系統安裝64位的office2013,粘貼復制下面一行:cd C:\Program Files\Microsoft Office\Office15\回車2、查看運行后會顯示已經安裝的key最后五位字符,粘貼復制下面一行:cscript OSPP.VBS /dstatusaas
ospp.vbs是什么文件?激活過程cscript ospp.vbs命令詳解
在Office 2013激活過程中我們經常會用到cscript ospp.vbs這個命令。那么,很有必要來了解一下,ospp.vbs到底是什么文件?Cscript.exe是腳本運行引擎,這里就不多介紹了。ospp全稱為:Office Software Protection Platform,vbs大家都知道是腳本文件,所以得出結論,ospp.vbs就是:Office軟件保護平台腳本。它是目前Office自身提供的激活管理工具。
ospp.vbs文件在哪里?
該腳本位於%安裝目錄%\ Program Files文件\微軟Office \ Office15文件夾中。如果您運行的是32位Office 2013的64位操作系統,該腳本位於%安裝目錄%\程序文件(x86)\微軟Office \ Office15文件夾中。
ospp.vbs命令介紹
命令有很多,不一一全部介紹了,說說幾個激活過程中的常用命令。為了讓大家看得更明白,下面我以我虛擬機里的Office 2003 Pro Plus做個演示。
cscript ospp.vbs /dstatus
顯示當前已安裝產品密鑰的許可證信息。可以查看到自已安裝的版本有多少個序列號。
cscript ospp.vbs /unpkey:xxxxx
卸載已安裝的產品密鑰。后面的數字是密鑰的最后5位數。
此時再執行cscript ospp.vbs /dstatus發現產品密鑰已經沒有了,我重新進行導入。
cscript ospp.vbs /inpkey:xxxxx……
安裝、替換現有的產品密鑰。和上面的過程剛好相反。
cscript ospp.vbs /sethst:x.x.x.x
設置KMS主機名。一般為IP地址。
cscript ospp.vbs /act
激活當前安裝的Office。
cscript ospp.vbs /remhst
刪除KMS主機名。
一般來說掌握這么幾個就可以了,如果你想要全面了解,我從微軟官方網站上找到了全部的命令幫助說明,慢慢學習研究吧!
Global options for ospp.vbs
/act | Activates installed Office 2013 product keys. |
/inpkey:value | Installs a product key (replaces existing key) with user-provided product key. Value option is required. |
/unpkey:value | Uninstalls an installed product key with the last five digits of the product key to uninstall (as displayed by the /dstatus option). Value parameter is required. |
/inslic:value | Installs a license with user-provided path of the .xrm-ms license. Value parameter is required. |
/dstatus | Displays license information for installed product keys. |
/dstatusall | Displays license information for all installed licenses. |
/dhistoryacterr | Displays the failure history for MAK/Retail activation. |
/dinstid | Displays Installation ID for offline activation. |
/actcid:value | Activates product with user-provided Confirmation ID. Value parameter is required. |
/rearm | Resets the licensing status for all installed Office 2013 product keys. |
/rearm:value | Resets the licensing status for an Office 2013 license with a user-provided SKUID value. Value parameter is required. Use this option with the SKUID value specified by using the /dstatus option if you have run out of rearms and have activated Office through KMS or AD-based activation to gain an additional rearm. |
/ddescr:value | Displays the description for a user-provided error code. Value parameter is required. |
KMS client options for ospp.vbs
/dhistorykms | Displays KMS client activation history. |
/dcmid | Displays KMS client machine ID (CMID). |
/sethst:value | Sets a KMS host name with a user-provided host name. Value parameter is required. This sets HKLM\Software\Microsoft\OfficeSoftwareProtectionPlatform\KeyManagementServiceName (REG_SZ). |
/setprt:value | Sets a KMS port with a user-provided port number. Value parameter is required. This sets HKLM\Software\Microsoft\OfficeSoftwareProtectionPlatform\KeyManagementServicePort (REG_SZ). |
/remhst | Removes KMS host name (sets port to default). |
/cachst:value | Allows or denies KMS host caching. Value parameter is required (TRUE or FALSE). |
/actype:value | (Windows 8 and newer versions only) Sets volume activation type. Value parameter is required. Values: 1 (for Active Directory-Based), 2 (for KMS). 0 (for both). |
/skms-domain:value | (Windows 8 and newer versions only) Sets the specific DNS domain in which all KMS SRV records can be found. This setting has no effect if the specific single KMS host is set by the /sethst option. Value parameter is the Fully Qualified Domain Name (FQDN) and is required. |
/ckms-domain | (Windows 8 and newer versions only) Clears the specific DNS domain in which all KMS SRV records can be found. The specific KMS host is used if it is set by the /sethst option. Otherwise, auto-discovery of the KMS host is used. |
用在線Google翻譯如下。機器翻譯肯定不會很通順,不過能大慨看懂。
全局命令
/ ACT | 激活安裝的Office 2013產品密鑰。 |
/ inpkey:值 | 用戶提供的產品密鑰安裝產品密鑰(替換現有密鑰)。值選項是必需的。 |
/ unpkey:值 | 卸載已安裝的產品密鑰的最后5位數字的產品密鑰卸載(顯示的/ dstatus選項)。Value參數是必需的。 |
/ inslic:值 | 安裝許可證的。XRM-MS許可證的用戶提供的路徑。Value參數是必需的。 |
/ dstatus | 顯示已安裝的產品密鑰的許可證信息。 |
/ dstatusall | 顯示所有已安裝許可證的許可信息。 |
/ dhistoryacterr | 顯示的故障歷史記錄的MAK /零售激活。 |
/ dinstid | 顯示安裝ID為脫機激活。 |
/ actcid:值 | 用戶提供的確認ID激活產品。Value參數是必需的。 |
/重新武裝 | 復位的授權狀態,所有已安裝的Office 2013產品密鑰。 |
/重整價值 | 重設許可狀態的Office 2013許可證與用戶提供SKUID的價值。Value參數是必需的。 使用此選項指定的值通過使用的/ dstatus選項,如果你有用完的重新激活和已激活的Office通過KMS或基於AD-激活的獲得額外的重新武裝SKUID 。 |
/ ddescr:值 | 顯示為用戶提供的錯誤代碼的描述。Value參數是必需的。 |
KMS客戶端的命令
/ dhistorykms | 顯示KMS客戶端激活歷史記錄。 |
/ dcmid | 顯示KMS客戶端計算機ID(CMID)。 |
/ sethst:值 | 設置KMS主機名和用戶提供的主機名。Value參數是必需的。 此設置HKLM \軟件\微軟\ OfficeSoftwareProtectionPlatform \ KeyManagementServiceName(REG_SZ)。 |
/ setprt:值 | 設置KMS端口與用戶提供的端口號。Value參數是必需的。 此設置HKLM \軟件\微軟\ OfficeSoftwareProtectionPlatform \ KeyManagementServicePort(REG_SZ)。 |
/ remhst | 刪除KMS主機名(將端口設置為默認)。 |
/ cachst:值 | 允許或拒絕KMS主機緩存。Value參數是必需的(TRUE或FALSE)。 |
/ actype:值 | (Windows 8和較新的版本只)設置批量激活的類型。Value參數是必需的。 值:1(基於Active Directory),2(KMS)。0(兩個)。 |
/ SKMS域值 | (Windows 8和較新的版本只)設置特定的DNS域的所有KMS SRV記錄可以發現。如果特定的單一KMS主機的/ sethst選項,該設置沒有任何影響。Value參數是完全合格的域名稱(FQDN)是必需的。 |
/ CKMS域 | (Windows 8和較新的版本只)清除所有KMS SRV記錄可以發現特定的DNS域名。使用特定的KMS主機,如果它被設置的/ sethst選項。否則,自動發現使用的KMS主機。 |