Ask Learn
Preview
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[The AD RMS SDK leveraging functionality exposed by the client in Msdrm.dll is available for use in Windows Server 2008, Windows Vista, Windows Server 2008 R2, Windows 7, Windows Server 2012, and Windows 8. It may be altered or unavailable in subsequent versions. Instead, use Active Directory Rights Management Services SDK 2.1, which leverages functionality exposed by the client in Msipc.dll.]
The syntax of a manifest configuration file (MCF) is shown in the following diagram. To create a manifest, you must supply a completed configuration file to the Genmanifest.exe program.
VALIDITYTIME
An optional value that specifies the manifest validity period. If the period is specified, both FROM and UNTIL values must be included. The validity time format is YYYY-MM-DDTHH:MM. For example, 2002-08-19T22:14 represents 10:14 P.M., August 19, 2002.
ID of certificate or license
A value that specifies an ID number to assign to the created manifest. If you do not manually assign a number, you must use the AUTO-GUID element, which instructs Genmanifest.exe to generate a number automatically.
Private key file path
A required value that specifies a cryptographic service provider (CSP) and hardware security module (HSM) or the path to a .dat file that contains the private key used to sign the manifest. If you specify a private key, the associated public key is identified by the INCLUSION element. If any folder name in the path contains a space, surround the entire path with quotation marks. For more information about keys, see Obtaining a Key Pair for Manifest Signing.
ISSUER
An optional block that describes the issuer of the license by using TYPE ("Corporation" for example) and ID elements. You can also specify the issuer name and zero or more addresses.
MODULELIST
A required block that describes the file or files that the manifest verifies. Your application must be listed here.
POLICYLIST
A required value that lists the modules that can or cannot be loaded into a secure environment. Modules specified by the INCLUSION element can be loaded but are not required. Modules those specified by the EXCLUSION element cannot be loaded. The following rules apply to each type:
The following example shows an MCF file that uses many of the elements discussed in the preceding section.
AUTO-GUID
%MYBASEPATH%\\keys\\mypriv1024.dat
MODULELIST
REQ HASH MyApp.exe
REQ NOHASH %SystemRoot%\\system32\\kernel32.dll
OPT %SystemRoot%\\system32\\msvcrt.dll
POLICYLIST
INCLUSION
PUBLICKEY C:\\mypub1024.dat
EXCLUSION
DIG C:\\ecsrv.dll
DIG C:\\ud.dll
PUBLICKEY C:\\SampleExcPubKey.dat
FILE MyApp.exe 5.1.3500.0 5.1.3572.0
The following list identifies several guidelines to follow when creating MCF files:
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign in