Skip to main content

Microsoft 365 - Click-to-Run - Set Update Channel

Summary

Configures the Microsoft Office Click-to-Run update channel using custom fields.

Note: Set the 'Update Channel' custom field at either the company or endpoint-level before running this task.

Sample Run

Image1

Dependencies

Custom Fields

NameExampleLevelTypeRequiredAvailable OptionsDescription
Update ChannelCurrent ChannelCompanyDropdownPartially(See below)Sets the default update channel for all endpoints at the company level.
Update ChannelSemi-Annual Enterprise ChannelEndpointDropdownPartially(See below)Overrides the company-level update channel for a specific endpoint.

Note: At least one of the above custom fields must be set before running this task. If both are set, the endpoint-level value takes precedence over the company-level value.

Available Options:

  • Current Channel
  • Monthly Enterprise Channel
  • Semi-Annual Enterprise Channel
  • Beta Channel
  • None

Task Setup Path

  • Tasks Path: AUTOMATIONTasks
  • Task Type: Script Editor

Task Creation

Description

  • Name: Microsoft 365 - Click-to-Run - Set Update Channel
  • Description:
This script will make changes to the registry to set the update channel for Microsoft 365 products to the value specified in the Company or Endpoint-level Custom field "Update Channel".

https://content.provaltech.com/docs/3627ba40-ca53-4583-8435-bb09bdb03f20
  • Category: Custom

Image2

Script Editor

Row 1: Set Pre-defined Variable ( @clientUpdateChannel@ = Update Channel )

  • Notes: # client-level custom-field "Update Channel"
  • Variable Name: clientUpdateChannel
  • Type: Custom Field
  • Custom Field: Update Channel (Select the company-level custom field)
  • Continue on Failure: False
  • Operating System: Windows

Image3

Row 2: Set Pre-defined Variable ( @computerUpdateChannel@ = Update Channel )

  • Notes: # computer-level custom-field "Update Channel"
  • Variable Name: computerUpdateChannel
  • Type: Custom Field
  • Custom Field: Update Channel (Select the endpoint-level custom field)
  • Continue on Failure: False
  • Operating System: Windows

Image4

Row 3: PowerShell script

  • Notes: <Leave it Blank>
  • Continue on Failure: False
  • Run As: System
  • Operating System: Windows
  • Expected time of script execution in seconds: 300
  • PowerShell Script:

PowerShell Script

Image5

Row 4: Script Log

  • Notes: <Leave it Blank>
  • Continue on Failure: False
  • Operating System: Windows
  • Script Log Message: %Output%

Image6

Completed Script

Image7

Output

  • Script Log

Changelog

2026-06-16

  • Enhanced PowerShell script
  • Simplified the task
  • Documentation

2025-04-10

  • Initial version of the document