Specifying the email notification settings
By default, the password expiration email is sent 3 days before the user's password is about to expire and it is sent only once. You can modify the number of days before which the email should be sent and the number of times it should be sent to a user using the following procedure:
To specify the password expiration email notification settings:
Log on to the CP server as the domain administrator.
If you have multiple CP servers, you need to perform these instructions on any one of them, except step 4. You must perform step 4 on all CP servers so that this feature is enabled in the control panel irrespective of the CP server from where it is accessed.
Open a command prompt window and change to the <CP_install_dir>\bin directory, where <CP_install_dir> is the installation path specified during the Ensim Unify control panel software installation. For example, If you have installed the control panel software in the default directory, then go to C:\Program Files\Ensim\Ensim Unify\cp\bin.
Type the following commands in the command prompt window depending upon your preference.
Specify the number of days before which the password expiration email should be sent using the following command:
SetGlobalConfig.exe <control_panel_username> <control_panel_password> "Global Unify Settings" UnifySettings PasswordExpiryDays <integer> int
where:
<control_panel_username> is the service provider’s user name for logging on to the control panel
<control_panel_password> is the service provider’s password for logging on to the control panel
<integer> is the number of days before which the password expiration email should be sent
Example: SetGlobalConfig.exe admin@example.net abc123 "Global Unify Settings" UnifySettings PasswordExpiryDays 5 int
Specify the number of times the password expiration email should be sent to a user using the following command:
SetGlobalConfig.exe <control_panel_username> <control_panel_password> "Global Unify Settings" UnifySettings PasswordExpiryRetryCounter <integer> int
Example: SetGlobalConfig.exe admin@example.net abc123 "Global Unify Settings" UnifySettings PasswordExpiryRetryCounter 2 int
To disable only the email notification for the password expiration feature, you can either specify the <integer> value in the above command for PasswordExpiryRetryCounter as 0, or disable the SendPasswordExpiryAlerts scheduled task using CronJobService.exe.
Run the command iisreset.
Stop the Provisioning Engine COM+ service by performing the following steps on all PE servers:
Log in to the PE server as the domain administrator.
Click Start > Administrative Tools, then click Component Services.
Expand Console Root > Component Services > Computers > My Computer > COM+ Applications.
Right-click Provisioning Engine, then select Shut down.
If you have more than one PE server, repeat the previous steps for each PE server.
Restart Ensim CronJob Service on those PE servers, where this service is enabled.
Log in to the PE server as domain administrator.
Open the Services window by running the command services.msc.
Locate Ensim CronJob Service and check its status.
If the status of Ensim CronJob Service is Started, right-click Ensim CronJob Service, then click Restart.
If you have more than one PE server for running the CronJob service, repeat the previous steps on each PE server.
The Ensim CronJob Service is restarted on the PE servers.
The email notification settings for the password expiration feature are modified.