Alert users to change their password

The following VBS script displays an alert to users at login that the password is soon to expire.

The script

Customizing the script

line 2 :

QtDiasAviso = 7

Number of days the message begins to appear

line 3 :

RedirectRdWeb = true

True : opens the page defined in the UrlRDWEB variable when the user clicks OK

False : Close the window when the user click OK

line 4 :

UrlRDWEB = “https://monserveur/RDWeb/Pages/fr-FR/password.aspx”

URL of the page where the user can change his password.

line 29,32 :

Customizing the message that is displayed to the user.




Leave a Comment