All posts by Michael Albert

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

vCenter: Installing of custom certificate failed

Hi,

a customer had the problem that he couldn’t install a custom certificate, reset all ceritifcates etc. with the vCenter certificate manager /usr/lib/vmware-vmca/bin/certificate-manager.

He had canceled a previous attempt and from now on an error
Certificate Manager tool do not support vCenter HA systems
occured although he hasn’t enabled vCenter HA.

Continue reading vCenter: Installing of custom certificate failed

Windows: Disable Windows recovery environment to delete recovery partition

Hi,

if you want to delete the recovery partition, for example due to expand the C: drive you have to disable the recovery environment first. Disable means the Menu entry from the Bootmenu is removed.
Continue reading Windows: Disable Windows recovery environment to delete recovery partition

VMware: Start a rescan for new/dead devices and volumes on ESXi from command line

Hi,

the command for triggering a rescan for new or dead volumes, devices or pathes use
Continue reading VMware: Start a rescan for new/dead devices and volumes on ESXi from command line

VMware: Unmount a datastore/volume from an ESXi Server at command line

Hi,

these steps describe the steps to unmount an datastore from an ESXi host. If you tried it with the GUI and you got an error:

The resource ‘my_esxdatastore’ is in use. Cannot unmount volume ‘esxdatastore_F00’ because “One or more virtual machines are still registered on it”.
Continue reading VMware: Unmount a datastore/volume from an ESXi Server at command line