In order to install a script on the server, you need correct permissions on two folders:
You must be an owner of the application folder—the folder in which events are monitored—in order to edit or save scripts there.
You must have Author or Owner permission on the folder in which agents are created. This permission is granted in the following steps, which are to be followed by a server administrator.
To grant permissions for installing scripts
Using the Microsoft Exchange Server Administrator program, in the Systems Folder container under \Events Root, select the EventConfig_<ServerName> folder that corresponds to the server on which the Microsoft Exchange Event Service is running.
On the File menu, choose Properties, and then choose Client Permissions.
Choose Add, and then select the user who will have permission to run applications or other agents on this server.
In the Roles dialog box, select Author or another role with greater permissions (Owner); take special care when granting Owner permission because of the power this role entails.
For related information, see the Microsoft Exchange Server Getting Started Guide.