Office 2016 Click-to-Run

Office 2016 Deployment Tool

Office 2016 Deployment Tool (ODT) umožňuje spravovat Office 2016 Click-to-Run (CTR). Ovládá se pomocí cmd a xml souboru s nastavením.

https://www.microsoft.com/en-us/download/details.aspx?id=49117

Po stažení rozbalit do libovolné složky (ponechat setup.exe). Podrobnosti o nástroji jsou uvedeny po rozkliknutí Details na uvedené webové stránce.

Vytvoření konfiguračníno souboru config.xml

Konfigurační soubor xml vytvořit v poznámkovém bloku a uložit ve složce se setup.exe. Validní Channel v sekci add: Monthly (default), InsiderFast, Insiders, Broad a Targeted. Product ID verze 2016 *Retail, Product ID verze 2019 *2019Retail.

Edice Mondo

To, co se bude instalovat, je zakomentované. Uvedený příklad tedy nainstaluje edici Mondo s programy Word, Excel a Outlook.

<Configuration>
<Add OfficeClientEdition="64">
    <Product ID="MondoRetail">
      <Language ID="cs-CZ" />
      <!--  <ExcludeApp ID="Word" />       -->
      <!--  <ExcludeApp ID="Excel" />      -->
      <!--  <ExcludeApp ID="Outlook" />    -->
      <ExcludeApp ID="PowerPoint" />
      <ExcludeApp ID="Access" />
      <ExcludeApp ID="Publisher" />
      <ExcludeApp ID="OneNote" />
      <ExcludeApp ID="Groove" />
      <ExcludeApp ID="Lync" />
      <ExcludeApp ID="SharePointDesigner" />
      <ExcludeApp ID="Project" />
      <ExcludeApp ID="Visio" />
    </Product>
</Add>
</Configuration>

Edice ProPlus

To, co se bude instalovat, je zakomentované. Uvedený příklad tedy nainstaluje edici ProPlus s programy Word, Excel a Outlook.

<Configuration>
<Add OfficeClientEdition="64">
    <Product ID="ProplusRetail">
      <Language ID="cs-CZ" />
      <!--  <ExcludeApp ID="Word" />       -->
      <!--  <ExcludeApp ID="Excel" />      -->
      <!--  <ExcludeApp ID="Outlook" />    -->
      <ExcludeApp ID="PowerPoint" />
      <ExcludeApp ID="Access" />
      <ExcludeApp ID="Publisher" />
      <ExcludeApp ID="Groove" />
      <ExcludeApp ID="Lync" />
      <ExcludeApp ID="OneNote" />
    </Product>
</Add>
</Configuration>

Programy jednotlivě

Uvedený příklad nainstaluje programy Word, Excel a Outlook samostatně.

<Configuration>
<Add OfficeClientEdition="64">
    <Product ID="WordRetail">
      <Language ID="cs-CZ" />
    </Product>
    <Product ID="ExcelRetail">
      <Language ID="cs-CZ" />
    </Product>
    <Product ID="OutLookRetail">
      <Language ID="cs-CZ" />
    </Product>
</Add>
</Configuration>

Stažení instalačních souborů

Download.cmd vytvořit v poznámkovém bloku a uložit ve složce se setup.exe a spustit. Soubory instalace jsou pro všechny edice a programy stejné.

setup /download config.xml

Instalace Office 2016

Install.cmd vytvořit v poznámkovém bloku a uložit ve složce se setup.exe a spustit.

setup /configure config.xml

Odinstalace Office 2016

uninstall.xml vytvořit v poznámkovém bloku a uložit ve složce se setup.exe.

<Configuration>
	<Remove All="TRUE" />
</Configuration>

Uninstall.cmd vytvořit v poznámkovém bloku a uložit ve složce se setup.exe a spustit.

setup /configure uninstall.xml

Převod Office 2016 Retail na Volume ve Windows 10

Mondo

