次の方法で共有


Restoring a Rights Policy Template

Updated: October 22, 2009

Applies To: Windows Server 2008 R2, Windows Server 2008 R2 with SP1

To ensure that rights policy templates are available in the export location after a system restore of the computer where the rights policy templates are stored, you must export the rights policy templates from the configuration database again.

Note

If you are using Windows Server® 2008 R2 with automatic template distribution enabled, exporting the rights policy templates is not required.

Membership in the local AD RMS Template Administrators, or equivalent, is the minimum required to complete this procedure.

To restore a rights policy templates

  1. At the Windows PowerShell command prompt, type:

    Get-ItemProperty <drive>:\RightsPolicyTemplate -Name PublishUNCFilePath

    where <drive> is the name of the Windows PowerShell drive. Note the path of the template distribution folder.

  2. Delete the contents of the template distribution folder.

  3. At the Windows PowerShell command prompt, type:

    Clear-ItemProperty <drive>:\RightsPolicyTemplate -Name PublishUNCFilePath

    where <drive> is the name of the Windows PowerShell drive.

  4. At the Windows PowerShell command prompt, type:

    Set-ItemProperty -Path <drive>:\RightsPolicyTemplate -Name PublishUNCFilePath -Value <UNC_path>

    where <drive> is the name of the Windows PowerShell drive and <UNC_path> is the path of the shared folder. All the rights policy templates from the configuration database will be exported and overwrite the ones currently in this folder.

See Also

Concepts

Using Windows PowerShell to Administer AD RMS
Understanding the AD RMS Administration Provider Namespace
Configuring Rights Policy Templates

Other Resources

Understanding Rights Policy Templates
Understanding Rights Enforcement