The following describe ways to manage Exchange polices with MDM:
-
Device wipe
-
Security policies
-
Delegation of Administration
-
User Self-Service
Device Wipe
Remote device wipe is a feature that enables the Exchange Server to set a Windows Mobile device to delete all data the next time that the device connects to the Exchange server. When the device retrieves the wipe request, it reformats the external storage card and restores the factory default settings on the device. This can be useful when a device is lost, stolen, or otherwise compromised, or when a device has to be reassigned from one user to another.
You can also implement Exchange ActiveSync policies that specify a maximum number of password attempts. When that maximum is exceeded, the device performs a local device wipe.
Device wipe was available beginning with Exchange Server 2003 SP2 and Windows Mobile 5.0. Exchange Server 2003 SP2 allowed administrators to invoke remote device wipes by using the Exchange Management Console. Exchange 2007 added device wipe options to the Outlook Web Access (OWA) Options page for users to wipe their device without having to coordinate with administrators, and also provided a PowerShell script for administrators. For more information about wiping a device, see “How to Perform a Remote Wipe on a Device” at this Microsoft Web site: http://go.microsoft.com/fwlink/?LinkId=116233.
MDM offers new methods of initiating a device wipe for both administrators and users. Administrators can use the MDM Console to locate managed devices and then initiate the wipe. Administrators can also use the MDM Shell to invoke a device wipe with the following New-WipeRequest commands:
New-WipeRequest [-DeviceId] <DeviceIdParameter> [-WhatIf] [-Confirm] [<CommonParameters>]
Or
New-WipeRequest -Owner <OwnerIdParameter> [-WhatIf] [-Confirm] [<CommonParameters>]
In addition to the New-WipeRequest cmdlet, administrators can use four other wipe related cmdlets to manage device wipe requests from the MDM servers:
-
Get-WipeRequest - This cmdlet returns the unprocessed wipe requests for the specified managed device.
-
Remove-WipeRequest - This cmdlet removes a wipe request for the specified managed device if the wipe request is yet unprocessed.
-
Get-WipeConfig - This cmdlet returns the current configuration of the wipe service.
-
Set-WipeConfig - This cmdlet configures the properties of the wipe service.
In addition to existing methods of performing device wipes, such as by using OWA or Exchange Management Shell, users and administrators can initiate a device wipe through the MDM Self Service Portal if it is deployed. In this scenario, Windows authentication ensures users logging onto the portal can only initiate wipes against devices they are permitted to manage.
The device wipe is performed by delivering a Configuration Service Provider to a targeted device. Exchange or MDM can issue the Configuration Service Provider independent of each other.
MDM stores information about the wipe request in a database and immediately sends a message to the managed device. The message signals the device to start a session with MDM Device Management Server. If the managed device is unreachable, the wipe request remains active until the managed device retrieves it or the wipe request fails or expires.
Note: |
|---|
|
The device must receive the wipe request or it will not be wiped unless a local wipe is performed.
|
When the device retrieves the wipe request, it formats the external storage card and restores the factory default settings on the device. After the wipe, the device can no longer connect to the network through MDM Gateway Server, is no longer enrolled in MDM, and MDM no longer manages the device. When a wipe is successful, the device’s object ID is deleted from Active Directory but you must still delete the synchronization partnership in Exchange.
The status of remote device wipes is tracked with the following status states:
-
Expired - The wipe request has expired because the managed device did not connect in a pre-determined time.
-
Failed - The managed device reports that the wipe try has failed. That is, the request was sent to the managed device but the wipe failed.
-
Pending - The request started but the managed device has not reported success or failure, and the request has not expired.
-
Retrying - The request resends after the managed device reports that the previous wipe request failed.
-
Succeeded - The device was successfully wiped.
By default, the Wipe Service revokes the device enrollment if the wipe fails after several retries, or if the wipe request expires. To change the default behavior you use the Set-WipeConfig cmdlet in MDM Shell to configure the DisenrollUnsuccessful setting to $False. You can cancel a device wipe request if the wipe request status is Pending or Retrying. This is the default behavior. If you set DisenrollUnsuccessful to $False, you can cancel a wipe request with a status of Failed or Expired. MDM tries to cancel a wipe request by removing the request from the database before it is sent to the managed device. You cannot cancel a wipe request that has been sent to a managed device, and you cannot restore a wiped device. After a device is wiped, to connect to MDM, the device must complete the enrollment process again.
For more information about device wipe, see MDM Operations at this Microsoft Web site: http://go.microsoft.com/fwlink/?LinkId=112415.
Note: |
|---|
|
Some users may have the ActiveSync mailbox policy applied to their mailbox, which allows MDM to manage their mobile devices instead of Exchange Server. In this scenario, device wipe from within OWA and the Exchange Server environment is still viable. MDM provides means to wipe a device in addition to the well-known methods within Exchange Server. Devices can also be wiped outside of MDM. If a user initiates a wipe by using OWA, exceeding the configured number for incorrect password attempts, or local hard reset, the device will still appear as a managed device in the MDM Console.
|
You can use the MDM Device Enrollment Cleanup Tool from the MDM 2008 Resource Kit to remove records for to devices that were wiped outside of MDM. The Resource Kit provides the following script that you can use to remove records:
-
RemoveDevice.ps1 moves devices from the Managed Devices list to the Blocked Devices list.
-
CleanBlockedDevices.ps1 removes devices that you wiped using MDM but that are still included in the Blocked Devices list. This is useful if devices are wiped and you want to use the device name again.
The MDM 2008 Resource kit is available for download at this Microsoft Web site: http://go.microsoft.com/fwlink/?LinkID=116086.
Security Policies in MDM
MDM offers various device security policies to enhance messaging security. The following policies are managed using the Group Policy Object Editor and are further described in MDM Operations at this Microsoft Web site: http://go.microsoft.com/fwlink/?LinkId=112415.
Password Policies include configuration options for managing password and PIN unlock configuration on Windows Mobile 6.1 devices. You use the Group Policy Object Editor to manage these options. The policies appear under Computer Configuration\Administrative Templates\Windows Mobile Settings.
If Password Policies are enabled you can specify that passwords must be alphanumeric (Strong), a numeric PIN (PIN), or either type (PIN or Strong). The default setting is Not Configured.
Password timeout lets you specify whether to have the device lock after the idle time that you configure. The Require password policy must also be enabled for this policy setting to take effect. If this setting is Enabled, you set the idle time to the number of minutes after which the device automatically locks. The user must then enter the password to use most device functionality. The default setting is Not Configured.
Number of passwords remembered lets you prevent users from resetting their password to one of their previously set passwords. If this setting is Enabled, you can set the number of passwords that the device maintains. The user cannot create a new password that matches any of these previous passwords. The default setting is Not Configured.
Password expiration lets you configure the device lock expiration period. After the password expires, the user must enter a new password. If this setting is Enabled, you can specify the number of days after which the device password expires. After expiration, the user is prompted to renew the password. The default setting is Not Configured.
Minimum password length lets you to require that the device password is a minimum password length. The Require password policy must also be enabled for this policy setting to take effect. If this setting is Enabled, you can set the required minimum password length. After this policy is set on the device, the user is asked to create a new password if the current password does not meet the length requirement. You can set the minimum length to any integer between 1 and 40. The default for Simple PIN is four digits, and for Strong Alphanumeric, it is seven characters. If this setting is Not Configured, existing password-related settings on the device are in effect. The default setting is Not Configured.
Wipe device after failed attempts lets you configure the number of incorrect password tries to accept before the device wipes all its mounted storage volumes. If this setting is Enabled, you can set the number of incorrect tries to allow. The user is warned after every incorrect try and then displays the number of remaining tries. Before the last try, the user receives a warning that the device will be wiped. The default setting is Not Configured.
Code word frequency lets you specify how many times a user may enter an incorrect device lock password before the user is required to enter a code word. This policy can prevent a local device wipe caused by an accidental password entry. If this setting is Enabled, you can set the Code word frequency value to specify the number of incorrect password tries that the user can make before a code word is required. We recommend that you set this value to a number less than the number of incorrect password tries that cause the device to be wiped. The default setting is Not Configured.
Code word lets you configure the code word that the user must enter after several incorrect device lock passwords have been tried. The threshold number of password tries that triggers the code word is specified in the Code word frequency policy. This policy can prevent a local device wipe caused by an accidental password entry. If this setting is Enabled, you can specify the code word that the user is asked to enter. The default setting is Not Configured.
Block user reset of authentication on the device lets you block the user from resetting the device lock authentication (PIN or password) by using the capability that Microsoft Exchange Server 2007 provides. If this setting is Enabled, the user cannot reset the device lock authentication (PIN or password). The only way to unlock the device is by doing a full reset of the device. The default setting is Not Configured.
Turn off POP and IMAP Messaging determines if the user can use IMAP4 and POP3 e-mail accounts. If this setting is Enabled or Not Configured, the user can use IMAP4 or POP3 e-mail accounts. If this setting is Disabled, e-mail accounts that use IMAP4 or POP3 protocols are turned off. The user cannot synchronize existing IMAP4 or POP3 e-mail accounts that have the corresponding e-mail servers, and cannot set up a new IMAP4 or POP3 e-mail account. The user may be able to view e-mail messages for IMAP4 or POP3 e-mail accounts that were downloaded to the device before the policy setting was changed. You can still provision a new IMAP4 or POP3 e-mail account by using the Email2 Configuration Service Provider. However, if the new account was created after this policy is disabled, the user cannot synchronize that account with its e-mail server. This policy affects only the Microsoft e-mail application. ActiveSync
Block Remote API access to ActiveSync lets you restrict remote applications that are using Remote API (RAPI) to implement ActiveSync operations on Windows Mobile powered devices. If this setting is Enabled, desktop ActiveSync service is blocked and the user cannot synchronize e-mail, files, or applications from the desktop or change any settings. If this setting is Disabled, desktop applications that use ActiveSync Remote API (RAPI) to access the device can perform only operations on the device that the user has permissions to perform. If this setting is Not Configured, existing device-specific policies that manage access to the device by desktop applications by using ActiveSync RAPI operations are in effect. The default setting is Not Configured.
Delegation of Administration
Delegation of administration with MDM refers to the need to assign privileges to administrators based on an Active Directory delegation scheme. Organizational units (OUs) should be established to create discrete containers for mobile device accounts where delegation of group policy delegation can be applied. For additional information about establishing OU structures in Active Directory to support delegation, see “Designing an OU Structure that Supports Group Policy” at this Microsoft Web site: http://go.microsoft.com/fwlink/?LinkId=116234.
User Self-Service
The MDM Self-Service Portal provides a web-based means for users to perform device pre-enrollment for their Windows Mobile powered devices, view their managed devices, and perform a limited set of actions on them. The MDM Self-Service Portal also provides the software required to install, manage, and configure a self-service portal for their company. You may need to customization the portal to tailor the solution for organizational branding and delegation. For more information about the MDM Self-Service Portal, refer to “Self Service Portal Deployment Guide for MDM 2008” at this Microsoft Web site: http://go.microsoft.com/fwlink/?LinkID=116260.
The MDM Self-Service Portal provides a means of performing a device wipe in addition to using the Exchange Management Shell or OWA device wipe. In the context of MDM and Exchange Server integration, the Self-Service Portal provides the interface to initiate the device wipe. Deploying the Self-Service Portal also permits users to re-enroll a device in the event their device is wiped and needs to re-establish a connection to the company network in a more secure manner.