Spustit cmd skript jako správce
cd /D "%SystemRoot%\System32"
cscript slmgr.vbs /ilc "%ProgramFiles%\Microsoft Office\root\Licenses16\MondoVL_KMS_Client-ppd.xrm-ms"
cscript slmgr.vbs /ilc "%ProgramFiles%\Microsoft Office\root\Licenses16\MondoVL_KMS_Client-ul.xrm-ms"
cscript slmgr.vbs /ilc "%ProgramFiles%\Microsoft Office\root\Licenses16\MondoVL_KMS_Client-ul-oob.xrm-ms"
cscript slmgr.vbs /ipk HFTND-W9MK4-8B7MJ-B6C4G-XQBR2

ProPlus

Spustit cmd skript jako správce
cd /D "%SystemRoot%\System32"
cscript slmgr.vbs /ilc "%ProgramFiles%\Microsoft Office\root\Licenses16\ProPlusVL_KMS_Client-ppd.xrm-ms"
cscript slmgr.vbs /ilc "%ProgramFiles%\Microsoft Office\root\Licenses16\ProPlusVL_KMS_Client-ul.xrm-ms"
cscript slmgr.vbs /ilc "%ProgramFiles%\Microsoft Office\root\Licenses16\ProPlusVL_KMS_Client-ul-oob.xrm-ms"
cscript slmgr.vbs /ipk XQNVK-8JYDB-WJ9W3-YJ8YR-WFG99

Standard

Spustit cmd skript jako správce
cd /D "%SystemRoot%\System32"
cscript slmgr.vbs /ilc "%ProgramFiles%\Microsoft Office\root\Licenses16\StandardVL_KMS_Client-ppd.xrm-ms"
cscript slmgr.vbs /ilc "%ProgramFiles%\Microsoft Office\root\Licenses16\StandardVL_KMS_Client-ul.xrm-ms"
cscript slmgr.vbs /ilc "%ProgramFiles%\Microsoft Office\root\Licenses16\StandardVL_KMS_Client-ul-oob.xrm-ms"
cscript slmgr.vbs /ipk JNRGM-WHDWX-FJJG3-K47QV-DRTFM

Programy jednotlivě

Spustit cmd skript jako správce
cd /D "%SystemRoot%\System32"
cscript slmgr.vbs /ilc "%ProgramFiles%\Microsoft Office\root\Licenses16\ProjectProVL_KMS_Client-ppd.xrm-ms"
cscript slmgr.vbs /ilc "%ProgramFiles%\Microsoft Office\root\Licenses16\ProjectProVL_KMS_Client-ul.xrm-ms"
cscript slmgr.vbs /ilc "%ProgramFiles%\Microsoft Office\root\Licenses16\ProjectProVL_KMS_Client-ul-oob.xrm-ms"
cscript slmgr.vbs /ipk YG9NW-3K39V-2T3HJ-93F3Q-G83KT
cd /D "%SystemRoot%\System32"
cscript slmgr.vbs /ilc "%ProgramFiles%\Microsoft Office\root\Licenses16\ProjectStdVL_KMS_Client-ppd.xrm-ms"
cscript slmgr.vbs /ilc "%ProgramFiles%\Microsoft Office\root\Licenses16\ProjectStdVL_KMS_Client-ul.xrm-ms"
cscript slmgr.vbs /ilc "%ProgramFiles%\Microsoft Office\root\Licenses16\ProjectStdVL_KMS_Client-ul-oob.xrm-ms"
cscript slmgr.vbs /ipk GNFHQ-F6YQM-KQDGJ-327XX-KQBVC
cd /D "%SystemRoot%\System32"
cscript slmgr.vbs /ilc "%ProgramFiles%\Microsoft Office\root\Licenses16\VisioProVL_KMS_Client-ppd.xrm-ms"
cscript slmgr.vbs /ilc "%ProgramFiles%\Microsoft Office\root\Licenses16\VisioProVL_KMS_Client-ul.xrm-ms"
cscript slmgr.vbs /ilc "%ProgramFiles%\Microsoft Office\root\Licenses16\VisioProVL_KMS_Client-ul-oob.xrm-ms"
cscript slmgr.vbs /ipk PD3PC-RHNGV-FXJ29-8JK7D-RJRJK
cd /D "%SystemRoot%\System32"
cscript slmgr.vbs /ilc "%ProgramFiles%\Microsoft Office\root\Licenses16\VisioStdVL_KMS_Client-ppd.xrm-ms"
cscript slmgr.vbs /ilc "%ProgramFiles%\Microsoft Office\root\Licenses16\VisioStdVL_KMS_Client-ul.xrm-ms"
cscript slmgr.vbs /ilc "%ProgramFiles%\Microsoft Office\root\Licenses16\VisioStdVL_KMS_Client-ul-oob.xrm-ms"
cscript slmgr.vbs /ipk 7WHWN-4T7MP-G96JF-G33KR-W8GF4
cd /D "%SystemRoot%\System32"
cscript slmgr.vbs /ilc "%ProgramFiles%\Microsoft Office\root\Licenses16\AccessVL_KMS_Client-ppd.xrm-ms"
cscript slmgr.vbs /ilc "%ProgramFiles%\Microsoft Office\root\Licenses16\AccessVL_KMS_Client-ul.xrm-ms"
cscript slmgr.vbs /ilc "%ProgramFiles%\Microsoft Office\root\Licenses16\AccessVL_KMS_Client-ul-oob.xrm-ms"
cscript slmgr.vbs /ipk GNH9Y-D2J4T-FJHGG-QRVH7-QPFDW
cd /D "%SystemRoot%\System32"
cscript slmgr.vbs /ilc "%ProgramFiles%\Microsoft Office\root\Licenses16\ExcelVL_KMS_Client-ppd.xrm-ms"
cscript slmgr.vbs /ilc "%ProgramFiles%\Microsoft Office\root\Licenses16\ExcelVL_KMS_Client-ul.xrm-ms"
cscript slmgr.vbs /ilc "%ProgramFiles%\Microsoft Office\root\Licenses16\ExcelVL_KMS_Client-ul-oob.xrm-ms"
cscript slmgr.vbs /ipk 9C2PK-NWTVB-JMPW8-BFT28-7FTBF
cd /D "%SystemRoot%\System32"
cscript slmgr.vbs /ilc "%ProgramFiles%\Microsoft Office\root\Licenses16\OneNoteVL_KMS_Client-ppd.xrm-ms"
cscript slmgr.vbs /ilc "%ProgramFiles%\Microsoft Office\root\Licenses16\OneNoteVL_KMS_Client-ul.xrm-ms"
cscript slmgr.vbs /ilc "%ProgramFiles%\Microsoft Office\root\Licenses16\OneNoteVL_KMS_Client-ul-oob.xrm-ms"
cscript slmgr.vbs /ipk DR92N-9HTF2-97XKM-XW2WJ-XW3J6
cd /D "%SystemRoot%\System32"
cscript slmgr.vbs /ilc "%ProgramFiles%\Microsoft Office\root\Licenses16\OutlookVL_KMS_Client-ppd.xrm-ms"
cscript slmgr.vbs /ilc "%ProgramFiles%\Microsoft Office\root\Licenses16\OutlookVL_KMS_Client-ul.xrm-ms"
cscript slmgr.vbs /ilc "%ProgramFiles%\Microsoft Office\root\Licenses16\OutlookVL_KMS_Client-ul-oob.xrm-ms"
cscript slmgr.vbs /ipk R69KK-NTPKF-7M3Q4-QYBHW-6MT9B
cd /D "%SystemRoot%\System32"
cscript slmgr.vbs /ilc "%ProgramFiles%\Microsoft Office\root\Licenses16\PowerPointVL_KMS_Client-ppd.xrm-ms"
cscript slmgr.vbs /ilc "%ProgramFiles%\Microsoft Office\root\Licenses16\PowerPointVL_KMS_Client-ul.xrm-ms"
cscript slmgr.vbs /ilc "%ProgramFiles%\Microsoft Office\root\Licenses16\PowerPointVL_KMS_Client-ul-oob.xrm-ms"
cscript slmgr.vbs /ipk J7MQP-HNJ4Y-WJ7YM-PFYGF-BY6C6
cd /D "%SystemRoot%\System32"
cscript slmgr.vbs /ilc "%ProgramFiles%\Microsoft Office\root\Licenses16\PublisherVL_KMS_Client-ppd.xrm-ms"
cscript slmgr.vbs /ilc "%ProgramFiles%\Microsoft Office\root\Licenses16\PublisherVL_KMS_Client-ul.xrm-ms"
cscript slmgr.vbs /ilc "%ProgramFiles%\Microsoft Office\root\Licenses16\PublisherVL_KMS_Client-ul-oob.xrm-ms"
cscript slmgr.vbs /ipk F47MM-N3XJP-TQXJ9-BP99D-8K837
cd /D "%SystemRoot%\System32"
cscript slmgr.vbs /ilc "%ProgramFiles%\Microsoft Office\root\Licenses16\WordVL_KMS_Client-ppd.xrm-ms"
cscript slmgr.vbs /ilc "%ProgramFiles%\Microsoft Office\root\Licenses16\WordVL_KMS_Client-ul.xrm-ms"
cscript slmgr.vbs /ilc "%ProgramFiles%\Microsoft Office\root\Licenses16\WordVL_KMS_Client-ul-oob.xrm-ms"
cscript slmgr.vbs /ipk WXY84-JN2Q9-RBCCQ-3Q3J3-3PFJ6
cd /D "%SystemRoot%\System32"
cscript slmgr.vbs /ilc "%ProgramFiles%\Microsoft Office\root\Licenses16\SkypeforBusinessVL_KMS_Client-ppd.xrm-ms"
cscript slmgr.vbs /ilc "%ProgramFiles%\Microsoft Office\root\Licenses16\SkypeforBusinessVL_KMS_Client-ul.xrm-ms"
cscript slmgr.vbs /ilc "%ProgramFiles%\Microsoft Office\root\Licenses16\SkypeforBusinessVL_KMS_Client-ul-oob.xrm-ms"
cscript slmgr.vbs /ipk 869NQ-FJ69K-466HW-QYCP2-DDBV6

