regsvr32 0x80020009 error and solution

Question:
I am having a problem registering the ChilkatCrypt2.dll and ChilkatMail_v7_9.dll files using regsvr32.
I get the following error message: 0x80020009
I am using Windows Server 2008 R1 and will also need to register on 2008 R2 (have not tried yet).

Solution:
Regsvr32 needed to be run in a command window that was run as an administrator.

Also: Regarding regsvr32 / ActiveX registration problems, see this blog post: regsvr32 problems.