Share via


Activating the Machine

Computer activation (also called machine activation) is required if you want to use Active Directory Rights Management Services (AD RMS) client features for publishing or consuming content with RMS. A computer is activated if it contains a valid lockbox for the logged-on user and a valid machine certificate. You can call the DRMIsActivated function to determine whether a computer has already been activated. By default, when the AD RMS client (not the SDK) is installed on a computer, it attempts to activate both the machine and the currently logged-on user. However, AD RMS does not send an error message if the attempt fails. If you therefore determine that the computer has not been activated, call the DRMActivate function. DRMActivate is asynchronous, and you must define a callback function that it can use to indicate whether activation succeeded. For more information about issues to consider with computer and user activation, see Machine Activation, Setting Up Your Development Environment, and Certificate Hierarchies.

The MachineActivation sample included with the AD RMS SDK shows how to activate a computer. For more information, see Client Sample Programs.

See Also

Callback Function
Creating Events for Asynchronous Functions
Methods Used by All Client Applications
DRMCreateClientSession
DRMGetServiceLocation
AD RMS Callback Function Reference

Send comments about this topic to Microsoft

Build date: 3/13/2008