ProPlus2019

Spustit cmd skript jako správce
cd /D "%SystemRoot%\System32"
cscript slmgr.vbs /ilc "%ProgramFiles%\Microsoft Office\root\Licenses16\ProPlus2019XC2RVL_KMS_ClientC2R-ul.xrm-ms"
cscript slmgr.vbs /ilc "%ProgramFiles%\Microsoft Office\root\Licenses16\ProPlus2019XC2RVL_KMS_ClientC2R-ul-oob.xrm-ms"
cscript slmgr.vbs /ilc "%ProgramFiles%\Microsoft Office\root\Licenses16\ProPlus2019XC2RVL_KMS_ClientC2R-ppd.xrm-ms"
cscript slmgr.vbs /ipk VQ9DP-NVHPH-T9HJC-J9PDT-KTQRG

ProjectPro2019

Spustit cmd skript jako správce
cd /D "%SystemRoot%\System32"
cscript slmgr.vbs /ilc "%ProgramFiles%\Microsoft Office\root\Licenses16\ProjectPro2019XC2RVL_KMS_ClientC2R-ul.xrm-ms"
cscript slmgr.vbs /ilc "%ProgramFiles%\Microsoft Office\root\Licenses16\ProjectPro2019XC2RVL_KMS_ClientC2R-ul-oob.xrm-ms"
cscript slmgr.vbs /ilc "%ProgramFiles%\Microsoft Office\root\Licenses16\ProjectPro2019XC2RVL_KMS_ClientC2R-ppd.xrm-ms"
cscript slmgr.vbs /ipk XM2V9-DN9HH-QB449-XDGKC-W2RMW

