Skip to main content

Manage Developer Mode

Overview

Manages the Windows Developer Mode setting on Windows 10/11 devices. The automation can enable, disable, or check the current Developer Mode state.

The desired action is determined in the following priority order:

  1. The Action script parameter, if set.
  2. The cPVAL Desired Developer Mode custom field, if configured at the Organization, Location, or Device level.
  3. Defaults to Check if neither is set.

After each run, the cPVAL Current Developer Mode custom field is updated to reflect the current Developer Mode state on the device.

Notes:

  • Supported on Windows 10 and Windows 11 only.
  • Set the cPVAL Desired Developer Mode custom field to None to exclude devices at that scope from scheduled automation runs. The automation can still be run manually on those devices and will default to the Check action.
  • Lower-level settings (Device) override higher-level settings (Location, Organization) in the cPVAL Desired Developer Mode custom field.
  • The Action parameter always takes priority over the custom field value.

Sample Run

Action Determined by cPVAL Desired Developer Mode Custom Field

Image1

Enable Developer Mode via Action Parameter

Image2

Disable Developer Mode via Action Parameter

Image3

Dependencies

Parameters

NameExampleAccepted ValuesRequiredDefaultTypeDescription
ActionEnableCheck, Enable, DisableFalseCheckDropdownDefines the action to perform on Developer Mode. When set, this overrides the value stored in the cPVAL Desired Developer Mode custom field. Defaults to Check if neither this parameter nor the custom field is configured.

Custom Fields

NameDefinition ScopeTypeRequiredDefault ValueAvailable OptionsEditableCustom Field Tab NameDescription
cPVAL Desired Developer ModeOrganization, Location, DeviceDropdownNoNoneNone, Check, Enable, DisableYesDeveloper ModeControls the desired Developer Mode state for scheduled automation runs. Set at Organization, Location, or Device level. Lower-level settings override higher-level ones. Set to None to exclude the device from scheduled automation; manual runs will still default to Check.
cPVAL Current Developer ModeDeviceTextNoNoDeveloper ModeDisplays the current Developer Mode state (Enabled or Disabled) as of the last automation run. This field is updated automatically by the automation.

Automation Setup/Import

Automation Configuration

Output

  • Activity Details
  • Custom Field

Changelog

2026-06-17

  • Initial version of the document