當前位置:首頁 > IT技術(shù) > Windows編程 > 正文

Win10基礎 ospp.vbs 幫助文檔
2021-08-05 22:10:44

  • ?????? OS : Windows 10 Version 1809
  • ????Office : Microsoft Office 2019
  • ?????? blog : 師萬物
  • ?typesetting : Markdown

?

幫助文檔截圖

osppdoc1.png

?

Prior to running ospp.vbs ensure that:
Windows firewall allows WMI traffic on remote computer.
You have or pass credentials with required permissions on remote computer.
Cmd.exe is elevated (right click > Run as administrator).

Sample Usage
cscript ospp.vbs /act  'Activate Office on local computer.
cscript ospp.vbs /act mypc1  'Activate Office on remote computer mypc1 with current credentials.
cscript ospp.vbs /inpkey:MFKXT-F6DT2-THMRV-KDWH2-TCDTC  'Install an Office product key on local computer.
cscript ospp.vbs /inslic:\myserverlicenses	ail.xrm-ms 'Install license on local computer.
cscript ospp.vbs /inslic:"\myserverwork licensesoffice2016 tail.xrm-ms" mypc1 'Install license on remote computer mypc1. Note the path is enclosed in "" since the value contains spaces.
cscript ospp.vbs /ddescr:0xC004F009 'Display the description for error code.
cscript ospp.vbs /actype:1 'Set volume activation type to Active Directory only.

/Token only
cscript ospp.vbs /rtokil:4476b20e 'Uninstall an issuance license with license ID.
cscript ospp.vbs /tokact:96DE6755ABE0BC7D398E96C3AA3C7BFE8B565248 'Token activate with thumbprint.
cscript ospp.vbs /tokact:56AE6755AAB0BC7D398E96C3AA3C7BFE8B565256:54344 'Token activate with thumbprint & PIN.

?

知識擴展

  • 幫助文檔的路徑
    C:Program FilesMicrosoft OfficeOffice16

osppdoc2.png

?

學習推薦

?


感恩曾經(jīng)幫助過 師萬物 的人。
在日常生活中會用到Windows系統(tǒng),建議學習簡單的使用與配置。
學有余力的話,可以了解Windows、Mac OS和基于Linux的各個發(fā)行版本的優(yōu)劣勢,找到適合自身發(fā)展的桌面操作系統(tǒng)。
歡迎關注公眾號:悟為生心

本文摘自 :https://blog.51cto.com/s

開通會員,享受整站包年服務立即開通 >