VisioPro2019

Spustit cmd skript jako správce
cd /D "%SystemRoot%\System32"
cscript slmgr.vbs /ilc "%ProgramFiles%\Microsoft Office\root\Licenses16\VisioPro2019XC2RVL_KMS_ClientC2R-ul.xrm-ms"
cscript slmgr.vbs /ilc "%ProgramFiles%\Microsoft Office\root\Licenses16\VisioPro2019XC2RVL_KMS_ClientC2R-ul-oob.xrm-ms"
cscript slmgr.vbs /ilc "%ProgramFiles%\Microsoft Office\root\Licenses16\VisioPro2019XC2RVL_KMS_ClientC2R-ppd.xrm-ms"
cscript slmgr.vbs /ipk N2CG9-YD3YK-936X4-3WR82-Q3X4H

Instalace doplňkových licencí

Spustit cmd skript jako správce
cd /D "%SystemRoot%\System32"
cscript slmgr.vbs /ilc "%ProgramFiles%\Microsoft Office\root\Licenses16\client-issuance-bridge-office.xrm-ms"
cscript slmgr.vbs /ilc "%ProgramFiles%\Microsoft Office\root\Licenses16\client-issuance-root.xrm-ms"
cscript slmgr.vbs /ilc "%ProgramFiles%\Microsoft Office\root\Licenses16\client-issuance-root-bridge-test.xrm-ms"
cscript slmgr.vbs /ilc "%ProgramFiles%\Microsoft Office\root\Licenses16\client-issuance-stil.xrm-ms"
cscript slmgr.vbs /ilc "%ProgramFiles%\Microsoft Office\root\Licenses16\client-issuance-ul.xrm-ms"
cscript slmgr.vbs /ilc "%ProgramFiles%\Microsoft Office\root\Licenses16\client-issuance-ul-oob.xrm-ms"
cscript slmgr.vbs /ilc "%ProgramFiles%\Microsoft Office\root\Licenses16\pkeyconfig-office.xrm-ms"

Informace

cscript "c:\Program Files\Microsoft Office\Office16\ospp.vbs" /dstatus
cscript "c:\Program Files\Microsoft Office\Office16\ospp.vbs" /dstatusall

Odinstalace nepotřebných licencí

Spustit cmd skript jako správce
Obecně:
cscript "%windir%\system32\slmgr.vbs" /upk <SKU ID>
Příklad Office16ProPlusR_Grace:
cscript "%windir%\system32\slmgr.vbs" /upk 70d9ceb6-6dfa-4da4-b413-18c1c3c76e2e

Instalace Office bez ODT

Stažení instalačky pomocí AudienceId

@echo off
pushd "%~dp0"

set "id=492350F6-3A01-4F97-B9C0-C7C6DDF67D60"
set "lang=cs-cz"
set "lcid=1029"
set "bit=64"
if %bit%==64 set "arch=64"
if %bit%==32 set "arch=86"
set "cdn=http://officecdn.microsoft.com/pr/%id%/Office/Data"

powershell -command "& { (New-Object Net.WebClient).DownloadFile('%cdn%/MRO.cab', '%~dp0MRO.cab') }"
expand MRO.cab -F:MRO.xml "%cd%" >nul 2>&1
for /f "tokens=2 delims=<> " %%G in ('findstr /i Available MRO.xml') do set "version=%%G"
del /f /q MRO.xml MRO.cab >nul 2>&1
echo %version%
pause

