转自msdn,转发链接:www.cnblogs.com/Charltsing/p/Office365month.html
作者QQ: 564955427
建立一个Bat文件,写入 下面内容
setlocal
reg query HKEY_LOCAL_MACHINESOFTWAREMicrosoftOfficeClickToRunConfiguration /v CDNBaseUrl
if %errorlevel%==0 (goto SwitchChannel) else (goto End)
:SwitchChannel
reg add HKEY_LOCAL_MACHINESOFTWAREMicrosoftOfficeClickToRunConfiguration /v CDNBaseUrl /t REG_SZ /d "http://officecdn.microsoft.com/pr/492350f6-3a01-4f97-b9c0-c7c6ddf67d60" /f
reg delete HKEY_LOCAL_MACHINESOFTWAREMicrosoftOfficeClickToRunConfiguration /v UpdateUrl /f
reg delete HKEY_LOCAL_MACHINESOFTWAREMicrosoftOfficeClickToRunConfiguration /v UpdateToVersion /f
reg delete HKEY_LOCAL_MACHINESOFTWAREMicrosoftOfficeClickToRunUpdates /v UpdateToVersion /f
reg delete HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftOffice16.0CommonOfficeUpdate /f
:End
Endlocal
pause
保存,运行即可