Creating and Deploying Active Directory Rights Management Services Templates Step-by-Step Guide
Microsoft Corporation
Published: May 2007
Author: Brian Lich
Editor: Carolyn Eller
Abstract
This step-by-step guide provides instructions for setting up a test environment for creating and deploying Active Directory Rights Management Services (ADRMS) rights policy templates on the WindowsServer® CodeName "Longhorn" operating system.
This document supports a preliminary release of a software product that may be changed substantially prior to final commercial release, and is the confidential and proprietary information of Microsoft Corporation. It is disclosed pursuant to a non-disclosure agreement between the recipient and Microsoft. This document is provided for informational purposes only and Microsoft makes no warranties, either express or implied, in this document. Information in this document, including URL and other Internet Web site references, is subject to change without notice. The entire risk of the use or the results from the use of this document remains with the user. Unless otherwise noted, the example companies, organizations, products, domain names, e-mail addresses, logos, people, places, and events depicted herein are fictitious, and no association with any real company, organization, product, domain name, e-mail address, logo, person, place, or event is intended or should be inferred. Complying with all applicable copyright laws is the responsibility of the user. Without limiting the rights under copyright, no part of this document may be reproduced, stored in or introduced into a retrieval system, or transmitted in any form or by any means (electronic, mechanical, photocopying, recording, or otherwise), or for any purpose, without the express written permission of Microsoft Corporation.
Microsoft may have patents, patent applications, trademarks, copyrights, or other intellectual property rights covering subject matter in this document. Except as expressly provided in any written license agreement from Microsoft, the furnishing of this document does not give you any license to these patents, trademarks, copyrights, or other intellectual property.
© 2007 Microsoft Corporation. All rights reserved.
Active Directory, Microsoft, MS-DOS, Vista, Windows, WindowsNT, and WindowsServer are either registered trademarks or trademarks of MicrosoftCorporation in the UnitedStates and/or other countries.
All other trademarks are property of their respective owners.
Contents
Creating and Deploying Active Directory Rights Management Services Rights Policy Templates Step-by-Step Guide
About this Guide
What This Guide Does Not Provide
Deploying ADRMS in a Test Environment
Step 1: Creating a Shared Folder on the AD RMS Cluster
Step 2: Creating an AD RMS Rights Policy Template
Step 3: Configuring the AD RMS client
Step 4: Verifying AD RMS Functionality using ADRMS-CLNT
1
Creating and Deploying Active Directory Rights Management Services Rights Policy Templates Step-by-Step Guide
About this Guide
This step-by-step guide walks you through the process of creating and deploying Active Directory Rights Management Services (ADRMS) policy templates in a test environment. During this process you create a rights policy template, deploy this template to a client computer running WindowsVista™ and Microsoft® Office Word2007, and verify that the client computer can rights-protect a document by using the newly-created rights policy template.
Once complete, you can use the test lab environment to assess how ADRMS rights policy templates can be created with Microsoft WindowsServer® CodeName "Longhorn" and deployed within your organization.
As you complete the steps in this guide, you will:
Create an ADRMS rights policy template.
Deploy the rights policy template.
Verify ADRMS functionality after you complete the configuration.
The goal of an ADRMS deployment is to be able to protect information, no matter where it is moved. Once ADRMS protection is added to a digital file, the protection stays with the file. By default, only the content owner is able to remove the protection from the file. The owner can grant rights to other users to perform actions on the content, such as the ability to view, copy, or print the file.
What This Guide Does Not Provide
This guide does not provide the following:
Guidance for setting up and configuring ADRMS in either a production or test environment. This guide assumes that ADRMS is already configured for a test environment. For more information about configuring ADRMS, see Windows Server Active Directory Rights Management Services Step-by-Step Guide (
Complete technical reference for ADRMS or deploying ADRMS templates within your organization. In a large organization, Systems Management Server (SMS) or Group Policy can provide a way to deploy ADRMS rights policy templates to several workstations at a time.
Deploying ADRMS in a Test Environment
We recommend that you first use the steps provided in this guide in a test lab environment. Step-by-step guides are not necessarily meant to be used to deploy Microsoft products without accompanying documentation and should be used with discretion as a stand-alone document. Before you start the steps in this guide, you will need to use the steps provided in Windows Server Active Directory Rights Management Services Step-by-Step Guide ( also in a lab environment. That guide prepares the basic infrastructure for an ADRMS deployment, with an ADRMS cluster, ADRMS Logging database, and domain controller. This step-by-step guide builds on the previous guide, so it is important to complete it before starting this one. On completion of this step-by-step guide, you will have a working ADRMS rights policy template. You can then test and verify ADRMS rights policy template functionality through the simple task of restricting permissions on a Microsoft Office Word2007 document with the rights policy template created in this guide.
The test environment described in this guide includes three computers connected to a private network and using the following operating systems, applications, and services:
Computer Name / Operating System / Applications and ServicesADRMS-SRV / WindowsServer "Longhorn" / ADRMS, Internet Information Services (IIS)7.0, World Wide Web Publishing Service, Message Queuing (also known as MSMQ), and Windows Internal Database
CPANDL-DC / Windows Server2003 with Service Pack1 (SP1) / Active Directory®, Domain Name System (DNS)
ADRMS-DB / Windows Server2003 with SP1 / Microsoft SQL Server™2005 Standard Edition
ADRMS-CLNT / WindowsVista / Microsoft Office Word2007 Enterprise Edition
The computers form a private intranet and are connected through a common hub or Layer2 switch. This configuration can be emulated in a virtual server environment if desired. This step-by-step exercise uses private addresses throughout the test lab configuration. The private network ID 10.0.0.0/24 is used for the intranet. The domain controller is named CPANDL-DC for the domain named cpandl.com.
The following figure shows the configuration of the test environment:
Step 1: Creating a Shared Folder on the AD RMS Cluster
To ease administration of the rights policy templates, you can store ADRMS rights policy templates in a central location so that they can be copied to the ADRMS clients. Some distribution methods include using Systems Management Server, Group Policy, or manually copying the templates to the ADRMS client. In this guide, the rights policy templates are copied manually.
Note
The ADRMS service account must have Write access to the rights policy template shared folder in order for the rights policy template export function to work correctly.
To create a shared folder for the ADRMS rights policy templates and set appropriate permissions for the ADRMS service account, do the following:
To create an ADRMS rights policy templates shared folder
1.Log on to ADRMS-SRV as CPANDL\Administrator.2.Click Start, click Computer, and then double-click Local Disk (C:).
3.Create a new folder named ADRMSTemplates. Click Organize, click New Folder, type the name ADRMSTemplates, and then press ENTER.
4.Right-click the ADRMSTemplates folders, and then click Properties.
5.Click the Sharing tab, and then click Advanced Sharing.
6.Select the Share this Folder check box, and then click Permissions.
7.Click Add, in the Enter the object names to select box type CPANDL\ADRMSSRVC, and then click OK.
8.In the Group or user names box, click ADRMSSRVC (), and then, in the Permissions for ADRMSSRVC box, select the Change check box in the Allow column.
9.Click OK twice.
10.Click the Security tab, and then click Edit.
11.Click Add, in the Enter the object names to select box type CPANDL\ADRMSSRVC, and then click OK.
12.Click ADRMSSRVC (), and then, in the Permissions forADRMSSRVC box, select the Modify check box in the Allow column, and then click OK.
13.Click Close.
Step 2: Creating an AD RMS Rights Policy Template
As mentioned earlier in this guide, ADRMS rights policy templates are created on the ADRMS cluster and then exported to a shared folder. If your users will be using the ADRMS-enabled application only when connected to the internal network, the templates can be accessed from the shared folder by the clients as needed. In this case, all ADRMS users should have Read access to this shared folder in order for them to use the rights policy template.
Alternatively, the templates can be copied from the shared folder to the client computers. This enables the templates to be used when users are not connected to the network, such as when traveling with a laptop or from another mobile device. Because the most common deployment is to copy the templates to the client computers, this is the approach explained in this guide.
To create a new ADRMS rights policy template
1.Open the Active Directory Rights Management Services Administration console. Click Start, point to Administrative Tools, and then click Active Directory Rights Management Services.2.In the Active Directory Rights Management Services Administration console, click LocalHost.
3.In the Tasks box in the Results pane, click Manage rights policy templates.
4.To enable exporting of the ADRMS rights policy templates, click Properties in the Actions pane.
5.Select the Enable export check box, type \\adrms-srv\ADRMSTemplates in the Specify templates file location (UNC) box, and then click OK.
6.In the Actions pane, click Create Distributed Rights Policy Template to start Create Distributed Rights Policy template wizard.
7.Click Add.
8.In the Language list, choose the appropriate language for the rights policy template.
9.Type CPANDL.COM CC in the Name box.
10.Type CPANDL.COM Company Confidential in the Description box, and then click Add.
11.Click Next.
12.Click Add, type in The e-mail address of a user or group box, and then click OK.
13.Select the View check box to grant the group Read access to any document created by using this ADRMS rights policy template.
14.Click Finish.
Step 3: Configuring the AD RMS client
The ADRMS client is included in the default installation of WindowsVista. Previous versions of the client are available for download for other Windows operating systems.
This guide assumes that an ADRMS cluster is already configured in a test environment. Additionally, extra configuration is required on the ADRMS client workstation so that the rights policy templates are accessible. To make the ADRMS rights policy templates accessible, you must copy the ADRMS rights policy templates to the client computer and create a registry entry that points to the location of the rights policy templates.
To create a folder for rights-protected content
1.Log on to ADRMS-CLNT as administrator.2.Click Start, and then click Computer.
3.Double-click Local Disk (C:).
4.Create a new folder named ADRMSDocs. Click Organize, click New Folder, and then type ADRMSDocs for the folder name.
5.Right-click the ADRMSDocs folder, and then click Properties.
6.Click the Security tab, and then click Edit.
7.Click Users (ADRMS-SRV\Users), and then in the Permissions for Users box select the Modify check box in the Allow column.
8.Click OK twice.
In order for the ADRMS client computer to locate the templates, you must add a registry entry and copy the ADRMS rights policy templates locally. To do this, you must complete the following steps before rights-protecting a document:
To make ADRMS templates available to users on ADRMS-CLNT
1.Log on to ADRMS-CLNT as Nicole Holliday ().2.Click Start, type regedit.exe in the Start Search box, and then click the regedit.exe icon under Programs.
3.Expand the following registry key:
HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Common\DRM
Note
If DRM was not already created as a part of the key, you must create it manually.
4.Select DRM, click Edit, point to New, click Expandable String Value, and then type AdminTemplatePath.
5.Double-click the AdminTemplatePath registry value and type %UserProfile%\AppData\Microsoft\DRM\Templates in the Value data box where %UserProfile% equals C:\Users\<user name>, and then click OK.
6.Close Registry Editor.
7.Verify that the path C:\Users\nhollida\AppData\Microsoft\DRM\Templates\ is valid. If it is not, create the appropriate folders.
8.Click Start, type \\ADRMS-SRV\ADRMSTemplates in the Start Search box, and then press ENTER.
9.Copy the exported ADRMS rights policy templates from \\ADRMS-SRV\ADRMSTemplates to C:\Users\nhollida\AppData\Microsoft\DRM\Templates.
Note
Copying the ADRMS rights policy templates to the client computer is not required if the rights policy templates do not have to be available offline.
Step 4: Verifying AD RMS Functionality using ADRMS-CLNT
To verify the functionality of the ADRMS deployment, you log on as Nicole Holliday and then restrict permissions on a Microsoft Word2007 document by using the ADRMS rights policy template created earlier in this guide. This policy gives CP&L employees the ability to read the document but not to change, print, or copy. All other people have no access at all to the document. You then log on as Stuart Railson and verify that Stuart Railson, a member of the Employees group at CP&L, cannot print the document.
To restrict permissions on a Microsoft Word2007 document
1.Log on to ADRMS-CLNT as Nicole Holliday ().2.Click Start, click All Programs, click Microsoft Office, and then click Microsoft Office Word2007.
3.Type CP&L Employees cannot print this document on the blank document page, click the Microsoft Office button, point to Finish, point to Restrict Permission, click Restrict Permission as, select in the Select User dialog box, and then click OK.
4.In the Permission dialog box, select the Restrict permission to this document check box, click Read, type the name of the user or group to be restricted. In this case, type , and then click OK twice.
5.Click the Microsoft Office button, click Save As, and then save the file as \\ADRMS-DB\public\ADRMS-TST.docx.
6.Log off as Nicole Holliday.
Next, log on as Stuart Railson and open the document, ADRMS-TST.docx.
To view a protected document
1.Log on as Stuart Railson ().2.Click Start, point to All Programs, point to Microsoft Office, and then click Microsoft Office Word2007.
3.Click the Microsoft Office button, click Open, navigate to \\ADRMS-DB\public, and then double-click ADRMS-TST.docx.
The following message appears: "Permission to this document is currently restricted. Microsoft Office must connect to to verify your credentials and download your permission."
4.Click OK.
The following message appears: "Verifying your credentials for opening content with restricted permissions…"
5.When the document opens, click the Microsoft Office button. Notice that the Print option is not available.
6.Click View Permission in the message bar. You should see that ADRMS rights policy template has been applied to this document.
7.Click OK to close the My Permissions dialog box, and then close Microsoft Word.
You have successfully deployed and demonstrated the rights templates policy feature of ADRMS, using the simple scenario of applying a rights policy template to a Microsoft Word2007 document. You can also use this deployment to explore some of the additional capabilities of ADRMS through additional configuration and testing.