echo Stahuji soubory
md Office\Data\%version% >nul 2>&1
powershell -command "& { Start-BitsTransfer %cdn%/%version%/i%bit%%lcid%.cab '%cd%\Office\Data\%version%\i%bit%%lcid%.cab' }"
powershell -command "& { Start-BitsTransfer %cdn%/%version%/i%bit%0.cab '%cd%\Office\Data\%version%\i%bit%0.cab' }"
powershell -command "& { Start-BitsTransfer %cdn%/%version%/s%bit%%lcid%.cab '%cd%\Office\Data\%version%\s%bit%%lcid%.cab' }"
powershell -command "& { Start-BitsTransfer %cdn%/%version%/s%bit%0.cab '%cd%\Office\Data\%version%\s%bit%0.cab' }"
powershell -command "& { Start-BitsTransfer %cdn%/%version%/stream.x%arch%.%lang%.dat '%cd%\Office\Data\%version%\stream.x%arch%.%lang%.dat' }"
powershell -command "& { Start-BitsTransfer %cdn%/%version%/stream.x%arch%.x-none.dat '%cd%\Office\Data\%version%\stream.x%arch%.x-none.dat' }"
pause

Instalace

Nakopírování instalátoru

pushd "%~dp0"
set "version=16.0.9001.2144"
set "localeid=1029"
set "bit=64"
md "%CommonProgramFiles%\Microsoft Shared\ClickToRun"
expand Office\Data\%version%\i%bit%0.cab -F:* "%CommonProgramFiles%\Microsoft Shared\ClickToRun"
expand Office\Data\%version%\i%bit%%localeid%.cab -F:* "%CommonProgramFiles%\Microsoft Shared\ClickToRun"
pause

Spuštění instalátoru

"%CommonProgramFiles%\Microsoft Shared\ClickToRun\OfficeClickToRun.exe"^
 cdnbaseurl=http://officecdn.microsoft.com/pr/492350f6-3a01-4f97-b9c0-c7c6ddf67d60^
 baseurl="E:\CTR"^
 version=16.0.9001.2171^
 platform=x64^
 productstoadd=ProplusVolume_cs-cz_x-none^
 proplusVolume.excludedapps=access,publisher,groove,lync,onenote,onedrive^
 deliverymechanism=492350f6-3a01-4f97-b9c0-c7c6ddf67d60^
 pidkeys=XQNVK-8JYDB-WJ9W3-YJ8YR-WFG99^
 displaylevel=True
pause

cdnbaseurl musí být při instalaci cdn url, po instalaci se může cdnbaseurl změnit v registru i na lokální složku.
baseurl může být i cdn url:
baseurl=http://officecdn.microsoft.com/pr/492350f6-3a01-4f97-b9c0-c7c6ddf67d60
(v tom případě stačí stáhnout jen dva soubory instalátoru začínající na i a nemusí se stahovat 4 soubory instalačky začínající na s)
platform pro 32bit Office:
platform=x86
více produktů a více jazyků v productstoadd (stříšku použít jen v cmd):
productstoadd=ProPlusVolume_cs-cz_en-us_x-none^|ProjectProVolume_cs-cz_en-us_x-none^|VisioProVolume_cs-cz_en-us_x-none
všechny možnosti excludedapps:
access,excel,groove,lync,onedrive,onenote,outlook,powerpoint,publisher,word,visio,project
deliverymechanism uvede AudienceId a AudienceData v registru. Pokud není zadán AudienceId a AudienceData budou uvedena po prvním upgradu.
více klíčů pro více produktů:
pidkeys=XQNVK-8JYDB-WJ9W3-YJ8YR-WFG99,YG9NW-3K39V-2T3HJ-93F3Q-G83KT,PD3PC-RHNGV-FXJ29-8JK7D-RJRJK
displaylevel je defaultně True a nemusí se pro true zadávat. Pokud chceme false zadáme:
displaylevel=False

Log

Defaultně instalátor ukládá log v profilové temp složce.

Odinstalce

všeho:
"%CommonProgramFiles%\Microsoft Shared\ClickToRun\OfficeClickToRun.exe" productstoremove=AllProducts
aplikace:
"%CommonProgramFiles%\Microsoft Shared\ClickToRun\OfficeClickToRun.exe" productstoremove=ProjectProVolume_cs-cz_x-none

