Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Tuesday, January 29, 2019 11:23 AM
I would like to get assistance in creating a batch file for converting the Office 365 Monthly Channel to Semi Annual Channel update.
I have the command line for the same
C:\Users\***> cd C:\Program Files\Common Files\Microsoft Shared\ClickToRun
C:\Program Files\Common Files\Microsoft Shared\ClickToRun>OfficeC2RClient.exe /changesetting Channel=Deferred
C:\Program Files\Common Files\Microsoft Shared\ClickToRun>OfficeC2RClient.exe /update user
I need to know if we can copy the above line and paste in a notepad to create a batch file or do we need any command lines for creating it.
Kindly advice if how to proceed with this
Regards, Shanker Kumar
All replies (1)
Wednesday, January 30, 2019 9:55 AM âś…Answered
Hi Shanker Kumar,
Please refer to this KB article about how to use bat file switch channels in Office. The KB is switch from Semi-Annual Channel to Monthly Channel and you want to switch from Monthly Channel to Semi-Annual Channel, you can change the CDNBaseUrl to help you Switch Channles.
To switch from Monthly Channel to Semi-Annual Channel, please follow these steps:
1. Start Notep
2. Paste the following script into Notepad, and save the file by using a .bat extension:
setlocal
reg query HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\ClickToRun\Configuration\ /v CDNBaseUrl
if %errorlevel%==0 (goto SwitchChannel) else (goto End)
:SwitchChannel
reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\ClickToRun\Configuration /v CDNBaseUrl /t REG_SZ /d "http://officecdn.microsoft.com/pr/7ffbc6bf-bc32-4f92-8982-f9dd17fd3114" /f
reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\ClickToRun\Configuration /v UpdateUrl /f
reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\ClickToRun\Configuration /v UpdateToVersion /f
reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\ClickToRun\Updates /v UpdateToVersion /f
reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Office\16.0\Common\OfficeUpdate\ /f
:End
Endlocal
3. Run the script on the computer. (Run as an Administrator)
4. Start an Office application (such as Excel), and then select File > Account.
5. In the Product Information section, select Update Options > Update Now.
About CDNBaseUrl for different Channels:
- Monthly Channel
(formerly Current Channel):
CDNBaseUrl = http://officecdn.microsoft.com/pr/492350f6-3a01-4f97-b9c0-c7c6ddf67d60 - Semi-Annual Channel
(formerly Deferred Channel):
CDNBaseUrl = http://officecdn.microsoft.com/pr/7ffbc6bf-bc32-4f92-8982-f9dd17fd3114 - Monthly Channel (Targeted)
(formerly First Release for Current Channel):
CDNBaseUrl = http://officecdn.microsoft.com/pr/64256afe-f5d9-4f86-8936-8840a6a4f5be - Semi-Annual Channel (Targeted)
(formerly First Release for Deferred Channel):
CDNBaseUrl = http://officecdn.microsoft.com/pr/b8f9b850-328d-4355-9145-c59439a0c4cf
Please refer to this support article: /en-us/sccm/sum/deploy-use/manage-office-365-proplus-updates
Hope it's helpful.
Regards,
Emi
Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact: [email protected].
Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Office 2019.