Before you start
- Check the requirements.
- Install on a computer that stays on, such as a server. The service sends emails from this computer each day, and no one needs to be signed in.
- Have an account ready that can read Active Directory, or set up a managed service account after installing.
- Have your mail server or Microsoft 365 details ready.
No emails are sent until you turn them on in the last step.
Step 1 - Install
- Download the installer.
- Run the installer and follow the prompts.
- Open Password Notification. It needs administrator rights, so approve the Windows prompt.
Step 2 - Connect to Active Directory
- Click Active Directory in the sidebar.
- Click Add domain.
- Check the Domain name. It is filled in with this computer's domain.
- Under Connect as, keep A specific account and enter the Username and Password.
- Click Test connection.
- Click Add domain.
The app now reads your accounts from Active Directory. This can take a few minutes on a large domain, and you can carry on with the next steps while it runs.
Step 3 - Set up email delivery
- Click Email delivery in the sidebar.
- Under Send using, choose Microsoft 365 or SMTP server.
- Microsoft 365: enter the Tenant ID, Application (client) ID and Client secret.
- SMTP server: enter the Server, Port, Username and Password, and choose whether to Use SSL/TLS.
- Enter the From address and From name.
- Click Save.
- Click Send check email and confirm that the message arrives.
Step 4 - Review the message
- Click Message in the sidebar.
- Edit the Subject and Body, or keep the defaults.
- Click Save.
- Click Send test to see the email as a user would.
Step 5 - Choose recipients
- Click Recipients in the sidebar.
- Choose Everyone in the domain or Only selected people. Selected people is useful for a pilot group.
- Under Never notify, add any accounts that should not receive emails, such as service accounts.
- Click Save.
Step 6 - Turn on notifications
- Click Schedule in the sidebar.
- Set the daily run time. The default is 8:00 AM.
- Choose how many days before expiry to send each warning. The default is one warning at 14 days.
- Click Save.
- Turn on Send email notifications.
If today's run time has already passed, the first emails go out within a minute. Only users with a warning due today are emailed.
Activate your license
Everything works for 30 days without a license. After that, emails pause until you activate one.
- Click License in the sidebar.
- Enter your license key from your purchase confirmation email.
- Click Activate.
Use a managed service account
This configuration will set the service to run as a managed service account and requires no additional username or password to connect to Active Directory.
Step 1 - Create Managed Service Account
The app does not create the service account so you need to create and enable it first.
- Run this command to create a managed service account. Change SERVICE-ACCOUNT-NAME to the name you want for example PwdNotifySvc.
New-ADServiceAccount -name "SERVICE-ACCOUNT-NAME" -RestrictToSingleComputer
- Run this command to enable the service account on the computer. Change HOSTNAME to the name of the computer where Password Notification is installed.
Add-ADComputerServiceAccount -Identity "HOSTNAME" -ServiceAccount "SERVICE-ACCOUNT-NAME"
- Run this command on the computer where Password Notification is installed.
Install-ADServiceAccount -Identity "SERVICE-ACCOUNT-NAME"
- To test that the service account is installed correctly run this command on the computer. It should return True.
Test-ADServiceAccount -Identity "SERVICE-ACCOUNT-NAME"
Step 2 - Connect as the service account
- Click Active Directory in the sidebar.
- Click Add domain, or edit your existing domain.
- Under Connect as, choose the managed service account option.
- Click Test connection, then save.