Instalace licence

Použít pokud není nainstalovaná.

"%ProgramFiles%\Microsoft Office\root\integration\integrator.exe" /I /License PRIDName=MondoVolume.16 PidKey=HFTND-W9MK4-8B7MJ-B6C4G-XQBR2

Aktivace Office 2016

Aktivace Office 2016 VL a 2019 VL pomocí KMS aktivace. Aktivace Office 2019 retail proběhne automaticky a je dočasná do 31. 12. 2018 (platí i pro aktualizační kanál Monthly).

VL klíče

Mondo             HFTND-W9MK4-8B7MJ-B6C4G-XQBR2
ProPlus           XQNVK-8JYDB-WJ9W3-YJ8YR-WFG99
Standard          JNRGM-WHDWX-FJJG3-K47QV-DRTFM

Access            GNH9Y-D2J4T-FJHGG-QRVH7-QPFDW
Excel             9C2PK-NWTVB-JMPW8-BFT28-7FTBF
OneNote           DR92N-9HTF2-97XKM-XW2WJ-XW3J6
Outlook           R69KK-NTPKF-7M3Q4-QYBHW-6MT9B
PowerPoint        J7MQP-HNJ4Y-WJ7YM-PFYGF-BY6C6
Publisher         F47MM-N3XJP-TQXJ9-BP99D-8K837
Word              WXY84-JN2Q9-RBCCQ-3Q3J3-3PFJ6
SkypeforBusiness  869NQ-FJ69K-466HW-QYCP2-DDBV6

ProjectPro        YG9NW-3K39V-2T3HJ-93F3Q-G83KT
ProjectStd        GNFHQ-F6YQM-KQDGJ-327XX-KQBVC
VisioPro          PD3PC-RHNGV-FXJ29-8JK7D-RJRJK
VisioStd          7WHWN-4T7MP-G96JF-G33KR-W8GF4

C2R-P
ProjectPro        WGT24-HCNMF-FQ7XH-6M8K7-DRTW9
ProjectStd        D8NRQ-JTYM3-7J2DX-646CT-6836M
VisioPro          69WXN-MBYV6-22PQG-3WGHK-RM6XC
VisioStd          NY48V-PPYYH-3F4PX-XJRKJ-W4423

C2R-P
ProPlus2019       VQ9DP-NVHPH-T9HJC-J9PDT-KTQRG
ProjectPro2019    XM2V9-DN9HH-QB449-XDGKC-W2RMW
VisioPro2019      N2CG9-YD3YK-936X4-3WR82-Q3X4H

Přehled některých kanálů

AudienceId                            AudienceData        Channel
EA4A4090-DE26-49D7-93C1-91BFF9E53FC3  Dogfood::DevMain
F3260CF1-A92C-4C75-B02E-D64C0A86A968  Dogfood::CC
B61285DD-D9F7-41F2-9757-8F61CBA4E9C8  Microsoft::DevMain
5462EEE5-1E97-495B-9370-853CD873BB07  Microsoft::CC
1D2D2EA6-1680-4C56-AC58-A441C8C24FF9  Microsoft::LTSC
5440FD1F-7ECB-4221-8110-145EFAA6372F  Insiders::DevMain   InsiderFast
64256AFE-F5D9-4F86-8936-8840A6A4F5BE  Insiders::CC        Insiders
B8F9B850-328D-4355-9145-C59439A0C4CF  Insiders::FRDC      Targeted
492350F6-3A01-4F97-B9C0-C7C6DDF67D60  Production::CC      Monthly
7FFBC6BF-BC32-4F92-8982-F9DD17FD3114  Production::DC      Broad
F2E724C1-748F-4B47-8FB8-8E0D210E9208  Production::LTSC

Ověření verzí jednotlivých kanálů

