Category Archives: Windows

Windows tips, howtos, scripts

Office 365: Change Update source

Hi,

current config can be shown (not edited) at

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\ClickToRun\Configuration
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Office\16.0\common\officeupdate


Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Office\16.0\common\officeupdate]
"Updatepath"="http://officecdn.microsoft.com/pr/55336b82-a18d-4dd6-b5f6-9e5095c314a6"
"enableautomaticupdates"=dword:00000001
"OfficeMgmtCOM"=dword:00000000
"UpdateTargetVersion"="16.0.14430.20342"
"preventteamsinstall"=dword:00000001
"hideenabledisableupdates"=dword:00000001

Make a copy of the original configure.xml in installsource, for example myConfig.xml:

Adjust UpdatePath from none to http://officecdn.microsoft.com/pr/55336b82-a18d-4dd6-b5f6-9e5095c314a6 and (add) a channel property if you want to change it

<Configuration>
  <Add OfficeClientEdition="32" Channel="MonthlyEnterprise"  UpdatePath="http://officecdn.microsoft.com/pr/55336b82-a18d-4dd6-b5f6-9e5095c314a6" >
      <Product ID="O365ProPlusRetail">
      <Language ID="en-us" />
      <ExcludeApp ID="Lync" />
      <ExcludeApp ID="OneDrive" />
      <ExcludeApp ID="Groove" />
	  <ExcludeApp ID="Teams" />
      </Product>
  </Add> 
 <RemoveMSI All="TRUE" />
<Display Level="Full" AcceptEULA="TRUE" />
<Logging  Level="Standard"  Path="C:\Logs\" />
<Property Name="PinIconsToTaskbar" Value="FALSE" />
</Configuration>

or simply?

<Configuration>
	<Updates Enabled="TRUE" Channel="MonthlyEnterprise" UpdatePath="http://officecdn.microsoft.com/pr/55336b82-a18d-4dd6-b5f6-9e5095c314a6"/>
</Configuration>

Allowed values

Channel="CurrentPreview"
Channel="Current"
Channel="MonthlyEnterprise"
Channel="SemiAnnualPreview"
Channel="SemiAnnual

Reconfigure Office during ODT Office Deployment toolkit. Use customize to just change the config or configure to download and install the latest update too.

setup.exe /customize myConfig.xml
setup.exe /configure myConfig.xml

Further switches

/download

Change the channel

D:\> cd C:\Program Files\Common Files\Microsoft Shared\ClickToRun
C:\Program Files\Common Files\Microsoft Shared\ClickToRun>  OfficeC2RClient.exe /changesetting Channel=MonthlyEnterprise
C:\Program Files\Common Files\Microsoft Shared\ClickToRun>OfficeC2RClient.exe /update user


LogLevel

Update debug logs

reg add HKCU\Software\Microsoft\Office\16.0\Common\Logging /v EnableLogging /t REG_DWORD /d 1
reg add HKLM\SOFTWARE\Microsoft\ClickToRun\OverRide /v LogLevel /t REG_DWORD /d 3 /f
reg add HKLM\SOFTWARE\Microsoft\ClickToRun\OverRide /v PipelineLogging /t REG_DWORD /d 1

Force update

"C:\Program Files\Common Files\Microsoft Shared\ClickToRun\OfficeC2RClient.exe" /update user updatepromptuser=true forceappshutdown=true displaylevel=true 

revert to an earlier version
Office 365 behind a proxy, BITS is used

bitsadmin /util /setieproxy localsystem MANUAL_PROXY myProxy:8081 NULL

Advertisment to support michlstechblog.info