The following describe ways to manage Exchange polices with MDM:
-
Password reset
-
Device wipe
-
Security policies
-
Delegation of Administration
-
User Self-Service
Password Reset
Password reset enables a user who has forgotten his or her Windows Mobile device password to reset it. To reset the device password, the user enters a one-time recovery password on the device. You can configure the recovery password to be stored on and retrieved from Exchange Server or MDM 2008 SP1.
For more information, see Configure Password Reset in MDM.
Exchange Server Password Reset
Exchange Server 2007 introduced a recovery PIN process for Windows Mobile 6.0 and 6.1 devices.
When a user creates a PIN on the mobile device for the first time, a recovery PIN is created on the device and sent to the Exchange Server where it is stored. The recovery PIN is used to encrypt the Master Key.
The following steps show the recovery process:
-
The user creates a new PIN to unlock the device. PIN history and strength policies are applied at this time. The device lock policies are applied to the new password before the user is allowed to continue with the User PIN Reset process.
-
After the new PIN is created, the user is prompted to enter the recovery PIN.
-
The user obtains the recovery PIN by using one of the following methods:
-
Accesses the Options page in Outlook Web Access
-
Receives the recovery PIN from an Exchange Administrator
-
Calls the Helpdesk and receives the recovery PIN from Helpdesk personnel who have been granted privileges to retrieve the PIN
-
The user enters the recovery PIN and then enters the new PIN created in the first step of this process to unlock the device.
The recovery PIN is then considered compromised so it is discarded following the User PIN Reset process and setup must be run again on the device to create a new recovery PIN.
MDM Password Reset
MDM 2008 SP1 introduces the ability to manage the recovery PIN process by using MDM rather than Exchange 2007. By using MDM, mobile devices can use the recovery PIN process without Exchange 2007 which makes the feature available to organizations who use messaging systems other than Exchange or Exchange versions previous to Exchange 2007. This feature is also referred to as MDM PIN reset.
You can configure Exchange or MDM 2008 SP1 to manage the recovery PIN process, but not both. The following steps are required to implement the feature in MDM 2008 SP1.
Enable Group Policy setting: The MDM 2008 SP1 Group Policy extensions for Active Directory are required to configure the Group Policy setting that enables MDM 2008 SP1 to manage the MDM PIN reset process. This mobile policy, User Reset of Password, is found in the Password Policies container under Windows Mobile Settings.
Select MDM in the User Reset of Password setting to enable the feature in MDM. If you select Exchange Server and configure Exchange to provide this capability, a user can instead reset his or her password by using a recovery password stored on Exchange Server.
If you disable this setting, the user cannot reset the device password. The user must do a full device reset to unlock the device if he or she has forgotten the device password.
If you do not configure this setting, existing device-specific policies that control password reset on the device apply.
Note: |
|---|
|
The Wipe Device after failed attempts Group Policy setting controls the maximum number of failed password reset attempts before the device is wiped.
|
Install correct version of Windows Mobile: The managed mobile device must have Windows Mobile 6.1.1 or later installed.
Install Password Reset .cab file: An MDMPasswordResetClient.cab must be installed on the Windows Mobile device. The .cab file is available as a part of the MDM 2008 SP1 Resource Kit Tools. To download the .cab file, see MDM Password Reset Client on this MDM Resource Kit Tools page here: http://go.microsoft.com/fwlink/?LinkID=127030.
We recommend that organizations use the software distribution features of MDM 2008 SP1 to securely distribute and install the recovery PIN .cab file on devices with Windows Mobile 6.1.1 or greater.
Note: |
|---|
|
Although the MDMPasswordResetClient.cab is installed on an MDM 2008 SP1 managed device, it has no affect on the recovery PIN process until the mobile policy is configured to enable password reset in MDM and the policy is applied to the device.
|
Retrieving the Recovery Password in MDM
Once the mobile policy has been applied to permit MDM to manage PIN reset, the recovery password can be retrieved by one of the three methods:
-
Displaying the recovery password while viewing Enrolled Device Details using the MDM SP1 Self Service Portal.
-
Viewing the the recovery password by clicking on ‘ ‘ in the Actions pane of the Mobile Device Manager.
-
Executing the Get-MDMDeviceRecoveryPassword command from the MDM Shell specifying the device ID to retrieve the device specific password.
Note: |
|---|
|
The device is not required to be connected to MDM Device Management Server during the password reset operation. When the password reset operation is completed successfully on the device, a new recovery password is generated and sent to MDM Device Management Server in a device management session. The previous recovery password can be used until the device management session begins.
|
MDM Cmdlets for Password Reset
Three cmdlets are included in MDM 2008 SP1 to allow you to administer System Center Mobile Device Manager recovery passwords for managed Windows Mobile devices. These cmdlets are described in the following table. More information about each cmdlet, including usage examples, are included in the topic for the cmdlet.
-
Get-MDMDeviceRecoveryPassword
-
Returns the recovery password corresponding to the specified managed device.
-
Update-MDMDeviceRecoveryPassword
-
Forces the specified managed device to generate a new recovery password and send it to the server in the next two scheduled device management sessions.
-
Update-MDMDeviceRecoveryPasswordEncryptionKey
-
Deletes all existing device recovery passwords in the current MDM instance, and forces all managed devices to generate new recovery passwords and send them to MDM Device Management Server during the next device connection.
Device Wipe
Remote device wipe is a feature that sets a Windows Mobile device to delete all data the next time that the device connects to a server - the Exchange server or MDM. 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 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>]
For more information, see New-WipeRequest.
In addition to the New-WipeRequest cmdlet, administrators can use four other wipe-related cmdlets to manage device wipe requests by using MDM. The cmdlets are listed in the following table. For more information, see the topic for each cmdlet.
-
Get-WipeRequest
-
The Get-WipeRequest cmdlet returns the unprocessed wipe requests for the specified managed device.
-
Remove-WipeRequest
-
The Remove-WipeRequest cmdlet removes a wipe request for the specified managed device if the wipe request is yet unprocessed.
-
Get-WipeConfig
-
The Get-WipeConfig cmdlet returns the current configuration of the wipe service.
-
Set-WipeConfig
-
The Set-WipeConfig 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 by using 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, 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, the device must complete the enrollment process again to connect to MDM.
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 the 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 Server Tools to remove records for to devices that were wiped outside of MDM. The tool 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.
To download MDM Device Enrollment Cleanup Tool, see MDM Server Tools at this Microsoft Web site: http://go.microsoft.com/fwlink/?LinkID=127030.
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. For detailed information, see 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
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, including password reset (if you have configured the password reset feature for MDM). MDM Self-Service Portal also provides the software required to install, manage and configure a self-service portal for your company.
You can customizae the portal to tailor the solution for organizational branding and delegation. For more information about MDM Self-Service Portal, see MDM Self Service Portal Deployment and Customization.
MDM Self-Service Portal lets users perform a device wipe in addition to using the Exchange Management Shell or OWA device wipe. In the context of MDM and Exchange Server integration, MDM 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.