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

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

  • ?????? OS : Windows 10 Version 1809
  • ????Office : Microsoft Office 2019
  • ?????? blog : 師萬(wàn)物
  • ?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.

?

知識(shí)擴(kuò)展

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

osppdoc2.png

?

學(xué)習(xí)推薦

?


感恩曾經(jīng)幫助過(guò) 師萬(wàn)物 的人。
在日常生活中會(huì)用到Windows系統(tǒng),建議學(xué)習(xí)簡(jiǎn)單的使用與配置。
學(xué)有余力的話(huà),可以了解Windows、Mac OS和基于Linux的各個(gè)發(fā)行版本的優(yōu)劣勢(shì),找到適合自身發(fā)展的桌面操作系統(tǒng)。
歡迎關(guān)注公眾號(hào):悟?yàn)樯?/br>

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

開(kāi)通會(huì)員,享受整站包年服務(wù)立即開(kāi)通 >