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

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

Windows: Set a registry key (Default) value by command line

Hi,

all registry keys have an default value. The default value cannot be set by its name “(Default)”, it must be set with specific option of reg.exe.

Continue reading Windows: Set a registry key (Default) value by command line

.NET: Set default SSL/TLS Version to 1.2

Hi,

by default .NET does not uses TLS Version 1.2. So if you disable all SSL/TLS versions lower then 1.2 .NET application could not establish a secure connection anymore.
Continue reading .NET: Set default SSL/TLS Version to 1.2

Windows: Add an IP Address to the local intranet zone

Hi,

the internet explorers security zones affects more windows components then the internet explorer itself. For example the Windows File Explorer or the Windows Powershell.
Continue reading Windows: Add an IP Address to the local intranet zone