@echo off
pushd "%~dp0"

echo AudienceId                            Version         Created     AudienceData        Channel

set "aid=EA4A4090-DE26-49D7-93C1-91BFF9E53FC3"
call :check %aid%
echo %aid%  %version%  %datetime%  Dogfood::DevMain

set "aid=F3260CF1-A92C-4C75-B02E-D64C0A86A968"
call :check %aid%
echo %aid%  %version%  %datetime%  Dogfood::CC

set "aid=B61285DD-D9F7-41F2-9757-8F61CBA4E9C8"
call :check %aid%
echo %aid%  %version%  %datetime%  Microsoft::DevMain

set "aid=5462EEE5-1E97-495B-9370-853CD873BB07"
call :check %aid%
echo %aid%  %version%  %datetime%  Microsoft::CC

set "aid=1D2D2EA6-1680-4C56-AC58-A441C8C24FF9"
call :check %aid%
echo %aid%  %version%  %datetime%  Microsoft::LTSC

set "aid=5440FD1F-7ECB-4221-8110-145EFAA6372F"
call :check %aid%
echo %aid%  %version%  %datetime%  Insiders::DevMain   InsiderFast

set "aid=64256AFE-F5D9-4F86-8936-8840A6A4F5BE"
call :check %aid%
echo %aid%  %version%  %datetime%  Insiders::CC        Insiders

set "aid=B8F9B850-328D-4355-9145-C59439A0C4CF"
call :check %aid%
echo %aid%  %version%  %datetime%  Insiders::FRDC      Targeted

set "aid=492350F6-3A01-4F97-B9C0-C7C6DDF67D60"
call :check %aid%
echo %aid%  %version%  %datetime%  Production::CC      Monthly

set "aid=7FFBC6BF-BC32-4F92-8982-F9DD17FD3114"
call :check %aid%
echo %aid%  %version%  %datetime%  Production::DC      Broad

set "aid=F2E724C1-748F-4B47-8FB8-8E0D210E9208"
call :check %aid%
echo %aid%  %version%  %datetime%  Production::LTSC

pause
exit

:check
powershell -command "& { (New-Object Net.WebClient).DownloadFile('http://officecdn.microsoft.com/pr/%1/Office/Data/MRO.cab', '%~dp0MRO.cab') }"
expand MRO.cab -F:MRO.xml "%cd%" >nul 2>&1
for /f "tokens=2 delims=<> " %%G in ('findstr /i Available MRO.xml') do set "version=%%G"
for /f "tokens=2-4 delims=<>/ " %%G in ('findstr /i CreatedTimeUtc MRO.xml') do set "datetime=%%H/%%G/%%I"
del /f /q MRO.xml MRO.cab >nul 2>&1
exit /b

Změna aktualizačního kanálu

Spustit cmd skript jako správce
Obecně:
set "CDNBaseUrl=http://officecdn.microsoft.com/pr/<AudienceId>"
reg add HKLM\Software\Microsoft\Office\ClickToRun\Configuration /v CDNBaseUrl /d "%CDNBaseUrl%" /f
Příklad:
set "CDNBaseUrl=http://officecdn.microsoft.com/pr/EA4A4090-DE26-49D7-93C1-91BFF9E53FC3"
reg add HKLM\Software\Microsoft\Office\ClickToRun\Configuration /v CDNBaseUrl /d "%CDNBaseUrl%" /f

Vyvolání aktualizace

"%CommonProgramFiles%\microsoft shared\ClickToRun\OfficeC2RClient.exe" /update user updatepromptuser=True displaylevel=True

Úprava registru po změně licencování na VL

V klíči HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\ClickToRun\Configuration
v ProductReleaseIds změnit hodnoty z *Retail na *Volume
a názvy *Retail.ExcludedApps, *Retail.MediaType a *Retail.OSPPReady změnit na *Volume.ExcludedApps, *Volume.MediaType a *Volume.OSPPReady.