Skip Navigation

Commands for 
Windows
 devices

Command
Description
Activation types
Lock device
This command locks a device. The user must type the existing device password to unlock the device. If a device is temporarily lost, you might use this command. 
When you send this command, the device locks only if there is an existing device password. Otherwise, no action is taken on the device.
This command is supported only on devices running 
Windows 10 Mobile
.
MDM controls
Generate device password and lock
This command generates a device password and locks the device. The generated password is sent to the user by email. You can use the preselected email address, or specify an email address. The generated password complies with any existing password rules.
This command is supported only on devices running 
Windows 10 Mobile
.
MDM controls
Delete only work data
This command deletes work data, including the IT policy, profiles, apps, and certificates that are on the device, and optionally, deletes the device from 
BlackBerry UEM
The user account is not deleted when you send this command.
After you send this command, you are given the option of deleting the device from 
BlackBerry UEM
. If the device is unable to connect to 
BlackBerry UEM
, you can remove the device from 
BlackBerry UEM
. If the device connects to 
BlackBerry UEM
 after you removed it, only the work data is deleted from the device, including the work space, if applicable. 
To send this command to multiple devices, see Send a bulk command.
MDM controls
Delete all device data
This command deletes all user information and app data that the device stores. It returns the device to factory defaults and optionally, deletes the device from 
BlackBerry UEM
After you send this command, you are given the option of deleting the device from 
BlackBerry UEM
. If the device is unable to connect to 
BlackBerry UEM
, you can remove the device from 
BlackBerry UEM
. If the device connects to 
BlackBerry UEM
 after you removed it, only the work data is deleted from the device, including the work space, if applicable. 
To send this command to multiple devices, see Send a bulk command.
MDM controls
Restart desktop/device
This command forces devices to restart.
This command is supported only on 
Windows 10
 devices.
MDM controls